Ignore default gateway (dhclient)

Manuel Argüelles manuel.arguelles at gmail.com
Wed Apr 20 23:10:06 UTC 2011


Is it possible for dhclient to ignore the default gateway? I tried using
"supersede routers" but it requires a valid ip address of host.

I also tried requesting everything but routers but still I get it all.

The problem is that I have two interfaces, they both get the ip from dhcp
servers (and I can't change that), so I end up having two default gateways on
the system. Is there any way to ignore the default gateway and dns of one of the
two interfaces?



More information about the dhcp-users mailing list