Greetings all,

I have been trying to set up a X2200 with a global zone on an internal LAN 
with bge0, and two zones for web servers each having a private IP address 
on the nge interfaces.

While I was able to bring up both zones and ifconfig the interfaces, after 
that nothing worked. Couldn't ping in or out or do anything with them. No 
arp information was being gathered. The same interfaces configured 
directly into the global zone with the same IP numbers worked fine.

I can't see what I've done wrong, can anyone see what the problem might 
be? I need this to work...

Regards,

Charles Meo
Infrastructure Team Leader
LTX Pty Ltd 
Phone: 03 8699 7900 
Mobile: 0409 258 471 
Email: charles....@ltx.com.au
Website: www.ltx.com.au



Unencrypted electronic mail is not secure and may be intercepted, 
modified, or otherwise interfered with during delivery. If you have any 
doubts as to the authenticity of the sender or the contents of this email, 
please contact us immediately by telephone to confirm. This electronic 
transmission is intended only for those to whom it is addressed. It may 
contain information that is confidential, privileged or exempt from 
disclosure by law. Any claim to privilege is not waived or lost by reason 
of mistaken transmission of this information. If you are not the intended 
recipient, you must not distribute or copy this transmission and should 
immediately notify the sender. Your costs for doing this will be 
reimbursed by the sender. This email is also subject to copyright. No part 
of it should be reproduced, adapted or communicated without the written 
consent of the copyright owner. Any personal information in this email 
must be handled in accordance with the Privacy Act 1988 (Cth). 

zones-discuss-requ...@opensolaris.org wrote on 10/02/2009 06:53:37 AM:

> [image removed] 
> 
> zones-discuss Digest, Vol 46, Issue 5
> 
> zones-discuss-request 
> 
> to:
> 
> zones-discuss
> 
> 10/02/2009 06:54 AM
> 
> Please respond to zones-discuss
> 
> Send zones-discuss mailing list submissions to
>    zones-discuss@opensolaris.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>    http://mail.opensolaris.org/mailman/listinfo/zones-discuss
> or, via email, send a message with subject or body 'help' to
>    zones-discuss-requ...@opensolaris.org
> 
> You can reach the person managing the list at
>    zones-discuss-ow...@opensolaris.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of zones-discuss digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Install zones, configure as DHCP client (Arun Gupta)
>    2. Re: Install zones, configure as DHCP client (James Carlson)
>    3. Re: Install zones, configure as DHCP client (Bill Walker)
>    4. Re: Install zones, configure as DHCP client (Arun Gupta)
>    5. Re: Install zones, configure as DHCP client (Arun Gupta)
>    6. Re: Install zones, configure as DHCP client (Arun Gupta)
>    7. Re: Install zones, configure as DHCP client (James Carlson)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 09 Feb 2009 05:57:24 -0800
> From: Arun Gupta <arun.gu...@sun.com>
> Subject: Re: [zones-discuss] Install zones, configure as DHCP client
> To: James Carlson <james.d.carl...@sun.com>
> Cc: Bill Walker <bill.wal...@sun.com>, zones-discuss@opensolaris.org
> Message-ID: <49903644.7000...@sun.com>
> Content-Type: text/plain; format=flowed; charset=ISO-8859-1
> 
> Hi James,
> 
> Can you explain what is "exclusive stack instance" mean in this context 
?
> 
> Will creating zones in a Virtual Box image qualify as that ?
> 
> -Arun
> 
> James Carlson wrote:
> > Bill Walker writes:
> >> If you are really needing DHCP for some reason, I'll defer to others 
> >> with more experience in those realms.
> > 
> > The only supported way to do this today is to use exclusive stack
> > instance zones ("set ip-type = exclusive").  It would be nice to have
> > DHCP supported as an option for interface configuration via zoneadmd,
> > and the DHCP client has the features necessary to make this work, but
> > that feature hasn't been added to Zones.
> > 
> > RFE 5005887 also covered this case, but it was closed out when the
> > exclusive stack instance feature was integrated, and I don't think a
> > new RFE was ever opened.
> > 
> 
> -- 
> Application Platform, Sun Microsystems, Inc.
> Blog: http://blogs.sun.com/arungupta
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 9 Feb 2009 09:08:07 -0500
> From: James Carlson <james.d.carl...@sun.com>
> Subject: Re: [zones-discuss] Install zones, configure as DHCP client
> To: Arun Gupta <arun.gu...@sun.com>
> Cc: Bill Walker <bill.wal...@sun.com>, zones-discuss@opensolaris.org
> Message-ID: <18832.14535.881075.382...@gargle.gargle.howl>
> Content-Type: text/plain; charset=us-ascii
> 
> Arun Gupta writes:
> > Can you explain what is "exclusive stack instance" mean in this 
context ?
> 
> See the "ip-type" parameter in zonecfg(1M).
> 
> Zones can be created using one of two different networking models.  In
> the default "shared" model, the zones are just given IP addresses on
> links that are controlled by the global zone.  The non-global zone has
> no control over its interfaces, and there's one instance of the IP
> stack shared between the non-global zone and the global zone.  The
> interfaces are configured by zoneadmd using parameters provided by
> zonecfg.
> 
> In the "exclusive" model, the global zone gives the non-global zone
> access to individual links, which can be VLANs or separate NICs.  The
> non-global zone then independently plumbs its own IP stack on top of
> those links.  The global zone has no control over the addresses that
> the non-global zone uses, and the non-global zone sets these.
> 
> With an "exclusive" stack instance, the non-global zone is able to
> control most of the IP configuration aspects of the interface,
> including using DHCP to configure the address.  (It's unable to supply
> its own kernel modules, though, because there's still only one kernel
> image on the system.)
> 
> > Will creating zones in a Virtual Box image qualify as that ?
> 
> No.
> 
> -- 
> James Carlson, Solaris Networking              <james.d.carl...@sun.com>
> 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
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Mon, 09 Feb 2009 09:24:00 -0500
> From: Bill Walker <bill.wal...@sun.com>
> Subject: Re: [zones-discuss] Install zones, configure as DHCP client
> To: Arun Gupta <arun.gu...@sun.com>
> Cc: zones-discuss@opensolaris.org
> Message-ID: <49903c80.90...@sun.com>
> Content-Type: text/plain; format=flowed; charset=ISO-8859-1
> 
> Something like this should do the trick:
> 
> host# zonecfg -z my-zone
> zonecfg:my-zone> remove net physical=e1000g0
> zonecfg:my-zone> add net
> zonecfg:my-zone:net> set address=192.168.0.99/24
> zonecfg:my-zone:net> set physical=e1000g0
> zonecfg:my-zone:net> end
> zonecfg:my-zone> commit
> zonecfg:my-zone> exit
> host#
> 
> 
> Arun Gupta wrote:
> > Thanks!
> > 
> > I prefer DHCP since I don't care about the IP address that is assigned 

> > to each zone. But willing to live with static IP as well.
> > 
> > Any guidelines on how to set the IP for each zone ?
> > 
> > -Arun
> > 
> > Bill Walker wrote:
> >>
> >> So my question is this, why DHCP?  If you are trying to assign an IP 
> >> at boot time of a zone, you could zonecfg the IP before you boot the 
> >> zone.  I take it that you have a couple zones that might change IP 
> >> occasionally (or frequently).  If the zone changes IP as part of a 
> >> zone reboot, then zonecfg is the easy solution.  Zone down, zonecfg 
> >> remove net, zonecfg add net (set address and physical), zone boot.
> >>
> >> If you are really needing DHCP for some reason, I'll defer to others 
> >> with more experience in those realms.
> >>
> >> bill.
> >>
> >>
> >>
> >> Arun Gupta wrote:
> >>> Hi Bill,
> >>>
> >>> That might be it and I'm new to all this :)
> >>>
> >>> End goal: Configure 2 non-global zones in a Open Solaris Virtual Box 

> >>> image and assign them addresses using DHCP server running in Global 
> >>> zone.
> >>>
> >>> What exact command would serve that purpose ?
> >>>
> >>> -Arun
> >>>
> >>> Bill Walker wrote:
> >>>> Maybe I am missing something here, but wouldn't it be easier to do 
> >>>> that kind of thing with zonecfg?  Unless you are changing some 
other 
> >>>> settings other than the IP...  Just trying to understand the end 
> >>>> result you are looking for.
> >>>>
> >>>> bill.
> >>>>
> >>>>
> >>>> Arun Gupta wrote:
> >>>>> I'm looking for simple instructions to install zones, configure 
them
> >>>>> as DHCP clients to the DHCP server in global zone (all in an
> >>>>> OpenSolaris VM using Virtual Bx). The documentation at
> >>>>> http://docs.sun.com/app/docs/doc/817-1592/ seems to quite 
involving
> >>>>> and keeps referring to multiple pointers instead of providing
> >>>>> consolidated docs.
> >>>>>
> >>>>> Are these instructions available any where ?
> >>>
> >>
> > 
> 
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Mon, 09 Feb 2009 10:36:02 -0800
> From: Arun Gupta <arun.gu...@sun.com>
> Subject: Re: [zones-discuss] Install zones, configure as DHCP client
> To: Bill Walker <bill.wal...@sun.com>
> Cc: zones-discuss@opensolaris.org
> Message-ID: <49907792.7040...@sun.com>
> Content-Type: text/plain; format=flowed; charset=ISO-8859-1
> 
> Ok, this is helpful and I'm able to make progress.
> 
> I've installed the zone, configured the properties mentioned below and 
> now booting it. What "Name service" should I be using ?
> 
> I come from Windows/Mac world where all these are defaulted and 
> typically not required to be configured explicitly :)
> 
> -Arun
> 
> Bill Walker wrote:
> > Something like this should do the trick:
> > 
> > host# zonecfg -z my-zone
> > zonecfg:my-zone> remove net physical=e1000g0
> > zonecfg:my-zone> add net
> > zonecfg:my-zone:net> set address=192.168.0.99/24
> > zonecfg:my-zone:net> set physical=e1000g0
> > zonecfg:my-zone:net> end
> > zonecfg:my-zone> commit
> > zonecfg:my-zone> exit
> > host#
> > 
> > 
> > Arun Gupta wrote:
> >> Thanks!
> >>
> >> I prefer DHCP since I don't care about the IP address that is 
assigned 
> >> to each zone. But willing to live with static IP as well.
> >>
> >> Any guidelines on how to set the IP for each zone ?
> >>
> >> -Arun
> >>
> >> Bill Walker wrote:
> >>>
> >>> So my question is this, why DHCP?  If you are trying to assign an IP 

> >>> at boot time of a zone, you could zonecfg the IP before you boot the 

> >>> zone.  I take it that you have a couple zones that might change IP 
> >>> occasionally (or frequently).  If the zone changes IP as part of a 
> >>> zone reboot, then zonecfg is the easy solution.  Zone down, zonecfg 
> >>> remove net, zonecfg add net (set address and physical), zone boot.
> >>>
> >>> If you are really needing DHCP for some reason, I'll defer to others 

> >>> with more experience in those realms.
> >>>
> >>> bill.
> >>>
> >>>
> >>>
> >>> Arun Gupta wrote:
> >>>> Hi Bill,
> >>>>
> >>>> That might be it and I'm new to all this :)
> >>>>
> >>>> End goal: Configure 2 non-global zones in a Open Solaris Virtual 
Box 
> >>>> image and assign them addresses using DHCP server running in Global 

> >>>> zone.
> >>>>
> >>>> What exact command would serve that purpose ?
> >>>>
> >>>> -Arun
> >>>>
> >>>> Bill Walker wrote:
> >>>>> Maybe I am missing something here, but wouldn't it be easier to do 

> >>>>> that kind of thing with zonecfg?  Unless you are changing some 
> >>>>> other settings other than the IP...  Just trying to understand the 

> >>>>> end result you are looking for.
> >>>>>
> >>>>> bill.
> >>>>>
> >>>>>
> >>>>> Arun Gupta wrote:
> >>>>>> I'm looking for simple instructions to install zones, configure 
them
> >>>>>> as DHCP clients to the DHCP server in global zone (all in an
> >>>>>> OpenSolaris VM using Virtual Bx). The documentation at
> >>>>>> http://docs.sun.com/app/docs/doc/817-1592/ seems to quite 
involving
> >>>>>> and keeps referring to multiple pointers instead of providing
> >>>>>> consolidated docs.
> >>>>>>
> >>>>>> Are these instructions available any where ?
> >>>>
> >>>
> >>
> > 
> 
> -- 
> Application Platform, Sun Microsystems, Inc.
> Blog: http://blogs.sun.com/arungupta
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Mon, 09 Feb 2009 10:38:29 -0800
> From: Arun Gupta <arun.gu...@sun.com>
> Subject: Re: [zones-discuss] Install zones, configure as DHCP client
> To: James Carlson <james.d.carl...@sun.com>
> Cc: Bill Walker <bill.wal...@sun.com>, zones-discuss@opensolaris.org
> Message-ID: <49907825.6020...@sun.com>
> Content-Type: text/plain; format=flowed; charset=ISO-8859-1
> 
> Thanks James!
> 
> > With an "exclusive" stack instance, the non-global zone is able to
> > control most of the IP configuration aspects of the interface,
> > including using DHCP to configure the address.  (It's unable to supply
> > its own kernel modules, though, because there's still only one kernel
> > image on the system.)
> This is helpful.
> 
> >> Will creating zones in a Virtual Box image qualify as that ?
> > 
> > No.
> Ok, so that rules out "exclusive stack instance" in my case then.
> 
> It probably does not matter since I just want to create couple of zones 
> and install GlassFish in both the zones to demonstrate clustering 
> capabilities of GF. Do you think it matters ?
> 
> -Arun
> 
> -- 
> Application Platform, Sun Microsystems, Inc.
> Blog: http://blogs.sun.com/arungupta
> 
> 
> ------------------------------
> 
> Message: 6
> Date: Mon, 09 Feb 2009 10:40:34 -0800
> From: Arun Gupta <arun.gu...@sun.com>
> Subject: Re: [zones-discuss] Install zones, configure as DHCP client
> To: Glenn Faden <glenn.fa...@sun.com>
> Cc: Bill Walker <bill.wal...@sun.com>, zones-discuss@opensolaris.org
> Message-ID: <499078a2.4080...@sun.com>
> Content-Type: text/plain; format=flowed; charset=ISO-8859-1
> 
> Thanks Glenn, this helps in explanation!
> 
> For now, I'd like something that is simple and easy to configure. It 
> seems like static IP address is that route for now.
> 
> -Arun
> 
> Glenn Faden wrote:
> > Arun,
> > 
> > When running OpenSolaris as a VirtualBox guest, the DHCP service is 
> > provided by the VirtualBox process. I don't know if VirtualBox will 
> > respond to requests from multiple guest NICs if your host only has one 

> > active NIC. If it does, then you should be able to follow this 
procedure 
> > described in Steffen Weiberle's blog:
> > 
> > http://blogs.sun.com/stw/entry/crossbow_is_delivered_traveling_vnics
> > 
> > Anyway, this seems to be more of a question about VirtualBox 
networking, 
> > than zones.
> > 
> > --Glenn
> > 
> > Arun Gupta wrote:
> >> Hi Bill,
> >>
> >> That might be it and I'm new to all this :)
> >>
> >> End goal: Configure 2 non-global zones in a Open Solaris Virtual Box 
> >> image and assign them addresses using DHCP server running in Global 
zone.
> >>
> >> What exact command would serve that purpose ?
> >>
> >> -Arun
> >>
> >> Bill Walker wrote:
> >> 
> >>> Maybe I am missing something here, but wouldn't it be easier to do 
> >>> that kind of thing with zonecfg?  Unless you are changing some other 

> >>> settings other than the IP...  Just trying to understand the end 
> >>> result you are looking for.
> >>>
> >>> bill.
> >>>
> >>>
> >>> Arun Gupta wrote:
> >>> 
> >>>> I'm looking for simple instructions to install zones, configure 
them
> >>>> as DHCP clients to the DHCP server in global zone (all in an
> >>>> OpenSolaris VM using Virtual Bx). The documentation at
> >>>> http://docs.sun.com/app/docs/doc/817-1592/ seems to quite involving
> >>>> and keeps referring to multiple pointers instead of providing
> >>>> consolidated docs.
> >>>>
> >>>> Are these instructions available any where ?
> >>>> 
> >>
> >> 
> > 
> 
> -- 
> Application Platform, Sun Microsystems, Inc.
> Blog: http://blogs.sun.com/arungupta
> 
> 
> ------------------------------
> 
> Message: 7
> Date: Mon, 9 Feb 2009 14:45:00 -0500
> From: James Carlson <james.d.carl...@sun.com>
> Subject: Re: [zones-discuss] Install zones, configure as DHCP client
> To: Arun Gupta <arun.gu...@sun.com>
> Cc: Bill Walker <bill.wal...@sun.com>, zones-discuss@opensolaris.org
> Message-ID: <18832.34748.172769.254...@gargle.gargle.howl>
> Content-Type: text/plain; charset=us-ascii
> 
> Arun Gupta writes:
> > Thanks James!
> > 
> > > With an "exclusive" stack instance, the non-global zone is able to
> > > control most of the IP configuration aspects of the interface,
> > > including using DHCP to configure the address.  (It's unable to 
supply
> > > its own kernel modules, though, because there's still only one 
kernel
> > > image on the system.)
> > This is helpful.
> > 
> > >> Will creating zones in a Virtual Box image qualify as that ?
> > > 
> > > No.
> > Ok, so that rules out "exclusive stack instance" in my case then.
> 
> No ... it just means that the two things are orthogonal.
> 
> Whether you use Virtual Box or not says nothing about whether your
> zones are exclusive stack instance or not.
> 
> > It probably does not matter since I just want to create couple of 
zones 
> > and install GlassFish in both the zones to demonstrate clustering 
> > capabilities of GF. Do you think it matters ?
> 
> It matters if you want the software inside the non-global zone to have
> control over the IP configuration of its network interfaces.  If you
> do want this, then you need exclusive stack instances.  If you don't,
> and you're ok with configuring the IP parts of networking for those
> non-global zones using zonecfg, then a shared stack instance may work.
> 
> The two are different operational models, and which you choose depends
> on what you need.
> 
> -- 
> James Carlson, Solaris Networking              <james.d.carl...@sun.com>
> 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
> 
> End of zones-discuss Digest, Vol 46, Issue 5
> ********************************************

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

Reply via email to