Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 1996 16:30:27 -0500
From:      "Garrett A. Wollman" <wollman@lcs.mit.edu>
To:        Robert Du Gaue <rdugaue@calweb.com>
Cc:        David Brockus <dbrockus@cyberhall.com>, FreeBSD questions <questions@FreeBSD.org>
Subject:   Re: IP aliasing
Message-ID:  <9603182130.AA25978@halloran-eldar.lcs.mit.edu>
In-Reply-To: <Pine.BSF.3.91.960318124202.10932B-100000@web1.calweb.com>
References:  <Pine.BSF.3.91.960318101028.16194F-100000@cyber1.cyberhall.com> <Pine.BSF.3.91.960318124202.10932B-100000@web1.calweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Mon, 18 Mar 1996 12:44:20 -0800 (PST), Robert Du Gaue <rdugaue@calweb.com> said:

>> network_interfaces="ep0 lo0"
>> ifconfig_ep0="inet xxx.xxx.xxx.131 netmask 255.255.255.224"
>> ifconfig_lo0="inet localhost"
>> ifconfig_ep0="alias xxx.xxx.xxx.132 netmask 255.255.255.224"
>> 
>> Is this the correct syntax and location to add the alias?
>> 
>> And where do I need to add a route to the second IP number?

> You also need to add a default route of that IP to localhost.

> route add -host xxx.xxx.xxx.132 127.0.0.1

No.  Don't do this.  The original poster's settings are wrong.  The
netmask of aliases on the same subnet MUST be set to 255.255.255.255
or lots of incorrect things will happen.

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



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