Not much success with that, here's what I got configuring the zone with an exclusive IP stack :

...
set ip-type=exclusive
add net
set physical=vfe1000
end
....

My sysidcfg file has the following to set networking :

network_interface=primary
        {hostname=tournette
        ip_address=xx.121.41.77
        netmask=255.255.255.0
        protocol_ipv6=no
        default_route=xx.121.41.254}

When the zone boots I get the following error :

zoneadm: zone 'tournette': WARNING: skipping network interface 'vfe1000' which is used in the global zone.: Not owner

in the global zone :

lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
vfe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet xx.121.24.211 netmask ffffff00 broadcast xx.121.24.255
        ether 0:17:31:c3:ea:e6
vfe1000: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 3
        inet 0.0.0.0 netmask ff000000
        ether 0:17:31:c3:ea:e6

Routing Table: IPv4
Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ---------- ---------
default              xx.121.24.254        UG        1       5883
xx.121.24.0          xx.121.24.211        U         1        204 vfe0
224.0.0.0            xx.121.24.211        U         1          0 vfe0
127.0.0.1            127.0.0.1            UH        1         14 lo0

from within the zone :

lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000

Routing Table: IPv4
Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ---------- ---------
224.0.0.0            127.0.0.1            U         1          0 lo0
127.0.0.1            127.0.0.1            UH        1          0 lo0

I also tried with a shared IP stack and got a bit further, but still no ping :

Global zone :

lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
lo0:1: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        zone tournette
        inet 127.0.0.1 netmask ff000000
vfe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet xx.121.24.211 netmask ffffff00 broadcast xx.121.24.255
        ether 0:17:31:c3:ea:e6
vfe1000: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 3
        inet 0.0.0.0 netmask ff000000
        ether 0:17:31:c3:ea:e6
vfe1000:1: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 3
        zone tournette
        inet xx.121.41.77 netmask ffffff00 broadcast xx.121.41.255

Routing Table: IPv4
Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ---------- ---------
default              xx.121.24.254        UG        1       5807
default              xx.121.41.254        UG        1         61
xx.121.24.0          xx.121.24.211        U         1        203 vfe0
224.0.0.0            xx.121.24.211        U         1          0 vfe0
127.0.0.1            127.0.0.1            UH        1         14 lo0


zone :


Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ---------- ---------
default              xx.121.41.254        UG        1         26
xx.121.41.0 xx.121.41.77 U 1 8 vfe1000:1 224.0.0.0 xx.121.41.77 U 1 0 vfe1000:1
127.0.0.1            127.0.0.1            UH        1          0 lo0:1

Any ideas ?

Alain

PS : On Solaris 10 Update 5 dladm cannot be used to create vlan's so I used "ifconfig vfe1000 plumb up" instead.


On Jun 5, 2008, at 8:18 PM, James Carlson wrote:

Alain Durand writes:
Could you please elaborate a bit further ? I must admit I do not
really understand what should be done.

Something like this:

# dladm create-vlan -l vfe0 -v 1
# zonecfg -z blue 'add net; set physical=vfe1000; end'

--
James Carlson, Solaris Networking <[EMAIL PROTECTED] > Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

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

Reply via email to