I've been playing around with Oracle Solaris 11 for learning reasons. I've already read in this forum about the need to use a bridge or to enable promiscuous mode to get a bridged VirtualBox interface to work with Zones. But what I don't understand is the actual behaviour of my config. I'm getting packet loss between 2 zones with isolated network config.
I've configured two Zones and I want communication between those through an etherstub so I've configured network as follows:
Code: Select all
# dladm show-phys
LINK MEDIA STATE SPEED DUPLEX DEVICE
net0 Ethernet up 1000 full e1000g0
Code: Select all
# dladm show-link
LINK CLASS MTU STATE OVER
net0 phys 1500 up --
vswitch0 etherstub 9000 unknown --
vnic0 vnic 9000 up vswitch0
zone1/vnic0 vnic 9000 up vswitch0
vnic1 vnic 9000 up vswitch0
zone2/vnic1 vnic 9000 up vswitch0
And this is is the config of the zone:
Code: Select all
# zonecfg -z zone1
zonecfg:zone1> export
create -b
set brand=solaris
set zonepath=/system/zones/%{zonename}
set autoboot=false
set autoshutdown=shutdown
set ip-type=exclusive
add net
set configure-allowed-address=true
set physical=vnic0
end
Code: Select all
# ipadm
NAME CLASS/TYPE STATE UNDER ADDR
lo0 loopback ok -- --
lo0/v4 static ok -- 127.0.0.1/8
lo0/v6 static ok -- ::1/128
vnic0 ip ok -- --
vnic0/v4 static ok -- 192.168.1.226/24
vnic0/v6 addrconf ok -- fe80::8:20ff:feb9:571e/10
Code: Select all
# ping -s 192.168.1.227
PING 192.168.1.227: 56 data bytes
^C
----192.168.1.227 PING Statistics----
4 packets transmitted, 1 packets received, 75% packet loss
round-trip (ms) min/avg/max/stddev = 9223372036854776.000/0.000/0.000/-NaN
Thank you.
PD: Forgot to say that I get the same behaviour in VMware Workstation.