Date: Thu, 13 Nov 2008 23:42:36 +0300 From: Boris Samorodov <bsam@ipt.ru> To: "huynhnguyen" <huynhnguyen@mikorn.com> Cc: freebsd-jail@freebsd.org Subject: Re: can jail use 2 NICS? Message-ID: <71714243@ipt.ru> In-Reply-To: <002b01c94490$260ebfd0$722c3f70$@com> (huynhnguyen@mikorn.com's message of "Wed\, 12 Nov 2008 13\:30\:21 %2B0700") References: <002b01c94490$260ebfd0$722c3f70$@com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 12 Nov 2008 13:30:21 +0700 huynhnguyen wrote: > o bge0: 192.168.1.2/24 > bge0_alias0: 192.168.1.3/24 > o bge1: 11.0.0.2/24 > bge1_alias0: 11.0.0.3/24 Sorry, it's not an answer to your original question. But imho you can't use /24 for an alias address. According to ifconfig(8): ----- alias Establish an additional network address for this interface. This is sometimes useful when changing network numbers, and one wishes to accept packets addressed to the old interface. If the address is on the same subnet as the first network address for this interface, a non-conflicting netmask must be given. Usually 0xffffffff is most appropriate. ----- As I understand the mask /32 should be used here. WBR -- bsam
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?71714243>