From owner-freebsd-questions Mon Jun 10 20: 8:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web13301.mail.yahoo.com (web13301.mail.yahoo.com [216.136.175.37]) by hub.freebsd.org (Postfix) with SMTP id AA6DF37B400 for ; Mon, 10 Jun 2002 20:08:14 -0700 (PDT) Message-ID: <20020611030814.905.qmail@web13301.mail.yahoo.com> Received: from [193.174.9.34] by web13301.mail.yahoo.com via HTTP; Tue, 11 Jun 2002 05:08:14 CEST Date: Tue, 11 Jun 2002 05:08:14 +0200 (CEST) From: =?iso-8859-1?q?m=20p?= Subject: Re: Ip aliases in FreeBSD To: budsz@kumprang.or.id Cc: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Hi, > > I tried ip aliasing in FreeBSD 4.6 RC, so if I use the same subnet or > use more than 2 ip always failure for ex: > > Case 1: > > A: 192.168.0.1/255.255.255.240- > | The result (A=up, B=down) > B: 192.168.0.2/255.255.255.240- > > > Case 2: (3 ip aliasing) > > A: 192.168.0.1/255.255.255.240- > | > B: 192.168.0.2/255.255.255.230- The result (A=up,B=down,C=down) > | > C: 192.168.0.3/255.255.255.255- > > Case 3 : > > A: 192.168.0.1/255.255.255.240- > | The result (A=up,B=up) > B: 192.168.0.2/255.255.255.255- > > > Can somebody explain about this..? > Hi, if you check in the mailinglist archives, you will find some hints. http://www.freebsd.org/cgi/search.cgi?words=ip+alias+255.255.255.255&max=50&sort=date&index=recent&source=freebsd-questions Or read the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-virtual-hosts.html And it should be added to the FAQ .. Hope that helps Marc PS: In short: If you have an IP alias in the same subnet the correct netmask is 255.255.255.255 as in example 3. It is forced since FreeBSD 4.5 AFAIK. __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Kreative Köpfe gesucht! Machen Sie mit beim Yahoo! SMS Literatur Wettbewerb und gewinnen Sie tolle Preise - http://smswettbewerb.yahoo.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message