Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jan 1998 21:37:20 -0500 (EST)
From:      Andrew Webster <andrew@guardian.fortress.org>
To:        Karl Pielorz <kpielorz@tdx.co.uk>
Cc:        isp@freebsd.org
Subject:   Re: Ifconfig & 2nd IP address - weird...
Message-ID:  <Pine.BSF.3.96.980105213605.17958B-100000@guardian.fortress.org>
In-Reply-To: <34B15E1A.EE0854C6@tdx.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Karl,

I'm glad it worked!

When you are running 2.2.5 or later, the rc.conf file has a sample entry
that looks like this:

#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry.

so it is documented, just not in 2.2.2 which is what you are running.



On Mon, 5 Jan 1998, Karl Pielorz wrote:

> Thanks to yourself, and the numerous other people who replied... Changing the
> netmask to 255.255.255.255 (0xffffffff) did indeed fix the problem...
> 
> I'd not seen this mentioned anywhere - or if I did it must have been long
> forgotten...
> 
> Regards,
> 
> Karl Pielorz
> 
> 
> Andrew Webster wrote:
> > 
> > On Mon, 5 Jan 1998, Karl Pielorz wrote:
> > 
> > >
> > > de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> > >         inet 192.168.100.1 netmask 0xffffffe0 broadcast 192.168.100.31
> > >         inet 192.168.100.2 netmask 0xffffffe0 broadcast 192.168.100.31
> > >         ether 00:00:c0:eb:a3:0b
> > 
> > Use netmask 0xffffffff (255.255.255.255) for 2nd and additional addresses
> > on the same interface.
> > 
> > Regards,
> > 
> > Andrew Webster                              andrew@pubnix.net
> 

Andrew Webster                              andrew@pubnix.net   
Key fingerprint =  CF E8 16 B8 A6 DB E3 C9  83 E7 96 24 25 58 15 6E
PubNIX Montreal    Connected to the world   Branche au monde
P.O. Box 147       Cote Saint Luc, Quebec   H4V 2Y3
tel 514.990.5911   http://www.pubnix.net    fax 514.990.9443




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980105213605.17958B-100000>