Solved

How to make an ipv6 based DHCP server?

Posted on 2009-05-18
20
561 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
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.

 

Author Comment

by:ipv6ee
ID: 24421413
@qwerty

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

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
 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Fine Tune your automatic Updates for Ubuntu / Debian
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.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

749 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