Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jan 1998 12:28:01 +0000
From:      Karl Pielorz <kpielorz@tdx.co.uk>
To:        isp@FreeBSD.ORG
Subject:   IP address aliases...
Message-ID:  <34C88CD1.7AFAF4DF@tdx.co.uk>

next in thread | raw e-mail | index | archive | help
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

(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?34C88CD1.7AFAF4DF>