*BSD News Article 70253


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!tank.news.pipex.net!pipex!oleane!jussieu.fr!math.ohio-state.edu!usc!elroy.jpl.nasa.gov!swrinde!ringer.cs.utsa.edu!news.cais.net!news.mathworks.com!zombie.ncsc.mil!newsgate.duke.edu!news.eff.org!sed.psrw.com!psinntp	!psinntp!psinntp!usenet2.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for
-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Changed IP addresses. Sysconfig won't ifconfig 1st interface
Date: 5 Jun 1996 18:04:36 +0100
Organization: Coverform Ltd.
Lines: 33
Message-ID: <4p4en4$re@anorak.coverform.lan>
References: <4ov3hf$rc8@nadine.teleport.com>
X-NNTP-Posting-Host: awfulhak.demon.co.uk

Blake Swensen (blake@pbgi.com) 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?  

Your IPs & netmasks in binary are:

    IP xxxxx.10100011, netmask xxxxx.11110000
    IP xxxxx.10100010, netmask xxxxx.11110000

In order to get to (for example) xxxxx.10101111, both interfaces are
appropriate.  Life will work much better if you change one of your netmasks
to 255.255.255.255.

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....