How to make an ipv6 based DHCP server?

Hi all,

iam studying for RHCE ther is part that except to know how to configure an dhcpv client but i dont have any dhcpv6 server to get ipv6 ip so please help me in making dhcpv6 server or give me exact configs i have tried these urls  but they didnt work.

http://www.linuxtopia.org/online_books/network_administration_guides/Linux+IPv6-HOWTO/hints-daemons-dhcpv6..html
http://tldp.org/HOWTO/html_single/Linux+IPv6-HOWTO/

Thanks
ipv6eeAsked:
Who is Participating?
 
WizRd-LinuxConnect With a Mentor Commented:
0
 
ipv6eeAuthor Commented:
ty W-L

but man pages are already there in system nd they are not an easy thing to read as they r very long i was looking for somthing that an person who has configured it before nd can give me "practical" working examples.
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
ipv6eeAuthor Commented:
@qwerty

i was looking for linux based DHCPV6 both above  urls doesnt give this ;-)
0
 
gheistConnect With a Mentor Commented:
There is no DHCP for IPv6.
Which part of that you do not understand?

Read further for available options:
http://www.tcpipguide.com/free/t_IPv6AutoconfigurationandRenumbering.htm
0
 
ipv6eeAuthor Commented:
who SAID to you that there is not DHCP for ipv6?????????????????
0
 
ipv6eeAuthor Commented:
Pls Experts help me
0
 
tkutherCommented:
You indeed do not need a DHCPd for IPv6, as it features auto configuration.
Your router just has to advertise itself properly on the LAN.


Anyways, there IS a dhcpv6 server and client, and it possible to use that.
Given you have a RedHat based system, following configuration should work:

/etc/sysconfig/network-scripts/ifup-eth0
IPV6INIT=yes
DHCPV6C=yes

/etc/sysconfig/network
NETWORKING_IPV6=yes


0
 
tkutherCommented:
Oh, and beware that there is a bug in RH:
If the IPv4 address is static or not specified at all (means no DHCP), it will not start the IPv6 dhcp6c either. It's both or none.

You'd need to edit /etc/sysconfig/networking-scripts/ifup-eth to fix that
0
 
ipv6eeAuthor Commented:
but man..these are client side configs

/etc/sysconfig/network-scripts/ifup-eth0
IPV6INIT=yes
DHCPV6C=yes

/etc/sysconfig/network
NETWORKING_IPV6=yes






0
 
tkutherCommented:
Yes. Wasn't that the RHCE question?
0
 
tkutherConnect With a Mentor Commented:
If you still want a dhcpv6 server, check this howto:
http://www.internetworkexpert.ca/index.php?/archives/3-Configuring-DHCPv6-on-Linux.html
Works fine here. I did test that in a virtual centos 5.2 machine.

You may need a 4to6 tunnel, I use http://www.sixxs.net/ at home.
0
 
ipv6eeAuthor Commented:
ty i"ll try this out surely nd update u
0
 
ipv6eeAuthor Commented:
i tried it but client couldnt get the ipv6 ip and there was no error at server side when i restarted the dhcp6s service
0
 
tkutherCommented:
Not sure if it matters, but do you have a real IPv6 address?
0
 
ipv6eeAuthor Commented:
i meant client did get the ipv6 address
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.