is there any way to let dhcpv6 and dhcpv4 coexist?

Shane Kerr Shane_Kerr at isc.org
Wed Oct 17 07:08:50 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

xiaohong wrote:
> Hi all:
> 
>   I want dhcpv6 server and dhcpv4 server to run in the same machine of
> the same interface, is there any way that could make them coexist?
> 
>   I tried on my machine (geentoo ) as :
> 
> Gentoo # dhcpd -4 -cf /etc/dhcpd.conf eth1
> 
>     ok
> 
> Gentoo #dhcpd -6 -cf /etc/dhcpv6.conf -lf /tmp/leases eth1 -d
> 
>         There's already a DHCP server running.
> 
>          Exiting

They are both looking at the same file containing their process ID. You can
change this on the command line for one of the daemons with the "-pf" argument:

# dhcpd -6 -cf /etc/dhcpv6.conf -lf /tmp/leases eth1 -d -pf /var/run/dhcpv6.pid

- --
Shane
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHFbT+MsfZxBO4kbQRAj1+AKCSp+cJWoaGVZr0kOl6kDiW2oLtMACgqcIv
6jRepxi9JBUVXPsPdcdZqvU=
=MhBP
-----END PGP SIGNATURE-----


More information about the dhcp-users mailing list