LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-15-2011, 05:54 AM   #1
dheivan
LQ Newbie
 
Registered: Jul 2007
Posts: 9

Rep: Reputation: 0
DHCP IPv6 client/server configuration


Hi,
I have installed DHCPv6 server in one linux machine and client in another machine. The two machine is having kernel 2.6.18-164 [RHEL5.4]. Both machines are connected through cross cables.

Configured the below configuration in respective machines.
Issue:-
The client sends SOLICIT message and server is not responding back. Server machine receives the DHCP solict message by issuing tcpdump on server machine.

Pls help me on the configuration part.

DHCP IPv6 server config:-
------------------------------
First we will install DHCPv6 RPM on the server:
# yum -y install dhcpv6
After installing the above mentioned RPM we will turn on global IPv6 initialization and will also enable forwarding of IPv6 packets:
# vi /etc/sysconfig/network
NETWORKING_IPV6=yes
IPV6FORWARDING=yes
Then we will turn on IPv6 on a particular device and we will also a set an IPv6 address for that device by adding the following lines:
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
IPV6INIT=yes
IPV6ADDR="2002:1851:c622:1::1/64"
Now we will specify the interface for DHCPv6 server:
# vi /etc/sysconfig/dhcp6s
DHCP6SIF=eth0
DHCP6SARGS=
Next, we will edit the main DHCPv6 server configuration file as following:
# cp /usr/share/doc/dhcpv6-*/dhcp6s.conf /etc/
# vi /etc/dhcp6s.conf
interface eth0 {
server-preference 255;
renew-time 60;
rebind-time 90;
prefer-life-time 130;
valid-life-time 200;
allow rapid-commit;
option dns_servers 2002:1851:c622:1::1 example.com;
link AAA {
pool{
range 2002:1851:c622:1::2 to 2002:1851:c622:1::9/64;
prefix 2002:1851:c622:1::/64;
};
};
};
Finally, we will start DHCPv6 server daemon:
# service network restart && service dhcp6s start && chkconfig dhcp6s on

DHCP IPv6 client config:-
----------------------------
We will start client configuration by installing DHCPv6 client RPM:
# yum –y install dhcpv6_client
Then we will enable IPv6 networking on the client:
# vi /etc/sysconfig/network
NETWORKING_IPV6=yes
Next we will configure a particular device to participate as DHCPv6 client by adding the following lines to that device configuration file:
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
IPV6INIT=yes
DHCPV6C=yes
After that we will edit the main DHCPv6 client configuration file as following:
# cp /usr/share/doc/dhcpv6_client-*/dhcp6c.conf /etc/
# vi /etc/dhcp6c.conf
interface eth0 {
send rapid-commit;
request domain-name-servers;
};
Finally we will restart networking on the client to acquire an IPv6 address from the DHCPv6 server:
# service network restart
That’s all. If everything goes right we will see a global IPv6 address on the client by running:
# ifconfig eth0
 
Old 11-15-2011, 11:53 PM   #2
dheivan
LQ Newbie
 
Registered: Jul 2007
Posts: 9

Original Poster
Rep: Reputation: 0
pls help on the DHCPv6 issue reported in the aaove mail
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem on acquiring IP addr. on client from dhcp server through dhcp relay server haariseshu Linux - Server 5 08-10-2009 01:20 AM
How to configure DHCP server in ipv6 on RHEL5 mailme.prio Linux - Newbie 4 12-05-2008 04:49 PM
DHCP client and server configuration trovatou Linux - Server 7 05-24-2007 04:42 AM
DHCP client configuration TaNeK Linux - Newbie 1 12-12-2004 06:23 AM
server and client configuration oof any application on IPv6 e-ahmed Linux - Networking 0 05-17-2003 04:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration