*BSD News Article 70114


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!bofh.dot!in-news.erinet.com!imci5!pull-feed.internetmci.com!news.internetMCI.com!newsfeed.internetmci.com!news1.erols.com!newsmaster@erols.com
From: Ken Bigelow <kbigelow@www.play-hookey.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Changed IP addresses. Sysconfig won't ifconfig 1st interface
Date: Mon, 03 Jun 1996 21:43:53 -0700
Organization: Erols Internet Services
Lines: 37
Message-ID: <31B3BF09.17C4@www.play-hookey.com>
References: <4ov3hf$rc8@nadine.teleport.com>
Reply-To: kbigelow@www.play-hookey.com
NNTP-Posting-Host: kenjb05.play-hookey.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b4 (Win16; I)

Blake Swensen wrote:
> 
> Because of some problems I was having on my system, my ISP asked me to change
> the ip addresses on my network.
> 
> After doing so, I cannot get both interfaces to ifconfig correctly:
> 
> In sysconfig I have the following:
>  network_interfaces="lo0 ix0 ed0"
>  ifconfig_lo0="inet localhost"
>  ifconfig_ix0="inet 204.119.59.163 netmask 255.255.255.240"
>  ifconfig_ed0="inet 204.119.59.162 netmask 255.255.255.240"
> 
> No matter what I do, the first interface (ix0 or ed0) gets the file exists
> error on reboot-- if I switch the order, putting ed0 first, ed0 fails. If I
> put ix0 first, ix0 fails.  I have tried swapping the addressed, but the same
> thing happends.
> 
> I can manually configure the failed interface after boot is complete.  And I
> can also add the failed ifconfig command in rc.local and it configures
> correctly.  Can someone please explain this mystery, and how to fix?
> 
> Peace,
> Blake

Strange. I often get "File exists" messages either at bootup or when my system 
dials/redials my ISP. However, in spite of such messages, the configuration 
has nevertheless taken place.

After bootup but without trying to reconfigure, try running an

	ifconfig -a

and see what gets reported for each interface. It may be working better than 
you thought.

Ken