richardsk wrote: > On my box the second line returned by 'ip route list' starts with the ip > mask, so you don't need to bother with the dhcp server at all.But if the > static IP doesn't match the actual subnet, I don't see how 'ip route list' returns any useful information. E.g., if eth0 is statically configured to 10.0.1.222, but the actual local subnet is 192.168.1.x, 'ip route list' returns:
# ip route list default via 10.0.1.1 dev eth0 proto static 10.0.1.0/24 dev eth0 proto kernel scope link src 10.0.1.222 metric 1 169.254.0.0/16 dev eth0 scope link metric 1000 I'm going to have to go with epoch1970's approach here. Thanks. ------------------------------------------------------------------------ gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=95037 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
