[OpenIndiana-discuss] Networking with Zones an Crossbow on the same Network

Darko Hojnik hojnik at virtualizing.org
Sat Mar 26 21:24:17 UTC 2011


I'm evaluating OpenIndiana with Crossbow and Zones. So I want to setup one  
Host with five Zones. At first in my environment at home, everything  
should be available in the same network The same with an  
another network in a datacenter later.

The host has got a statically configured Interface with the IP Gateway and DNS Server are

After dladm create-vnic -l e1000g0 vnic0 I have no working network  
anymore. Only if I chose vnic0 then as the network interface I could  
assign to my Network again.

darko at masterzone:~# ifconfig -a

lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232  
index 1
         inet netmask ff000000
vnic0: flags=1100843<UP,BROADCAST,RUNNING,MULTICAST,ROUTER,IPv4> mtu 1500  
index 2
         inet netmask ffffff00 broadcast
         ether 2:8:20:b5:44:d6
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252  
index 1
         inet6 ::1/128

darko at masterzone:~# dladm show-link
e1000g0     phys      1500   up       --         --
vnic0       vnic      1500   up       --         e1000g0
vnic1       vnic      1500   up       --         e1000g0
vnic2       vnic      1500   up       --         e1000g0
vnic3       vnic      1500   up       --         e1000g0
vnic4       vnic      1500   up       --         e1000g0
vnic5       vnic      1500   up       --         e1000g0

Later I have created my first Zone

zonecfg -z mailserver
set zonepath=/rpool/zones/mailserver
set ip-type=exclusive
add net
set physical=vnic1

zoneadm -z mailserver install

zoneadm -z mailserver boot

After I have finished the setup of the Zone I could access via Network the  
Host with But not the rest of my network. And from the  
network I could only access the Host. IPv4 forwarding is activated  
(routeadm -u -e ipv4-forwarding)

So my questions are what I did wrong? Or what is going wrong? Do I need a  
bridge for this setup?

kind regards,

More information about the OpenIndiana-discuss mailing list