Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2002 04:55:10 +0800
From:      "aaron g" <click46@operamail.com>
To:        fbsd-q@bzerk.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Jail single ip network (FreeBSD 4.5)
Message-ID:  <20020610205511.29606.qmail@operamail.com>

next in thread | raw e-mail | index | archive | help

>> I then created the network alias, here is the output from ifconfig:
>> 
>>    xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>> 	options=3<rxcsum,txcsum>
>> 	inet 142.39.88.238 netmask 0xffffff00 broadcast 142.39.88.255
>> 	inet6 fe80::2c0:4fff:fea0:86fa%xl0 prefixlen 64 scopeid 0x1 
>> 	inet 192.168.200.13 netmask 0xffffffff broadcast 192.168.200.13
>                                      ^^^^^^^^
> Normally you would use such a netmask if your alias IP address is 
> in the same subnet as your primary IP address. Since they are in 
> unrelated networks you probably want to use a netmask of 255.255.255.0
here. 

> Ruben


actually, since this is an alias, you must set the netmask
to 255.255.255.255. As of 4.6 [or perhaps 4.5? I cannot
remember] you are forced to use this netmask or the alias
will not work.

- aarong
-- 
_______________________________________________
Download the free Opera browser at http://www.opera.com/

Powered by Outblaze

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?20020610205511.29606.qmail>