NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Dishy's avatar
Dishy
Tutor
Mar 16, 2022

Orbi RBK50 + Starlink Invalid Gateway IP Address

With Starlink, I set a static route to enable the mobile app direct access to the router. I have to update it when the IP changes and this isn't as important now that Starlink app supports remote access, but this is still something I'd like to understand. I've set a static route about 50 times (for new IPs) with no issues and always just took the WAN IP and set it to the Gateway IP in the static route config. Now, for the first time, my Dishy assigned my router an IP ending in .0. Orbi is telling me that it's an invalid gateway IP address. Any ideas?

Here is my config ...

Internet Port
IP Address: 100.65.16.0
Connection: DHCP
IP Subnet Mask: 255.192.0.0

Static Route
Destination IP Address: 192.168.100.0
IP Subnet Mask: 255.255.255.0
Gateway IP Address: 100.x.y.0
Metric: 2

I can put anything but 0 and 255 into that last digit on the gateway IP and it will accept it



8 Replies


  • Dishy wrote:
    Now, for the first time, my Dishy assigned my router an IP ending in .0. Orbi is telling me that it's an invalid gateway IP address. Any ideas?

    Wow, I didn't realize that legal IP addresses can end in 0: https://stackoverflow.com/questions/14915188/ip-address-ending-with-zero.  Seems like the Orbi needs to be updated to support such IP addresses.

     

    In the meantime, can you force your Dishy to assigned another IP address to your router (and hope you get one that the Orbi will accept)?

    • Dishy's avatar
      Dishy
      Tutor
      I've tried rebooting both Dishy and the Orbi, but it still hands out the .0 address, probably due to a reservation based on the Orbi's MAC address, which I can't change. I may just have to wait for it to rotate and hope for a non-zero address.
  • CrimpOn's avatar
    CrimpOn
    Guru - Experienced User

    (The best part of this community forum is hearing about unusual situations.)

     

    Could you please provide a little more background about this use of 'static routes', in particular where the static route is being defined. (on Starlink or on Orbi).

     

    The way I understand it, static routes on the Orbi provide a method for devices on the local LAN to find IP addresses that cannot be reached through the usual gateway (the Orbi LAN IP address).  With the typical Orbi subnet mask of 255.255.255.0, when a device wants to communicate with any other device that has the same /24 prefix, it uses ARP to find the MAC address of the device and sends packets directly to it.  When the target device has an IP that is not in the same subnet, it sends packets to the gateway and says, "You figure it out."

     

    Sometimes the Orbi WAN interface has no idea where to find that IP.  In that case, a static route on the Orbi says, "instead of using the Orbi gateway, send packets destined for that IP address to this other gateway on the Orbi LAN.  It doesn't matter what the target IP address ends with, but the 'gateway' has to be an IP on the Orbi subnet.

     

    The way I picture this situation:

     

    Starlink has given the Orbi WAN interface 100.65.16.0 with a subnet mask of 255.192.0.0 (one damn big subnet of 4,194,302 addresses)

    Orbi has created a typical subnet of 192.168.1.0 with subnet mask 255.255.255.0 (256 addresses).

    Some device on the Orbi LAN needs to connect to 100.x.y.0 and using the regular Orbi gateway cannot find it.

     

    I obviously am misunderstanding something.

    • Dishy's avatar
      Dishy
      Tutor
      Yes, the static route is on the Orbi. Starlink provides their own router and you manage Dishy with a mobile app, but many of us need to use our own routers for a variety of reasons. The mobile app is hard-coded to look for Dishy on 192.168.100.0. Dishy is upstream of the Orbi, connected to the Orbi's WAN port. So I need something to tell the Orbi to send the traffic for 192.168.100.0 over the WAN port. It's always been a bit of a pain because that WAN IP for Orbi changes every so often (days or weeks) and I need to update the static route when it does. My understanding of networking is pretty basic, though, so I'm mostly leaning on what other more network-savvy Starlink users have done.

      I suspect that the Orbi may not allow a .0 gateway but was hoping that maybe I was attempting something improper with the subnet mask, about in which I know very little. But I guess a .0 Subnet mask should allow all addresses 0 to 255. It's just strange that Netgear wouldn't support the standard 20 years after it's implemented, so I assumed something else must be wrong.
      • CrimpOn's avatar
        CrimpOn
        Guru - Experienced User

        Dishy wrote:
        So I need something to tell the Orbi to send the traffic for 192.168.100.0 over the WAN port. It's always been a bit of a pain because that WAN IP for Orbi changes every so often (days or weeks) and I need to update the static route when it does

        A static route on the Orbi must point to a LAN port on the Orbi, not the WAN port.  As it is, the Orbi already recognizes that 192.168.100.0 in not on the LAN, and the way to reach that IP address is to use the WAN port.

         

        See page 76 on the RBR50 user manual:

        https://www.downloads.netgear.com/files/GDC/RBK50/Orbi_UM_EN.pdf