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

Re: Ifconfig



At 01:42 PM 11/23/98 -0500, Amanda Shuler wrote:
>I have a question about ifconfig.
>I have a machine that I am trying to configure to put onto a local
>network.
>I'm an assigning it IP address 192.168.76.76
>I type:
>	ifconfig eth0 192.168.76.76
>
>then I check it with ifconfig and everything is correct.  I reboot the
>machine, and recheck ifconfig -- it's wrong.  It resets the IP address to
>192.168.1.1 everytime!  
>
>Currently, I do not have this machine physically hooked up to the network,
>because I was just doing the configuration and I didn't want to knock
>another (very important) machine off the network.  If the ethernet card is
>not actually hooked up to the network, will that cause this "reset" to
>happen upon every boot?
>
>How do I get it to stay at 192.168.76.76?

You have to set the IP address in the network.local file
(/etc/rc.d/network.local on Slackware, haven't gotten around to installing
Debian yet).

this file is called every time the machine boots to set up networking...

Erik

>
>-----------------------------------------------------
>Amanda Shuler		| I don't want to start any
>shuleram@acm.msu.edu	| blasphemous rumours, but...
>-----------------------------------------------------
>
>
>
>-- 
>Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org <
/dev/null
>
>
>


Reply to: