Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-05-2006, 04:00 AM   #1
LQ Newbie
Registered: Oct 2006
Distribution: fc4
Posts: 2

Rep: Reputation: 0
Unhappy desperately need help with dhcpv6

Hi all.

I'm a linux newbie here and I'm currently working on dhcpv6 project. Sadly there are very little information or support that i can get from the internet. I'm having problem with the dhcp6s.

I started dhcp6s (on FC4) but i'm not sure whether it's running because I couldnt get its pid. How to start the server actually? I tried commands like service dhcp6s start, etc/init.d/dhcp6s start but they ended up nothing. No confirmatin message like "dhcp6s (pid ?) is running...".

I issued ipconfig /renew from a windows client but it got nothing from the server (connection/requset timeout or something). Does dhcpv6 work with windows client? Please help.

Thanks a million.
Old 10-08-2006, 08:20 PM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
After it starts, does:
ps aux | grep dhcp

give you the PID? If not, if you start it directly (not using an init script) do you get any errors (like port conflicting)?

Old 10-09-2006, 03:49 AM   #3
LQ Newbie
Registered: Oct 2006
Distribution: fc4
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for reply, MasterC.

I captured the output:

[root@dhcpv6 ~]# service dhcp6s start
[root@dhcpv6 ~]# ps aux | grep dhcp6s
root 2673 0.0 0.1 400 148 pts/1 R+ 15:54 0:00 grep dhcp6s
[root@dhcpv6 ~]# dhcp6s -dDf eth0
Oct/09/2006 15:54:45 extracted an existing DUID from /var/lib/dhcpv6/dhcp6s_duid: 00:01:00:01:0c:b5:df:38:00:90:27:a6:26:48
Oct/09/2006 15:54:45 set timer for syncing file ...
Oct/09/2006 15:54:45 interface definition for eth0 is ok

[1]+ Stopped dhcp6s -dDf eth0

I went to service configuration, click on dhcp6s but it doesn't show anything, its status,pid... simply blank.

or I have to create a dhcp lease file? i recalled when i did my project on dhcp, it need a lease file to be created before the server runs. If so, where am i supposed to put this lease file?

Old 12-06-2006, 09:26 AM   #4
Registered: Apr 2006
Location: Washington
Distribution: Suse, CentOS, Ubuntu
Posts: 124

Rep: Reputation: 15
there are a few client server options out there now.... Dibbler, KAME... some others.. not sure how well they work with windows yet... You might just have to make it all stateless for now.
Old 05-24-2007, 04:16 AM   #5
LQ Newbie
Registered: May 2007
Posts: 3

Rep: Reputation: 0
Smile Can see the services using netstat -an


You can confirm whether the DHCPv6 server is listening for client requests or not, using port numbers. DHCPv6 servers run at port number 547.
Execute netstat -an command. If you see an udp portnumber 547 is listening you can confirm that the server is running.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to install DHCPv6 on Linux machine? aqh999 Linux - Networking 2 12-06-2006 09:29 AM
IPv6 DHCPv6 DUID Type option configuration donipv6 Linux - Networking 0 01-27-2006 10:33 PM
What is best dhcpV6 client for Debian investor Linux - Networking 0 09-26-2005 03:51 PM
I need help desperately! kleggett Linux - Newbie 14 04-29-2003 05:56 PM
Need help... desperately. kinginjinn Linux - Hardware 3 11-29-2002 11:39 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:38 AM.

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