Re: Stop dhclient from adding a default gateway

2010-09-03 Thread Bob Proulx
David A. Parker wrote: > >The dhclient-script sets the route. If you want to prevent it then > >you will have to either prevent dhclient-script from setting it or to > >remove it after it has been set. > > Thanks, Bob. I had looked at dhclient-script and realized that it > was the culprit, but I

Re: Stop dhclient from adding a default gateway

2010-09-03 Thread David A. Parker
On 09/03/2010 02:09 PM, Bob Proulx wrote: David A. Parker wrote: I have a Debian Lenny box with two NICs, eth0 and eth1. eht1 is a trunking interface and can be put onto any VLAN. Whenever eth1 is put onto a VLAN, I want it to get an address from DHCP but I do *not* want it to set a default gat

Re: Stop dhclient from adding a default gateway

2010-09-03 Thread Bob Proulx
David A. Parker wrote: > I have a Debian Lenny box with two NICs, eth0 and eth1. eht1 is a > trunking interface and can be put onto any VLAN. Whenever eth1 is > put onto a VLAN, I want it to get an address from DHCP but I do > *not* want it to set a default gateway. > ... > Any help would be great

Stop dhclient from adding a default gateway

2010-09-03 Thread David A. Parker
Hello, I have a Debian Lenny box with two NICs, eth0 and eth1. eht1 is a trunking interface and can be put onto any VLAN. Whenever eth1 is put onto a VLAN, I want it to get an address from DHCP but I do *not* want it to set a default gateway. I set up a definition for each interface in dhcl