Date: Mon, 7 Jul 2008 17:05:55 +0000 (UTC) From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> To: Christopher Thunes <c2thunes@brewtab.com> Cc: freebsd-jail@freebsd.org Subject: Re: new set of multi-IPv4/v6/noIP jail patches Message-ID: <20080707170411.N57089@maildrop.int.zabbadoz.net> In-Reply-To: <48724934.8050503@brewtab.com> References: <20080617175607.B83875@maildrop.int.zabbadoz.net> <6ae50c2d0806191123v1794d682rcae256d3a22625ed@mail.gmail.com> <48724934.8050503@brewtab.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 7 Jul 2008, Christopher Thunes wrote:
Hi,
> Should these patches allow multiples IPs which are on multiple interfaces?
> I've been playing around with this and was unable to assign IP address from
> more than one interface correctly. jls will show all IPs correctly but from
> within the jail only IPs from one interface show up in ifconfig and are able
> to be binded to.
Did the patch apply cleanly? Which one? Which release?
dopt# ifconfig lo1 create
dopt# ifconfig lo1 inet 192.0.2.100/32
dopt# ifconfig lo2 create
dopt# ifconfig lo2 inet 192.0.2.200/32
dopt# jail -n multiif /local/jails/j1 dopt 192.0.2.100,192.0.2.200 /sbin/ifconfig -a
fxp0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=b<RXCSUM,TXCSUM,VLAN_MTU>
ether 00:e0:81:31:db:62
media: Ethernet autoselect (none)
status: no carrier
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 00:e0:81:31:db:8c
media: Ethernet autoselect (1000baseTX <full-duplex>)
status: active
bge1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 00:e0:81:31:db:8d
media: Ethernet autoselect (none)
status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
inet 192.0.2.100 netmask 0xffffffff
lo2: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
inet 192.0.2.200 netmask 0xffffffff
dopt#
Works here.
Greetings
Bjoern
--
Bjoern A. Zeeb Stop bit received. Insert coin for new game.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080707170411.N57089>
