On Mon, 2003-10-27 at 13:24, [EMAIL PROTECTED] wrote:
> Hey All,
> I have a machine freshly build, and just for building purposes, it was 
> assigned a dynamic IP address from a dhcp server.
> I have since changed it to a static IP address, not through the dhcp 
> server, but just in the local /etc/network/interfaces (Without rebooting), 
> then ran `ifdown eth0; ifup eth0`
> This worked fine for about a day, until the dhcp server offered a new IP 
> address, and the debian machine accepted!!
> I restarted the network (ifdown eth0; ifup eth0), and it worked OK again.
> However, I noticed dhclient-2.2.x running, so I have terminated that 
> process, and hopefully everything will continue to work ok.
> 

I would have suggested that you do the following when changing from dhcp
-> static

ifdown eth0
edit interfaces
ifup eth0

If you do the ifdown after editing rather than before, it doesn't 'know'
about the dhcp settings and doesn't terminate the dhclient (AFAIK).

greeno
-- 
Tony Green <[EMAIL PROTECTED]>

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to