Date: Tue, 27 Feb 2001 22:06:58 -0700 (MST) From: Alex Rousskov <rousskov@measurement-factory.com> To: Luigi Rizzo <luigi@info.iet.unipi.it> Cc: freebsd-net@FreeBSD.ORG Subject: Re: Quick question about IP aliasing Message-ID: <Pine.BSF.4.10.10102272155120.42355-100000@measurement-factory.com> In-Reply-To: <200102280412.FAA30065@info.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 28 Feb 2001, Luigi Rizzo wrote: > the source of confusion is just the fact that when you ifconfig an > interface, you really give two distinct pieces of information: > 1. an ip address that the machine recognises as its own > 2. an address for a subnet connected to that interface. > With aliases you can assign multiple instances of 1 and 2, as long > as they are distinct. In your example the subnet address that > you try to set with the alias is the same as the one you have > already set with the primary ip, so the info is already there and > you get the warning/error. Luigi, Can you be more specific please? Is it just a harmless warning message or a true error? In other words, will anything break if I use a.b.c.2/24 alias on the interface with the a.b.c.1/24 primary address? I hate to admit, but this thread is very confusing to me -- several people are claiming opposite things with confidence. Unfortunately, I cannot simply ignore the discussion. For benchmarking purposes, we routinely use thousands of IP aliases that belong to the same subnet on one interface without any known problems. I want to know if we are doing something wrong. I do not care about the ifconfig warning by itself. We do not even use ifconfig to manage aliases. I care about the actual run-time code that handles the addresses. Could you please clarify whether there is anything wrong with using, say, 10.0.0-3.1-250/16 aliases on the same interface? Thanks a lot, Alex. 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?Pine.BSF.4.10.10102272155120.42355-100000>