DHCP client daemon autostart for both v4 and v6

scott_stone at trendmicro.com scott_stone at trendmicro.com
Thu Dec 22 22:03:17 UTC 2011


modern versions of Redhat/centOS that include an ipv6-capable dhcp (ie, RHEL6/CentOS6) already come with init scripts that do this.  Just enable them via chkconfig or systemd (if you're using fedora).

 

====================

Scott Stone <scott_stone at trendmicro.com>

Manager, DCS-RD

Trend Micro, Inc. http://www.trendmicro.com

 

From: dhcp-users-bounces+scott_stone=trendmicro.com at lists.isc.org [mailto:dhcp-users-bounces+scott_stone=trendmicro.com at lists.isc.org] On Behalf Of Héctor Herrera
Sent: Thursday, December 22, 2011 1:26 PM
To: Users of ISC DHCP
Subject: Re: DHCP client daemon autostart for both v4 and v6

 

I think you should make an script for do that on boot. Something like 

(this is on the script)
...
/etc/rc.d/init.d/dhcp4 start 
/etc/rc.d/init.d/dhcp6 start
...

This on your, I dunno, start.sh? Or something like that. And, if you're working with CentOS (or some other Red Hat base distro) you can do ir with chkconfig (chkconfig dhcp4 on || chkconfig dhcp6 on)

That should be the idea.

2011/12/22 Michael Pugh <mdpugh at hotmail.com>

Hello,
If the answer to this question has already been posted, I apologize for asking it again: How do I properly (and automatically at boot) start the DHCP client daemon twice, once for v4 and once for v6?  I have been unable to find an answer to this question anywhere.  Thank you in advance.
Mike Pugh


_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users




-- 
Saludos

Héctor Herrera Anabalón

Alumno ICCI UNAP 2011

Miembro USoLIX Victoria

 


TREND MICRO EMAIL NOTICE
The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20111222/1b461736/attachment.html>


More information about the dhcp-users mailing list