Date: Fri, 23 Jan 1998 07:35:19 -0600 From: eculp <eculp@ver1.telmex.net.mx> To: Karl Pielorz <kpielorz@tdx.co.uk> Cc: isp@FreeBSD.ORG Subject: Re: IP address aliases... Message-ID: <34C89C97.15FB7483@ver1.telmex.net.mx> References: <34C88CD1.7AFAF4DF@tdx.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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?34C89C97.15FB7483>