Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2002 05:08:14 +0200 (CEST)
From:      =?iso-8859-1?q?m=20p?= <sumirati@yahoo.de>
To:        budsz@kumprang.or.id
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Ip aliases in FreeBSD
Message-ID:  <20020611030814.905.qmail@web13301.mail.yahoo.com>

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




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