LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-19-2017, 11:30 PM   #1
bshalini
LQ Newbie
 
Registered: Mar 2017
Posts: 1

Rep: Reputation: Disabled
DHCPv6 Server IP address


I want to find out the DHCPv6 server's ip address in the network. I went through the lease files but could find only duid/server-id and not the IPv6 address of the dhcp server. And I couldn't find any commands to get that information. Is there a way to get the DHCPv6 server's IPv6 address?
If I configured my machine to get an IPv4 dhcp address, I can see the lease files having the dhcp server's address. This made me think.. whether DHCP6 servers really expose their IPv6 addresses?

Basically looking for commands or system utility apis to get DHCPv6 server's IPv6 address in suse(sles11,sles12,sled) and red-hat(rhel6.8 and rhel7).
Thanks in advance for your help..

Last edited by bshalini; 03-19-2017 at 11:41 PM.
 
Old 03-20-2017, 03:41 AM   #2
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 567

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
Hi, welcome to LQ,

Well there are a couple of ways to check this out, two possible ways are
Code:
ip addr show
ifconfig -a
If the commands do not work due to access permissions, try as root or
Code:
/sbin/ip addr show
/sbin/ifconfig -a
inet is the IPv4 address and inet6 is the IPv6 one.
 
  


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
[SOLVED] vsftpd "Server sent passive reply with unroutable address. Using server address instead." Altiris Slackware 7 10-27-2016 09:32 AM
running a DHCPv6 server to provide only DNS servers psycroptic Linux - Server 4 08-17-2015 11:56 PM
How to install a DHCPv6 Server and Client with CentOS 5.1 ??? kimhien1989 Linux - Newbie 1 11-21-2010 09:30 PM
Single DHCP server ,to provide the ip address to a MAC address in two different subne alix123 Linux - Software 5 05-08-2007 11:16 PM
DHCP Server MAC Address found, IP address not assigned wmburke Linux - Wireless Networking 17 11-17-2004 10:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:35 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