Solved

How to make an ipv6 based DHCP server?

Posted on 2009-05-18
20
555 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
ID: 24418250
0
 

Author Comment

by:ipv6ee
ID: 24419299
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
ID: 24420630
0
 

Author Comment

by:ipv6ee
ID: 24421413
@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
ID: 24429315
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
ID: 24435966
who SAID to you that there is not DHCP for ipv6?????????????????
0
 

Author Comment

by:ipv6ee
ID: 24462231
Pls Experts help me
0
 
LVL 3

Expert Comment

by:tkuther
ID: 24462442
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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 3

Expert Comment

by:tkuther
ID: 24462465
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
ID: 24466329
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
ID: 24467135
Yes. Wasn't that the RHCE question?
0
 
LVL 3

Assisted Solution

by:tkuther
tkuther earned 51 total points
ID: 24467225
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
ID: 24468412
ty i"ll try this out surely nd update u
0
 

Author Comment

by:ipv6ee
ID: 24473575
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
ID: 24477287
Not sure if it matters, but do you have a real IPv6 address?
0
 

Author Comment

by:ipv6ee
ID: 24496644
i meant client did get the ipv6 address
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

863 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

23 Experts available now in Live!

Get 1:1 Help Now