Re: [zones-discuss] Zones: Could not bring network interface up: address in use by zone 'global'

2007-09-22 Thread Dick Davies
Yes, you give it the global zones interface name,
and it then creates an alias on that interface with the IP address
you specified.


On 21/09/2007, Lana Tom [EMAIL PROTECTED] wrote:
 Hi -

 To create a zone, I'm using:

 zonecfg -z $ZONENAME1 add net; set address=$IP1; set 
 physical=$NETWORK_INTERFACE1; end

 zonecfg -z zone1 add net; set address=IP Address for global zone; set 
 physical=ce0; end

 Should the zonecfg command use the ip address for zone1?

 Thanks,
 Lana



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



-- 
Rasputin :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Zones: Could not bring network interface up: address in use by zone 'global'

2007-09-21 Thread Lana Tom
Yes, I had created the zone with the same ip as the global-zone.
I have submitted a request for 2 additional ip addresses for the 
zones. Thanks.



Jeff Victor wrote:

 Lana Tom wrote:

 Hi -

 I'm trying to boot a zone that I've created but I'm getting interface 
 errors.
 Any ideas why the zone will not boot?

 xc12p11-b1# zoneadm list -cv
 ID NAME STATUS PATH   
 BRANDIP
 0 global   running/  native   
 shared
 - xc12p11-b1  installed  /export/xc12p11-b1  native   
 shared

 xc12p11-b1# zoneadm -z xc12p11-b1 ready
 zoneadm: zone 'xc12p11-b1': ce0:1: could not bring network interface
 up: address in use by zone 'global': Cannot assign requested address
 zoneadm: zone 'xc12p11-b1': call to zoneadmd failed

 xc12p11-b1# zoneadm -z xc12p11-b1 boot
 zoneadm: zone 'xc12p11-b1': ce0:1: could not bring network interface 
 up: address in use by zone 'global': Cannot assign requested address

 The message above is telling you that the zone was configured with the 
 same IP address as the global zone. What IP address did you assign to 
 the zone?  It cannot be the same as an address used by the global zone.

 zoneadm: zone 'xc12p11-b1': call to zoneadmd failed


 xc12p11-b1# ifconfig -a
 lo0: flags=2001000849UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL mtu 
 8232 index 1
  inet 127.0.0.1 netmask ff00
 ce0: flags=1000843UP,BROADCAST,RUNNING,MULTICAST,IPv4 mtu 1500 index 2
  inet 10.1.75.29 netmask f800 broadcast 10.1.79.255
  ether 0:3:ba:1f:e2:57
 dman0: flags=1008843UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4 mtu 
 1500 index 3
  inet 192.168.103.3 netmask ffe0 broadcast 192.168.103.31
  ether 0:3:ba:1f:e2:57
 e1000g0: flags=1000803UP,BROADCAST,MULTICAST,IPv4 mtu 1500 index 4
  inet 80.60.70.2 netmask ff00 broadcast 80.255.255.255
  ether 0:3:ba:1f:e2:57
 e1000g1: flags=1000803UP,BROADCAST,MULTICAST,IPv4 mtu 1500 index 5
  inet 80.60.71.2 netmask ff00 broadcast 80.255.255.255
  ether 0:3:ba:1f:e2:57

 xc12p11-b1# cat /etc/path_to_inst | grep ce
 /[EMAIL PROTECTED],60/[EMAIL PROTECTED]/[EMAIL PROTECTED] 0 ce
 /[EMAIL PROTECTED],60/[EMAIL PROTECTED]/[EMAIL PROTECTED] 1 ce

 xc12p11-b1# cat /etc/path_to_inst | grep dman

 xc12p11-b1# cat /etc/path_to_inst | grep e1000
 /[EMAIL PROTECTED],70/[EMAIL PROTECTED] 0 e1000g
 /[EMAIL PROTECTED],70/[EMAIL PROTECTED],1 1 e1000g

 xc12p11-b1# cat /etc/path_to_inst | grep lo0

 xc12p11-b1# uname -a
 SunOS xc12p11-b1 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-15000
 xc12p11-b1# cat /etc/release
 Solaris 10 8/07 s10s_u4wos_12b SPARC
 Copyright 2007 Sun Microsystems, Inc.  All Rights Reserved.
  Use is subject to license terms.
  Assembled 16 August 2007
 Also, does the name of the zone(s) need to be unique or can they be
 the same as the machine name xc12p11-b1? I am using xc12p11-b1
 and would like to create two exclusive zones inside a global-zone
 so I can run some tests between the two zones.

 Any help is appreciated.
 Thanks,
 -Lana









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