Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jan 1998 11:27:14 -0500 (EST)
From:      zoonie <zoonie@myhouse.com>
To:        eculp <eculp@ver1.telmex.net.mx>
Cc:        Karl Pielorz <kpielorz@tdx.co.uk>, isp@FreeBSD.ORG
Subject:   Re: IP address aliases...
Message-ID:  <Pine.NEB.3.96.980123112626.2333G-100000@nak.myhouse.com>
In-Reply-To: <34C89C97.15FB7483@ver1.telmex.net.mx>

next in thread | previous in thread | raw e-mail | index | archive | help
i do the same thing also but i use the host mask (255.255.255.255) and it
works ok for me but i do get occasional ARP error messages in my system
log.....

On Fri, 23 Jan 1998, eculp wrote:

> Karl Pielorz wrote:
> > 
> > A while ago I asked about this subject - and was correctly told that secondary
> > / additional addresses bound to an interface under FreeBSD (I'm using 2.2.2 &
> > 2.2.5) have to have a netmask of 0xffffffff (255.255.255.255).
> > 
> > What happens if I have to do the following:
> > 
> > ep0: 192.168.100.1 netmask 255.255.255.242
> > 
> > then I want to add:
> > 
> > ep0: 10.10.2.1 netmask 255.255.255.252  ***** alias
> 
> I use 
> # ifconfig ep0 inet 10.10.2.1 netmask 255.255.255.252 alias
> It's worked fine for me since one of my ethernet cards
> died about three months ago :-) two networks on the same 
> cable, same card, I still haven't bought another card :-)
> 
> provecho
> 
> ed
> > 
> > (above are obviously fake addresses)
> > 
> > Do I still have to munge the netmask on the second address to 255.255.255.255?
> > - or is this a 'different' case as the 2 IP numbers are in fact on completely
> > different networks? (i.e. not adding a 2nd IP address on the same network as
> > the first)?
> > 
> > Regards,
> > 
> > Karl Pielorz
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96.980123112626.2333G-100000>