Ignore default gateway (dhclient)

Patrik Lahti plahti at qnx.com
Thu Apr 21 16:30:10 UTC 2011


Hi,

You can modify the dhclient-script to ignore any parameters.

Good luck!
/P

On 04/20/2011 07:10 PM, Manuel Argüelles wrote:
>
> Hello,
>
> 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?
>
> Thanks
>
> --
> Paco
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>



More information about the dhcp-users mailing list