Find DHCPv6 server's IPv6 address

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Find DHCPv6 server's IPv6 address
# 1  
Old 03-20-2017
Find DHCPv6 server's IPv6 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..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

What determines DNS will query IPV6 address?

When I do simple nslookup it does not generate any query for IPV6 (AAAA). But sometimes I see DNS query for both A and AAAA are generated. What decides this? The reason I do not want AAAA query is in most of the cases AAAA records are absent. Hence, if one DNS server fails, the clients keeps... (1 Reply)
Discussion started by: broy32000
1 Replies

2. IP Networking

IPv6 address block assign/associate with an interface

Hello all, I am trying to receive (tcp/udp/sctp) traffic from all IPs and, eventually, all ports of an IPv6 address block using as few sockets as possible short of implementing my own network stack. One possible solution was to associate an IP block to an interface then bind to that... (6 Replies)
Discussion started by: redwil
6 Replies

3. Shell Programming and Scripting

How to extract IPv6 address from string?

Hi All, Would anyone know how to modify the below, so only the IPv6 address (red) is printed, please? (in other words, what's between inet6 and the / sign) ipv6=`/sbin/ifconfig lo0:5 inet6 | grep 'inet6'` print $ipv6 Currently the output of the above script is: inet6... (7 Replies)
Discussion started by: chatguy
7 Replies

4. BSD

Link Local IPv6 Address

Hi, Am using FreeBSD7.4/i386 During IPv6 configuration, I added the following in rc.conf as Restarted IPv6 network using /etc/rc.d/network_ipv6 restart.. My problem is I need to set link local IPv6 address auto-configured.. Is my proceeding right?? I feel something missing to make... (0 Replies)
Discussion started by: Priya Amaresh
0 Replies

5. HP-UX

configuring site-local IPv6 address

How do I configure site-local IPv6 address in HP-UX box? I can get link local IPv6 address automatically when I put IPv6 up. aps39-88-root# ifconfig lan0 inet6 up (0 Replies)
Discussion started by: kirtikjr
0 Replies

6. Shell Programming and Scripting

Regular expression to extract ipv6 address

Hi all , I have a string in my weblog xheader v6-day-2011:xx:yy:zz:qq:qq:ww:ee:rr My requirement is to lookup the sting v6-day-2011 in this header and if found would like to extract the V6 ip part . v6-day-2011 is always constant for a ipv6 entry so i would like to extract every thing... (4 Replies)
Discussion started by: jambesh
4 Replies

7. Solaris

IPMP + IPv6 test address

Hi, inspired by this article, I decided to implement IPMP + IPv6 in Solaris 10. It worked for me only this way: 1. Setup # cat /etc/hostname* 10.23.10.113/24 broadcast + group data failover up <- hostname.e1000g0 0.0.0.0/24 broadcast + group data -failover deprecated up standby... (3 Replies)
Discussion started by: masloff
3 Replies

8. Programming

validate IPV6 address in windows using c++

I know there is a function inet_tpon for unix platforms to validate ipv6 addresses.But i need an equivalent of windows.When i use this function with the header file <winsock2.h> the visual studio 2005 on win2003 issues an error saying identifier not found :confused: (3 Replies)
Discussion started by: guru13
3 Replies

9. IP Networking

IPv6 UDP server not accepting packets with global address

Hi All, I am running a IPv6 UDP server, which is bound to in6addr_any. When I send a packet from a client to the link-local address of any interface on the linux box, the server accepts the packets. But when I send the packets to the global address the server doesnt pick the packets. On... (0 Replies)
Discussion started by: muralia
0 Replies

10. UNIX for Dummies Questions & Answers

How to find i.p address of our server

I don't have root access. How do I find i.p address of our sun server? Thanks. (4 Replies)
Discussion started by: vpotluri
4 Replies
Login or Register to Ask a Question
dhcp6c.conf(5)							File Formats Manual						    dhcp6c.conf(5)

NAME
dhcp6c.conf - configuration file of the DHCPv6 client daemon, dhcp6c DESCRIPTION
dhcp6c.conf is a configuration file for dhcp6c (DHCPv6 client). dhcp6c is configured by the configuration information (such as rapid-commit, requesting temp-address, or prefix-delegation) in this file. dhcp6c.conf is an ASCII text file and lines that start with # are comments. STATEMENTS
interface <interface name> { [declarations] }; Write configurations for this interface in this statement. In [declarations], options can be specified. DECLARATIONS
send [dhcpoptions]; With this declaration, dhcp6c sends specified options. Currently rapid-commit is defined. send rapid-commit; This declaration enables dhcp6c to request the dhcp6s server to perform a Rapid Commit. request [dhcpoptions]; This declaration enables dhcp6c to request specified options. Currently temp-address, domain-name-servers, and prefix-delegation are defined. request domain-name-servers; The DHCPv6 mechanism provides a way to obtain configuration information such as a list of available DNS servers or NTP servers. This decla- ration enables dhcp6c to request a DNS server address from the DHCPv6 server. request domain-search-list; This declaration enables dhcp6c to request a domain search list which dhcp6c uses when resolving hostnames with DNS. request prefix-delegation; This declaration enables dhcp6c to request a Prefix Delegation to the DHCPv6 server. dhcp6c gets a prefix assignment from the DHCPv6 server. request temp-address; This declaration enables dhcp6c to request temporary addresses. dhcp6c requests Non-temporary Addresses as default. This option makes dhcp6c request Temporary Addresses. information-only; This declaration enables dhcp6c to request host configuration information from the DHCPv6 server. If dhcp6c doesn't need to be assigned any addresses, this option should be specified. default-information-refresh-time <information refresh time>; This declaration defines the default interval to refresh the host configuration information retrieved from a server. When a server offers an interval to dhcp6c, dhcp6c chooses the interval from server. If this declaration is not specified, the interval is 86400[sec] (24 hours). The minimum interval is 400[sec]. If you don't want to refresh the information, specify infinity as the interval. maximum-information-refresh-time <information refresh time>; This declaration defines the maximum interval to refresh the host configuration information retrieved from a server. When DHCPv6 server offers an interval which is bigger than this maximum interval, dhcp6c chooses this maximum interval. If this declaration is not specified, dhcp6c uses the interval which a server offered or the interval which is specified at default-information-refresh-time declaration. address { [<ipv6 address>/<prefix length>]; [prefer-life-time <preferred-lifetime>]; [valid-life-time <valid-lifetime>]; }; This declaration defines the dhcp6c client preferred IPv6 address, the preferred lifetime of the address, and the valid lifetime for this interface. prefix { [<ipv6 prefix>/<prefix length>]; [prefer-life-time <preferred-lifetime>]; [valid-life-time <valid-lifetime>]; }; This declaration defines the dhcp6c client acting as a requesting router for the preferred prefix, the prefix length, and the prefix's pre- ferred lifetime, and valid lifetime for this interface. prefer-life-time <preferred-lifetime>; This declaration sets the preferred lifetime (in seconds) of the address or prefix. This declaration is valid only in address or prefix declarations. valid-life-time <valid-lifetime>; This declaration sets the valid lifetime (in seconds) of the address or prefix. This declaration is valid only in address or prefix decla- rations. renew-time <renew-time>; This declaration specifies the Renew Time (in seconds) for this Identity Association (IA). Renew Time is a T1 value in an IA option. dhcp6c sets the Renew Time in IA options to the specified value. rebind-time <rebind-time>; This declaration specifies the Rebind Time (in seconds) for this IA. Rebind Time is T2 value in an IA option. dhcp6c sets the Rebind Time in IA options to the specified value. DHCPOPTIONS
rapid-commit If this option is used in a "send [dhcpoptions];" declaration, dhcp6c sends DHCPv6 messages with a Rapid Commit option. domain-name-servers If this option is used in a "request [dhcpoptions];" declaration, dhcp6c requests the DNS server address via the DHCPv6 mechanism. prefix-delegation If this option is used in a "request [dhcpoptions];" declaration, dhcp6c requests a Prefix Delegation to the DHCPv6 servers. prefix-delegation-interface <interface name> Specifies the name of the interface definition in radvd.conf that dhcp6c will write the 'prefix' declaration for. By default, dhcp6c will write a radvd.conf prefix declaration for the interface on which it receives the prefix delegation lease. EXAMPLES
This is a sample of the dhcp6c.conf file. interface eth0 { send rapid-commit; request prefix-delegation; request domain-name-servers; request temp-address; iaid 11111; address { 3ffe:10::10/64; prefer-life-time 6000; valid-life-time 8000; }; renew-time 11000; rebind-time 21000; }; SEE ALSO
dhcp6c(8) BUGS
Report bugs via http://fedorahosted.org/dhcpv6/ AUTHORS
See http://fedorahosted.org/dhcpv6/wiki/Authors dhcp6c.conf(5)