Visit Our UNIX and Linux User Community

DHCP Server in Non-Global Zone

Thread Tools Search this Thread
Operating Systems Solaris DHCP Server in Non-Global Zone
# 1  
Old 02-20-2009
DHCP Server in Non-Global Zone

I am having trouble starting the DCHP server in a non-global zone that has exclusive access to an interface. Every time I attempt to start it goes in to maintenance mode and the error in the log shows this:
svc.startd could not set context for method: setppriv: Not owner
I have seen on a thread on Sun's forums that addressed this but it was dealing with Solaris 08/07. I'm using 10/08.

Any ideas on how to get the server started?
# 2  
Old 02-20-2009
can you start the DHCP server in the global zone? some services won't work inside of zones afaik...
# 3  
Old 02-20-2009
I haven't tried but I sure it will in Global. According to this Zones and Containers FAQ at it should be able to work. There a was patch that was supposed to solve the error I'm getting but I'm still having issues and I'm all patched up.

Q: Can a zone be a DHCP server?
A: A global zone can be a DHCP server.

Starting with Solaris 10 11/06, a non-global zone can be a DHCP server. This ability became more flexible with Solaris 10 8/07, which added a feature called IP Instances. [January 2008]
# 4  
Old 02-20-2009
you should maybe post your zoneconfig to have a better clue on what you have configured...
# 5  
Old 02-23-2009
Here is the xml for the zone. Let me know if you need more info.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE zone PUBLIC "-//Sun Microsystems Inc//DTD Zones//EN" "file:///usr/shar
DO NOT EDIT THIS FILE. Use zonecfg(1M) instead.
<zone name="zdhcp" zonepath="/zones/zdhcp" autoboot="false" ip-type="exclusive"
<attr name="comment" type="string" value="Zone zdhcp"/>
<network address="" physical="e1000g1"/>
<device match="/dev/e1000g"/>
# 6  
Old 02-23-2009
looks good for me... i've searched for the "exclusive" option for ip-type... is the system patched with latest patchset?
# 7  
Old 02-23-2009
It has had the Recommend Patch Cluster applied about 1 month ago. Not sure that any patched have been applied since.

Does there need to be any changes to the DHCP server itself? I have not changed anything in that respect.

Previous Thread | Next Thread
Test Your Knowledge in Computers #646
Difficulty: Easy
Apple Computer acquired NeXT on February 4, 1997, for $929 million USD.
True or False?

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 zone has no external network access (except to Global Zone)

Hi, hoping someone can help, its been a while since I used Solaris. After creating a NGZ (non global zone), the NGZ can access the GZ (Global Zone) and the GZ can access the NGZ (using ssh, zlogin) However, the NGZ cannot access any other netwqork devices, it can't even see the default router ... (2 Replies)
Discussion started by: GazinLincoln
2 Replies

2. Solaris

Date and time change in global and non global zone

Hi, If I change date and time in global zone, then it will affect in non global zones. During this process what files will get affect in non global zones and which mechanism it's using to change. gloabl zone:Solaris 11.3 X86 TIA (1 Reply)
Discussion started by: Sumanthsv
1 Replies

3. Solaris

Global and non-global zone resource sharing - tricky

hi all, Just a simple question but i cant get the answers in the book - In my globalzone , assuming i have 4 cpus (psrinfo -pv = 0-3), if i set dedicated-cpu (ncpus=2) for my local zone Is my globalzone left with 2 cpus or still 4 cpus ? Does localzone "resource reservation.e.g. cpu in... (6 Replies)
Discussion started by: javanoob
6 Replies

4. Solaris

Scripting changes to multiple zone configurations in the same Global Zone

So this is Solaris 11.1. I have a Global zone that has several non-global zones running in it. I want to change the capped-memory.physical resources setting in ALL the zone configs of the running zones. if I were to do this manually here's what I would do: zonecfg -z zone1 select... (2 Replies)
Discussion started by: os2mac
2 Replies

5. Solaris

showing 2 different time zones in global zone and nonglobal zone

can some one help me out as it is showing 2 different time zones in global zone and nonglobal zone .In global zone it is showing in GMT while in nonglobal zone i it showing as PDT. System in running with solaris 10 (3 Replies)
Discussion started by: ravijanjanam12
3 Replies

6. Solaris

how to add a default gateway in a zone of different VLAN of global zone

Hi Greetings... I have an issue in connecting the zone from outside the network and it is because of default gateway. I can ping default gateway from inside the zone and not able to ping from global zone due to different VLAN issue. If i add two different gateways and restart network services,... (2 Replies)
Discussion started by: vvpotugunta
2 Replies

7. Solaris

how to make zone get ip from external DHCP server

hi all, i am working to configure zone into solaris 10 i successuded to configure but there is new issuse i have i have in my network DHCP server and i want to zone to get ip from this DHCP what can i do (6 Replies)
Discussion started by: corvinusbsd
6 Replies

8. Solaris

How to access ENV variables of non global zones in global zone???

Hi Guys, My requirement is I have file called /opt/orahome/.profile in non global zone. PATH=/usr/bin:/usr/ucb:/etc:/usr/sbin:/usr/local/bin:/usr/openwin/bin:. export PATH PS1="\${ORACLE_SID}:`hostname`:\$PWD$ " export PS1 EDITOR=vi export EDITOR ENV=/opt/orahome/.kshrc export ENV... (1 Reply)
Discussion started by: vijaysachin
1 Replies

9. Solaris

[b]How to mount a folder from global zone to non global zone??

Hi All There is one folder in global zone I just want to share the same folder innon global zone. How can i do it? pls send me script for this. (2 Replies)
Discussion started by: vijaysachin
2 Replies

Featured Tech Videos