FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
523 views 4 comments
by anonymous
Hello,

I'm trying to use passthrough mode but seem to be having an issue - in NAT mode, everything works fine and as expected - IP gets assigned.

In passthrough mode, the attached device gets the IP address as a /29, however, the ip in question is the broadcast and the gateway is the last usable IP in the block.

I'm not sure why you are doing this instead of a /31 or similar link, but, is there anyway to change this as currently I think is a bug?

Thanks

1 Answer

0 votes
by anonymous

Hello,

Thank you for contacting.

You can customize the subnet in the webui. Network>LAN

https://community.teltonika-networks.com/?qa=blob&qa_blobid=9303772194188447094

Further also upgrade the firmware in case you are using an older.

Latest could be downloaded here:

https://wiki.teltonika-networks.com/view/RUT950_Firmware_Downloads

Thanks.

Regards,

Ahmed

by anonymous
Hi Ahmed,

Unfortunately this isn't working - the problem is that passthrough seems to setup a hidden DHCP network for the attached device and a lease reservation.

Changing the LAN config seems to do no change to the passthrough settings which are forced to a /29.

I'm using the latest firmware.

Thanks
by anonymous

Hello,

If you see on the attached ss.

https://community.teltonika-networks.com/?qa=blob&qa_blobid=9672641224376197891

/31 is a wrong subnetting and you will get N/A on that .

Thanks. 

by anonymous
Hi Ahmed,

I'm unsure what you are trying to say here?

/31 subnets - RFC3021 are valid and utilised for point to point links (I use them heavily in a service provider network), but, not all equipment understands it... typically you have problems with Windows clients, but, Linux boxes/standard network stacks do.

https://datatracker.ietf.org/doc/html/rfc3021

That being said, I only said that as a suggestion to something that "may" work here, the fact is that this still feels like a bug in the Teltonika firmware that it is automatically configuring a non-valid /29 link. This would typically work fine with CGN IPs in most situations, but, if you have a provider forwarding a real IP, the /29 boundaries can get in the way and cause issues as I'm seeing now.

e.g. if you are given an IP of 1.1.1.119 from your service provider, this may be done through PPP and a /32 link - this works 100% fine in NAT mode.

If you then select passthrough, the router will disable various sections on Lan configuration (so, I can't really make the change you suggested), and, it will automatically create a DHCP lease for the MAC you put in the passthrough configuration - BUT, you are unable to modify any of the details of the DHCP lease.

So, in the example above, it will automatically create the passthrough DHCP as 1.1.1.119/29 with a gateway (and guessing a virtual IP for the router) of 1.1.1.118/29

The attached device will see the DHCP request and will either fail as .119 is the broadcast address, or, it will apply but it just doesn't work as it should.

In my mind, this entire process just seems buggy and needs a rethink. to me, /31 makes most logical sense and you should always use the alternate for gateway:

So, if the mobile provider assigns .119, you would have a gateway of .118... If the provider assigns .118, you would use .119

Even with this method, there are problems (e.g. if you have 256 sims for a multi SD-WAN deployment with sequential IPs, some may not be able to talk to each other - unless you relay the gateway to the real address?), but the impact seems a lot less as to what it is now.

For now though, again - I do believe this is a bug as if you take my example of 1.1.1.119 - passthrough doesn't work and I have no way to reconfigure it...
by anonymous
Hello,

We have upgraded the Rut9xx RutOS to the newer.

Could you please try this one and let me know the results . So that we can proceed with that.

https://wiki.teltonika-networks.com/view/RUT950_Firmware_Downloads

Thanks .