This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Default gateway question?

Forgive me if this is a duplicate - I could swear I hit 'post' on the earlier one, but I don't see it now.  Anyway, I have a DHCP WAN ethernet interface.  It has IPv4/IPv6 gateway both set.  When I reboot (or bounce the interface), the interface status shows:

MTU 1500 · DEFAULT GW 68.160.162.1 | ::

Yet 'netstat -rn' shows this:

gateway:/root # netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
10.0.0.0        0.0.0.0         255.255.255.0   U         0 0          0 eth0
68.160.162.0    0.0.0.0         255.255.255.0   U         0 0          0 eth1
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo

Everything *seems* to be working, but I'm curious where the default route is coming from?  Something hidden?



This thread was automatically locked due to age.
Parents
  • Hmmmm, on my UTM I have the Public WAN IP set and the default gateway is one less than this for example 64.120.111.10 and 64.120.111.9, I believe this is the modems gateway IP address.

    In your case I am not sure if that is what is going on or not?

     

    Why is the subnet mask for 68.160.162.0 255.255.255.0?  Are you using all available IP's on this subnet as well?

    Respectfully, 

     

    Badrobot

     

  • This is the WAN subnet.  The subnet and IP address are fine, as is the gateway shown in the interfaces page.  My question is just: why isn't there an interface route shown via 'netstat -rn'?  Everything *seems* to work, so it must be something going on behind the scenes?

Reply
  • This is the WAN subnet.  The subnet and IP address are fine, as is the gateway shown in the interfaces page.  My question is just: why isn't there an interface route shown via 'netstat -rn'?  Everything *seems* to work, so it must be something going on behind the scenes?

Children
No Data