Solved

How to make an ipv6 based DHCP server?

Posted on 2009-05-18
20
554 Views
Last Modified: 2012-06-21
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
0
Comment
Question by:ipv6ee
20 Comments
 
LVL 13

Accepted Solution

by:
WizRd-Linux earned 52 total points
Comment Utility
0
 

Author Comment

by:ipv6ee
Comment Utility
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
 
LVL 13

Assisted Solution

by:qwerty021600
qwerty021600 earned 51 total points
Comment Utility
0
 

Author Comment

by:ipv6ee
Comment Utility
@qwerty

i was looking for linux based DHCPV6 both above  urls doesnt give this ;-)
0
 
LVL 61

Assisted Solution

by:gheist
gheist earned 51 total points
Comment Utility
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
 

Author Comment

by:ipv6ee
Comment Utility
who SAID to you that there is not DHCP for ipv6?????????????????
0
 

Author Comment

by:ipv6ee
Comment Utility
Pls Experts help me
0
 
LVL 3

Expert Comment

by:tkuther
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 3

Expert Comment

by:tkuther
Comment Utility
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
 

Author Comment

by:ipv6ee
Comment Utility
but man..these are client side configs

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

/etc/sysconfig/network
NETWORKING_IPV6=yes






0
 
LVL 3

Expert Comment

by:tkuther
Comment Utility
Yes. Wasn't that the RHCE question?
0
 
LVL 3

Assisted Solution

by:tkuther
tkuther earned 51 total points
Comment Utility
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
 

Author Comment

by:ipv6ee
Comment Utility
ty i"ll try this out surely nd update u
0
 

Author Comment

by:ipv6ee
Comment Utility
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
 
LVL 3

Expert Comment

by:tkuther
Comment Utility
Not sure if it matters, but do you have a real IPv6 address?
0
 

Author Comment

by:ipv6ee
Comment Utility
i meant client did get the ipv6 address
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now