[lug] Linux Router Experimenting...Where is Metric Set?
stimits at comcast.net
stimits at comcast.net
Wed Nov 25 19:20:24 MST 2015
Hi,
So I'm experimenting with using Linux for a router instead of buying something off the shelf. Something I ran into that I'm not quite sure of where to "fix" is the route metric. On this same private network hosts I created statically have a metric of "0" for the 192.168.x.x subnet, while those picking up the same information via DHCP have a metric of "1". This is causing forwarding to fail unless I manually set metric back to "0", which kind of defeats the purpose of DHCP automation. Here's an example:
# routeKernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Ifacedefault myrouter 0.0.0.0 UG 0 0 0 eth0192.168.2.0 * 255.255.255.0 U 1 0 0 eth0
My question is whether the DHCP server should be sending something to get this metric to be 0, or if the dhcp client should be configured to do this...or if perhaps technically speaking this should be automatic and never messed with? Perhaps it is a case of needing "default" to instead use a metric of "1" to match 192.168.2.0/24 subnet metric?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20151126/15682975/attachment.html>
More information about the LUG
mailing list