Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2001 02:56:57 +0100 (CET)
From:      Luigi Rizzo <luigi@info.iet.unipi.it>
To:        Josef Karthauser <joe@tao.org.uk>
Cc:        "Rogier R. Mulhuijzen" <drwilco@drwilco.nl>, Matthew Emmerton <matt@gsicomp.on.ca>, Jonathan Graehl <jonathan@graehl.org>, freebsd-net@FreeBSD.ORG
Subject:   Re: Quick question about IP aliasing
Message-ID:  <200102280156.CAA29214@info.iet.unipi.it>
In-Reply-To: <20010227194556.C737@tao.org.uk> from Josef Karthauser at "Feb 27, 2001 07:45:56 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> On Tue, Feb 27, 2001 at 07:16:14AM +0100, Rogier R. Mulhuijzen wrote:
> >
> > >The point is that you need to use a netmask of 255.255.255.255 for aliased
> > >IPs on FreeBSD, regardless of the alias of the primary (non-alias) IP.

no this is incorrect. you just have to make sure that the aliased
IP&mask do not generate info which is already in the routing table.
E.g. if your primary addr is 1.2.3.4/24 , an alias of 1.2.3.5/24 will
give a warning, but an alias of 1.2.4.4/24 will not, and most likely even
1.2.3.5/25 will not.

> > 
> > Everybody is saying use 255.255.255.255 for an alias. Noone is giving 
> > reasons why.
> 
> I don't understand this either.  To my mind it's a bug if it doesn't
> work with the full netmask for an IP alias address.

it does work, you just have tomake sure that you use the
correct parameters.

	cheers
	luigi

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102280156.CAA29214>