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

Re: problem fixing eth0 IP



Hi,

On Mon, Jul 23, 2007 at 06:29:04AM +0000, Robert Cates wrote:
> Hi,
>
> I've just got my new machine running Etch.  This machine is a server, so no 
> GUI or XWindows.  I have the DHCP3-Client and DHCP3-common installed (by 
> default) which gets an IP just fine.  But now I want to assign a fixed 
> non-DHCP IP to the NIC.
>
> I can use ifconfig to change the IP, but when I reboot the machine, DHCP 
> gets the other IP again.  How can I fix this so that the IP I want assigned 
> is permanent?

1. set up /etc/network/interfaces as others said
2. stop or remove DHCP client



Reply to: