Re: [zones-discuss] Can I config a Zone as a DHCP client ?
On 01/28/10 02:44 AM, Tina wrote: Hi Erik, Thanks for your suggestion. I have tried the way that run ifconfig bge0 zone zoneA, it did not work. I'm a newer to solaris ZONE, I did not have a good idea about how to troubleshooting it. :-) So I deceided to try IP-exclusive. Now I install solaris 10 on vmware workstation, and I simulated 2 NIC and I checked the status of them with command dladm in solaris: #dladm show-link e1000g1 type:non-vlan mtu:1500 device: e1000g1 e1000g0 type:non-vlan mut:1500 device:e1000g0 But when I created zone, I cannot set ip-type=exclusive, my step is: #zonecfg vbox zonecfg:vbox> set zonepath=/vbox zonecfg:vbox> set ip-type=exclusive then set usage was displayed and no ip-type was listed in it. Why I cannot set ip-type to exclusive? How can I work around it? The support for exclusive-IP zones was added in Solaris 10 8/07. It sounds like you are running an earlier update of Solaris 10. Erik ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Can I config a Zone as a DHCP client ?
Hi Erik, Thanks for your suggestion. I have tried the way that run ifconfig bge0 zone zoneA, it did not work. I'm a newer to solaris ZONE, I did not have a good idea about how to troubleshooting it. :-) So I deceided to try IP-exclusive. Now I install solaris 10 on vmware workstation, and I simulated 2 NIC and I checked the status of them with command dladm in solaris: #dladm show-link e1000g1 type:non-vlan mtu:1500 device: e1000g1 e1000g0 type:non-vlan mut:1500 device:e1000g0 But when I created zone, I cannot set ip-type=exclusive, my step is: #zonecfg vbox zonecfg:vbox> set zonepath=/vbox zonecfg:vbox> set ip-type=exclusive then set usage was displayed and no ip-type was listed in it. Why I cannot set ip-type to exclusive? How can I work around it? Any suggestion will be appreciated, Tina -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Can I config a Zone as a DHCP client ?
On 01/25/10 02:29 AM, Tina wrote: Hi all, Can Zone work as a DHCP client? In my testing enviorment, all ip must be assigned from a DHCP server, I have setup a solaris 10 (x86 version) and config it as a DHCP client, now I tried to create a ZONE on it. How can I config the ZONE as a DHCP client in this enviroment? BTW, only one NIC in the machine. Any feedback will be very appreciated, If you configure the zone to be an exclusive-IP zone then it can be a DHCP client. In Solaris 10 that requires having a separate datalink name for the zone (either a separate NIC, or a separate VLAN). In Nevada/OpenSolaris there is more flexibility since you can create a VNIC and give that VNIC to the zone. You can potentially use the support for logical interfaces in dhcpagent (see man page) to configure e.g., bge0:1 using DHCP, and use a shared-IP zone. Then you would manually have to do ifconfig bge0 zone zoneA In that case you wouldn't list any IP address in zonecfg. Note that I haven't tried this approach so I don't know if there are any gotchas. Erik ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Can I config a Zone as a DHCP client ?
Hi all, Can Zone work as a DHCP client? In my testing enviorment, all ip must be assigned from a DHCP server, I have setup a solaris 10 (x86 version) and config it as a DHCP client, now I tried to create a ZONE on it. How can I config the ZONE as a DHCP client in this enviroment? BTW, only one NIC in the machine. Any feedback will be very appreciated, Tina -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org