0

I have teltonika router on a mobile connection

Lets say the ip is 10.132.141.25

On the lan of the router I have a device that is default setup to have the ip

IP = 169.254.0.1 Mask = 255.255.0.0 Default Gateway = none

I can ping this device from the router.

I have tried to setup a port forward on the mobile ip port 8089 to go to 169.254.0.1 port 80 but it does not seem to work

Normally when I setup a device with a 192.168 address I can port forward fine. So maybe its the link-local address ?

From the router's ssh commandline I can telnet to port 80 of the device fine ie

telnet 169.254.0.1 80 works ok

when I do

telnet 10.132.141.25 8089 I get telnet: can't connect to remote host (10.132.141.25): Connection refused

Ie think the device on the lan does not respond to traffic outside of the address range 169.254

Is this because it has a link local address ?

Is there someway I can use snat to overcome this ? (note the device is remote and I can't access it in person)

Thanks

5
  • 1
    Unfortunately, questions about home networking and consumer-grade devices are explicitly off-topic here. Also, the RFC says, "A router MUST NOT forward a packet with an IPv4 Link-Local source or destination address, irrespective of the router's default route configuration or routes obtained from dynamic routing protocols. A router which receives a packet with an IPv4 Link-Local source or destination address MUST NOT forward the packet. This prevents forwarding of packets back onto the network segment from which they originated, or to any other segment."
    – Ron Maupin
    Jun 21 at 13:00
  • 169.254.0.0/16 is the reserved link-local address space aka Zeroconf aka APIPA that must not be routed. Instead, you should use another suitable subnet from the private address ranges from RFC 1918, ie. 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8.
    – Zac67
    Jun 21 at 13:01
  • 1
    You have not set the device's default gateway, so it cannot talk to anything that is not on its subnet. You need to configure your device's gateway to be the interface address of the router. And as others have mentioned, you need to configure something else other than link local addressing.
    – Ron Trunk
    Jun 21 at 13:03
  • Ok its the IPv4 Link-Local address then like I suspected. PS this is all enterprise level gear. Thanks Jun 21 at 13:08
  • 2
    Unfortunately, the manufacturer does not seem to offer optional, paid support, and that is a requirement to be on-topic here.
    – Ron Maupin
    Jun 21 at 13:21

0

Browse other questions tagged or ask your own question.