Re: [zones-discuss] dhcp zone

2008-01-14 Thread Renaud Manus
A local zone can be a DHCP client/server if you can use IP Instance:

http://opensolaris.org/os/project/crossbow/faq/#ipinst_dhcpclient

-- Renaud

Caroline Carol wrote:
 Hi all,
  
 Is dhcp working in local zone ?
 May be there is a version for this issue.
  
 Thanks a lot for your answer.
  
 carol
  
 
 
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails 
 http://fr.rd.yahoo.com/mail/mail_taglines/trueswitch/*http://www.trueswitch.com/yahoo-fr/
  
 vers Yahoo! Mail
 
 
 
 
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] dhcp/zone

2007-12-19 Thread Peter Memishian

 Contrary to what everyone else says, with a bit of customization dhcpd
 can run zones just fine.  Solaris 10 update 3 and later (I forget
 which Nevada build) have all the required bits in place.

 
   http://mail.opensolaris.org/pipermail/install-discuss/2007-March/004266.html
  
   Yep, it can be made to work, though I don't think it's officially
   supported.  When I last looked at this issue, the changes needed to the
   source to make it work without any special tweaks was straightforward.
  
  If you offer up hints, I make take this on in the future.  I've got a
  couple other things I want to work on before this one, though.

It's been a while, but the main things I recall are:

* The DHCP server used to open /dev/ip rather than using a UDP
  socket to do some control operations, which forced it to require
  more privileges than it really needed.  This was fixed via
  6357132 in Nevada build 36.

* The DHCP server is generally designed to work with physical IP
  interfaces.  Some work would be needed to allow it to work with
  logicals (if that's even desirable); 5030697 touches on this.

* The DHCP server doesn't support different IP subnets on the
  same IP interface, which constrains the way things could work
  with zones.  This is covered by 5010613.

* The DHCP server populates the ARP table so that it can unicast
  DHCP responses to the client before the client has agreed to
  use the IP address (this is basically due to the same DHCP RFC
  braindamage I described in PSARC/2007/571).  If it can't install
  an ARP entry, it will broadcast the response instead, which will
  work fine.  So it may be sufficient to simply lower the log
  level of those failures.
-- 
meem
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] dhcp/zone

2007-12-12 Thread James Carlson
Robert Milkowski writes:
 Hello Zoram,
 
 Tuesday, December 11, 2007, 9:41:13 AM, you wrote:
 
 ZT IIRC, you need to have ip-type=exclusive to have DHCP work in a 
 ZT non-global zone. Currently ce doesn't support exclusive IP stack, but I
 ZT remember seeing an RFE somewhere that'd allow exclusive/ce combo.
 
 ZT Perhaps this has already been fixed in Open Solaris, I'm not sure.
 
 IIRC someone from Sun wrote some time ago it won't rather happen
 (GLDv3 version of ce) - unfortunately.

I think you're confusing two things.

One is the conversion of 'ce' to GLDv3.  That might or might not
happen -- I know of at least one person who is quite interested in it,
but I don't know whether the work will get done.  Given the number of
... special ... features in that driver, it'd be an interesting job to
say the least.

The other is the support of the ioctls necessary for assignment of
links to a zone, which is needed to support the exclusive IP stack
feature, and the tweaks to zoneadmd to make it work.  This *HAS* been
done and is on a path for release.

In S10 currently, the only framework that supports the feature is
GLDv3, which is why the exclusive IP stack is tied to GLDv3 support.
But non-GLDv3 drivers can also be modified (with some difficulty) to
support the feature, and that's what's being done for 'ce.'

-- 
James Carlson, Solaris Networking  [EMAIL PROTECTED]
Sun Microsystems / 35 Network Drive71.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


Re: [zones-discuss] dhcp/zone

2007-12-12 Thread Ihsan Zaghmouth


James Carlson wrote:


I think you're confusing two things.

One is the conversion of 'ce' to GLDv3.  That might or might not
happen -- I know of at least one person who is quite interested in it,
but I don't know whether the work will get done.  Given the number of
... special ... features in that driver, it'd be an interesting job to
say the least.
 

There is an interesting support issue for Trunking and/or Aggregation 
that needs to be addressed

to support of ce and ge by GLDV3.

Working with Zones and Containers is primarily for a consolidation 
effort that will demand network bandwidth.
We have been using Trunking and IPMP to layout the best of the network 
infrastructure for perfomance and availability.


Solaris Trunking 1.3 does support ce and ge, unlike Solaris 10 
Aggregation (dladm).
Since dladm is the focus for future network administration among all the 
other features  builtin for supporting IP-instances,
where Aggregation is a sub function of, isn't it prudent to be strategic 
reason to push for the support of ce and ge by GLDV3 ?



The other is the support of the ioctls necessary for assignment of
links to a zone, which is needed to support the exclusive IP stack
feature, and the tweaks to zoneadmd to make it work.  This *HAS* been
done and is on a path for release.

In S10 currently, the only framework that supports the feature is
GLDv3, which is why the exclusive IP stack is tied to GLDv3 support.
But non-GLDv3 drivers can also be modified (with some difficulty) to
support the feature, and that's what's being done for 'ce.'

 



--

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

Re: [zones-discuss] dhcp/zone

2007-12-12 Thread James Carlson
Ihsan Zaghmouth writes:
 James Carlson wrote:
 There is an interesting support issue for Trunking and/or Aggregation 
 that needs to be addressed
 to support of ce and ge by GLDV3.

Indeed.

 Solaris Trunking 1.3 does support ce and ge, unlike Solaris 10 
 Aggregation (dladm).
 Since dladm is the focus for future network administration among all the 
 other features  builtin for supporting IP-instances,
 where Aggregation is a sub function of, isn't it prudent to be strategic 
 reason to push for the support of ce and ge by GLDV3 ?

That'd be one good way to do it.  The other way is via Clearview's UV
shim layer, which will eventually make legacy DLPI devices appear to
be GLDv3 drivers.

I'd rather see these old drivers ported over to the new framework, but
that's a cost/benefit analysis that others (partly the maintainers of
the driver) need to make.  (And, unfortunately, many of these old
drivers are closed-source, so it's harder to find people to help out.)

-- 
James Carlson, Solaris Networking  [EMAIL PROTECTED]
Sun Microsystems / 35 Network Drive71.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


[zones-discuss] dhcp/zone

2007-12-11 Thread elkhaoul elkhaoul
Hi,
   
  I want to install dhcp on local zone...
  OS :
  # uname -a
  SunOS esp43  5.10 Generic_127111-02 sun4u sparc SUNW,Sun-Fire-V490

  # zoneadm list -cv
   ID NAME STATUS PATH   BRANDIP
   0 global   running/ native   
shared
   2 esp43  running/export/zones/esp43  native   shared

  Is dhcp can run on this local zone ? 
   
  As I have NIC=ce, I think, I can't set up exclusive-Ip zone
   
  Thanks
   
  ae


-
 Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.Téléchargez la version 
beta.___
zones-discuss mailing list
zones-discuss@opensolaris.org

Re: [zones-discuss] dhcp/zone

2007-12-11 Thread Zoram Thanga
IIRC, you need to have ip-type=exclusive to have DHCP work in a 
non-global zone. Currently ce doesn't support exclusive IP stack, but I 
remember seeing an RFE somewhere that'd allow exclusive/ce combo.

Perhaps this has already been fixed in Open Solaris, I'm not sure.

Thanks,
Zoram


elkhaoul elkhaoul wrote:
 Hi,

   I want to install dhcp on local zone...
   OS :
   # uname -a
   SunOS esp43  5.10 Generic_127111-02 sun4u sparc SUNW,Sun-Fire-V490
 
   # zoneadm list -cv
ID NAME STATUS PATH   BRANDIP  
   
0 global   running/ native 
   shared
2 esp43  running/export/zones/esp43  native   shared
 
   Is dhcp can run on this local zone ? 

   As I have NIC=ce, I think, I can't set up exclusive-Ip zone

   Thanks

   ae
 
   
 -
  Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
 exceptionnels pour appeler la France et l'international.Téléchargez la 
 version beta.
 
 
 
 
 
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org


-- 
Zoram Thanga::Sun Cluster Development::http://blogs.sun.com/zoram
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] dhcp/zone

2007-12-11 Thread Renaud Manus
DHCP client or server in Zones only works with IP Exclusives.

-- Renaud

 Hi,
  
 I want to install dhcp on local zone...
 OS :
 # uname -a
 SunOS esp43  5.10 Generic_127111-02 sun4u sparc SUNW,Sun-Fire-V490
 # zoneadm list -cv
  ID NAME STATUS PATH   BRAND
 IP   
0 global   running/ 
 native   shared
2 esp43  running/export/zones/esp43  native   shared
 Is dhcp can run on this local zone ?
  
 As I have NIC=ce, I think, I can't set up exclusive-Ip zone
  
 Thanks
  
 ae
 
 
 Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les 
 tarifs exceptionnels pour appeler la France et l'international. 
 Téléchargez 
 http://us.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.beta.messenger.yahoo.com
  
 la version beta.
 
 
 
 
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org

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


Re: [zones-discuss] dhcp/zone

2007-12-11 Thread Robert Milkowski
Hello Zoram,

Tuesday, December 11, 2007, 9:41:13 AM, you wrote:

ZT IIRC, you need to have ip-type=exclusive to have DHCP work in a 
ZT non-global zone. Currently ce doesn't support exclusive IP stack, but I
ZT remember seeing an RFE somewhere that'd allow exclusive/ce combo.

ZT Perhaps this has already been fixed in Open Solaris, I'm not sure.

IIRC someone from Sun wrote some time ago it won't rather happen
(GLDv3 version of ce) - unfortunately.


-- 
Best regards,
 Robert Milkowski   mailto:[EMAIL PROTECTED]
   http://milek.blogspot.com

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


Re: [zones-discuss] dhcp/zone

2007-12-11 Thread Mike Gerdts
On Dec 11, 2007 3:10 AM, elkhaoul elkhaoul [EMAIL PROTECTED] wrote:
 Hi,

 I want to install dhcp on local zone...
 OS :
 # uname -a
 SunOS esp43  5.10 Generic_127111-02 sun4u sparc SUNW,Sun-Fire-V490

 # zoneadm list -cv
  ID NAME STATUS PATH   BRANDIP
0 global   running/
 native   shared
2 esp43  running/export/zones/esp43  native   shared

 Is dhcp can run on this local zone ?

Contrary to what everyone else says, with a bit of customization dhcpd
can run zones just fine.  Solaris 10 update 3 and later (I forget
which Nevada build) have all the required bits in place.

http://mail.opensolaris.org/pipermail/install-discuss/2007-March/004266.html

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] dhcp/zone

2007-12-11 Thread Peter Memishian

  Contrary to what everyone else says, with a bit of customization dhcpd
  can run zones just fine.  Solaris 10 update 3 and later (I forget
  which Nevada build) have all the required bits in place.
  
  http://mail.opensolaris.org/pipermail/install-discuss/2007-March/004266.html

Yep, it can be made to work, though I don't think it's officially
supported.  When I last looked at this issue, the changes needed to the
source to make it work without any special tweaks was straightforward.

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


Re: [zones-discuss] dhcp/zone

2007-12-11 Thread Mike Gerdts
On Dec 11, 2007 9:37 PM, Peter Memishian [EMAIL PROTECTED] wrote:

   Contrary to what everyone else says, with a bit of customization dhcpd
   can run zones just fine.  Solaris 10 update 3 and later (I forget
   which Nevada build) have all the required bits in place.
  
   
 http://mail.opensolaris.org/pipermail/install-discuss/2007-March/004266.html

 Yep, it can be made to work, though I don't think it's officially
 supported.  When I last looked at this issue, the changes needed to the
 source to make it work without any special tweaks was straightforward.

If you offer up hints, I make take this on in the future.  I've got a
couple other things I want to work on before this one, though.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
zones-discuss mailing list
zones-discuss@opensolaris.org