In message <547133454.11296012653482.JavaMail.Twebapp@sf-app1>, Benji writes:
>I created a second VNIC, vboxzone1, inside the global zone. I added that secon

By VNIC, I meant Crossbow VNIC, not VirtualBox NIC.

In global:
# dladm create-etherstub etherstub0
# dladm create-vnic vnic0
# dladm create-vnic vnic1
# dladm create-vnic vnic2
# cat <<EOF>/etc/hostname.vnic0
10.0.0.1
# cat <<EOF>>/etc/ipf/ipnat.conf
map e1000g0 10.0.0.0/24 -> 0/32 portmap tcp/udp auto
map e1000g0 10.0.0.0/24 -> 0/32
# zonecfg -z win7zone export
create -b
set zonepath=/var/opt/zones/win7zone
set brand=ipkg
set autoboot=true
set ip-type=exclusive
add net
set physical=vnic1
end
add net
set physical=vnic2
end
add device
set match=/dev/vboxdrv
end
add device
set match=/dev/vboxusbmon
end

In non-global winz7zone:
# cat /etc/hostname.vnic1
10.0.0.2
# cat /etc/hostname.vnic2
10.0.0.3
down
# cat /etc/defaultrouter
10.0.0.1
# ifconfig vnic2

Now configure your VBox to use the host's vnic2 in bridged mode and
set its ethernet address to the same per page 88 of the VBox manual.

John
groenv...@acm.org

_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to