Solved

How to make an ipv6 based DHCP server?

Posted on 2009-05-18
20
556 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Backup Raspberri Pi over the netowrk to a Windows Share 5 43
Securing Azure Oracle instance of Linux VM 4 59
awk sed variable in file 3 40
maybe no no httpd.conf 6 48
In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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.

831 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