richard at migneron.com
Thu Apr 19 19:49:33 UTC 2007
Well, it depends ! If you want to run ISC DHCP instead of the =20
standard Sun DHCP, yes you have to edit the XML file.
In that case, you need to adjust :
- The full path where the dhcpd is located (I suppose it will be /=20
usr/local/sbin/dhcpd instead of the .../in.dhcpd)
- The full path of the conf file (file://localhost/usr/local/etc/=20
dhcpd.conf instead of the file://localhost/etc/inet/... [I think])
Probably also the comment around line 107 somewhere, where it says =20
SUN DHCP for ISC DHCP !!!
Then, svccfg import /var/svc/manifest/network/dhcp-server.xml <-- =20
that would also be the original, probably best to cp it to .orig =20=
or something before modifying it. (It might also be called =20
server.xml under the dhcp directory)
Then, svcadm enable svc:/network/dhcp-server will start it ! (or =20
svc:/network/dhcp/server if the file is under the dhcp directory)
Keep me posted, tomorrow at work I can verify if needed ! I'm doing =20=
all this from memory ...
@ : richard at migneron.com
T=E9l. : +33.(0)184.108.40.206.92 - Fbox: +33.(0)220.127.116.11.92
Yahoo Messenger ID: rmigneron
PGP Fingerprint : EFFE 44E3 894A 7051 F86E E532 4880 9534 E1FB DB33
"Noir comme le diable, chaud comme l'enfer,
pur comme un ange, doux comme l'amour",
Charles-Maurice de Talleyrand-P=E9rigord (1754-1838)
On 19 avr. 07, at 21:03, Margarita Parker wrote:
> I did not touch the server.xml file. Do I need to do something to it?
> Where is it located?
> I ran the svcs -cx and it the c is not an option.
> svcs -x dhcp-server
> svc:/network/dhcp-server:default (DHCP server)
> State: online since Wed Apr 11 11:14:15 2007
> See: in.dhcpd(1M)
> See: /var/svc/log/network-dhcp-server:default.log
> Impact: None.
> Migneron Richard wrote:
>> Content-Transfer-Encoding: quoted-printable
>> Content-Type: text/plain;
>> Did you modify the dhcp server.xml file ??
>> If so, you need to import the new xml file with "svccfg import /=20
>> svc...", followed by an svcadm enable svc:/netw...
>> Otherwise, what does "svcs -cx" (I think those are the right =20
>> options =3D20
>> to see which errors the service gives when not starting, I'm not =20
>> at =3D20
>> work right now !) tells you ???
>> Hopes it helps !
>> Richard Migneron
>> @ : richard at migneron.com
>> T=3DE9l. : +33.(0)18.104.22.168.92 - Fbox: +33.(0)22.214.171.124.92
>> Yahoo Messenger ID: rmigneron
>> PGP Fingerprint : EFFE 44E3 894A 7051 F86E E532 4880 9534 E1FB DB33
>> "Noir comme le diable, chaud comme l'enfer,
>> pur comme un ange, doux comme l'amour",
>> Charles-Maurice de Talleyrand-P=3DE9rigord (1754-1838)
>> On 19 avr. 07, at 19:05, Margarita Parker wrote:
>>> I have setup a dhcp server on a solaris 10 box.
>>> I looked at the config, and it seems right, but for some reason =20
>>> it is
>>> not working.
>>> When I issue a svcs -l of the dhcp-server, it all looks fine.
>>> Can someone point me in the right direction?
More information about the dhcp-users