[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SOLVED] Re: Udev persistent net rules - how do they work?



On Saturday 21 Apr 2007, Alan Chandler wrote:
> On Saturday 21 Apr 2007, Alan Chandler wrote:
> > For a while now, I have been running a server with two ethernet
> > cards in.
> >
> > In /etc/networks/interfaces I defined the basic interface as eth0
> > and eth1, but in order to create some additional psuedo ip
> > addresses on my lan I created eth1:0, eth1:1 ... with static ip
> > addresses.
> >
> > A couple of days ago I wanted to test something so
> > changed /etc/networks/interfaces and turned all eth1 into eth0
> > addresses and vica versa.
> >
> > However, now - when I reboot, I still end up with an additional
> > eth1:0 interface - and this seems to stop my dhcp server starting.
>
> Its actually worse than I thought
>
> I can take this interface down with
>
> ifconfig eth1:0 down
>
> and then come back a few hours later and its spontaneously been
> created again.
>
I discovered it - its dhclient - and in particular dhclient.conf which 
had defined eth1 as already having an ip-address (it had not been 
changed to eth0)



-- 
Alan Chandler
http://www.chandlerfamily.org.uk



Reply to: