Hello.

In OpenSolaris 2008.11, is it possible to setup a non-global
zone to be a DHCP client, when using shared IP interfaces?

Googling a bit around, I found a workaround at 
http://www.opensolaris.org/os/project/crossbow/faq/#ipinst_dhcpclient

    *    How do I configure the non-global zone to be a DHCP client?

After configuring and installing the zone, copy or create an /etc/sysidcfg 
file. For example,

global-zone# cat /myzones/dhcpzone/root/etc/sysidcfg
system_locale=C
terminal=xterm
network_interface=primary {
        dhcp
        protocol_ipv6=no
}
security_policy=NONE
name_service=NONE
nfs4_domain=dynamic
timezone=US/Eastern
root_password=""
global-zone# zlogin dhcpzone ifconfig -a
lo0: flags=2001000849"<"UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL">" mtu 8232 
index 1
        inet 127.0.0.1 netmask ff000000
bge2: flags=201004843"<"UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS">" mtu 
1500 index 2
        inet 10.1.14.161 netmask ffffffc0 broadcast 10.1.14.191
        ether 0:3:ba:e3:42:8d
global-zone#

Is this still the only possible way, or is there maybe an easier way
now available?

Thanks,
Michael
-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to