Josh wrote:
> I am running Indiana preview 2 and I would like to create a non-global 
> ip-exclusive zone to use interface iprb0.
> 
> I used the following commands to install the zone:
> 
> [EMAIL PROTECTED]:/# zonecfg -z webserver
> webserver: No such zone configured
> Use 'create' to begin configuring a new zone.
> zonecfg:webserver> create -t SUNWipkg
> zonecfg:webserver> set zonepath=/zones/webserver
> zonecfg:webserver> verify
> zonecfg:webserver> set autoboot=true
> zonecfg:webserver> set ip-type=exclusive
> zonecfg:webserver> add net
> zonecfg:webserver:net> set physical=iprb0
> zonecfg:webserver:net> end
> zonecfg:webserver> add device
> zonecfg:webserver:device> set match=/dev/iprb0
> zonecfg:webserver:device> end
> zonecfg:webserver> commit
> zonecfg:webserver> exit

Looking at this again, because I was trying to see which version you are 
using (i tried with rc0, internally, and came across a different issue)...

you don't need to do the 'add device' and I don't know what effect it 
might have *if* you do this.

I have also never tried to do a 'set-linkprop' for exclusive zones.

NWAM may be getting in the way. if you disable that, does it work?
Probably need to enable network/physical:default instead.

Steffen

PS. because I play a lot with the Crossbow bits, I don't see all the 
changes post build 81 right now.

> 
> When I try to install the zone I get the following message:
> 
> [EMAIL PROTECTED]:/zones# zoneadm -z webserver install
> WARNING: skipping network interface 'iprb0' which is used in the global zone.
> 
> [EMAIL PROTECTED]:/zones# zoneadm -z webserver boot
> WARNING: skipping network interface 'iprb0' which is used in the global zone.
> zoneadm: zone 'webserver': WARNING: skipping network interface 'iprb0' which 
> is used in the global zone.: Not owner
> 
> [EMAIL PROTECTED]:/zones# dladm set-linkprop -t -p zone=webserver iprb0
> dladm: warning: cannot set link property 'zone' on 'iprb0': device busy
> 
> [EMAIL PROTECTED]:/zones# ifconfig -a
> lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 
> index 1
>       inet 127.0.0.1 netmask ff000000 
> bnx0: flags=201004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS> mtu 1500 
> index 7
>       inet 10.44.119.177 netmask ffffff00 broadcast 10.44.119.255
>       ether 0:1e:4f:23:eb:df 
> bnx1: flags=201000802<BROADCAST,MULTICAST,IPv4,CoS> mtu 1500 index 5
>       inet 0.0.0.0 netmask 0 
>       ether 0:1e:4f:23:eb:e1 
> iprb0: flags=201000842<BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 6
>       inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
>       ether 0:90:27:8e:95:5b 
> lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 
> index 1
>       inet6 ::1/128 
> 
> 
> I don't have an entry for iprb0 in my /etc/nwam/llp
> 
> Here is output of dladm-showlink:
> 
> bnx1          type: non-vlan  mtu: 1500       device: bnx1
> iprb0         type: non-vlan  mtu: 1500       device: iprb0
> bnx0          type: non-vlan  mtu: 1500       device: bnx0
> 
> Thanks in advance.
> --
> 
> This message posted from opensolaris.org
> 
> _______________________________________________
> indiana-discuss mailing list
> indiana-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

_______________________________________________
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to