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(8)						    BSD System Manager's Manual 						 DHCP6C(8)

NAME
dhcp6c -- DHCPv6 client daemon SYNOPSIS
dhcp6c [-c configfile] [-Ddfi] [-p pid-file] [-P profile] interface [interfaces...] DESCRIPTION
dhcp6c works as a DHCPv6 client and gets information from DHCPv6 servers to configure the specified interface. Multiple interfaces can be specified separated by spaces or tabs, in which case dhcp6c will work on all the interfaces simultaneously. The command line options are: -c configfile Use configfile as the configuration file. -d Print debugging messages. -D Even more debugging information is printed. -f Foreground mode (useful when debugging). Although dhcp6c usually prints warning, debugging, or error messages to syslog(8), it prints the messages to standard error if this option is specified. -i Info-req mode. In this mode, stateless DHCPv6 is executed with the folllowing configuration, and the obtained info is written to stdout. After this output, dhcp6c is terminated. (suits for a use in shell-script etc). interface (interface given in the argument) { information-only; script (a script which displays the received information to stdout); }; Since the configuration is internally generated, you cannot provide a configuration in this mode. If you want to have different actions for the stateless DHCPv6 information, you should write an appropriate configuration and invoke dhcp6c without this option. -p pid-file Use pid-file to dump the process ID of dhcp6c. -P profile Use the given profile defined in the dhcp6c configuration file for interfaces which do not have a specific configuration. The program will daemonize itself on invocation unless the -f or -i option is specified. Upon receipt of the SIGHUP or SIGTERM signals, dhcp6c will remove all stateful resources from the system. In the former case the daemon will then reinvoke itself, while it will stop running in the latter case. In either case, dhcp6c will send DHCPv6 Release messages to release resources assigned from servers. FILES
/var/run/dhcp6c.pid is the default file that contains pid of the currently running dhcp6c. /etc/wide-dhcpv6/dhcp6c.conf is the default configuration file. /var/lib/dhcpv6/dhcp6c_duid is the file to store the client's DUID. Configuration Script When dhcp6c receives a reply message, it will invoke a supplementary configuration script specified in the dhcp6c.conf(5) file. The daemon will provide the script with configuration parameters as environment variables, which include: REASON The reason why the script is invoked. As of this writing, the value is always "NBI" and thus meaningless. new_domain_name_servers A list of available DNS servers, each of which is an IPv6 numeric address and is separated by a white space character. new_domain_name A list of DNS names, which provides DNS name search path. new_ntp_servers A list of available NTP servers, each of which is an IPv6 numeric address and is separated by a white space character. new_sip_servers A list of available SIP server addresses, each of which is an IPv6 numeric address and is separated by a white space character. new_sip_name A list of SIP server domain names. new_nis_servers A list of available NIS server addresses, each of which is an IPv6 numeric address and is separated by a white space character. new_nis_name A list of NIS domain names. new_nisp_servers A list of available NIS+ server addresses, each of which is an IPv6 numeric address and is separated by a white space character. new_nisp_name A list of NIS+ domain names. new_bcmcs_servers A list of available BCMCS server addresses, each of which is an IPv6 numeric address and is separated by a white space character. new_bcmcs_name A list of BCMCS server domain names. Note that the daemon does not always provide all the parameters. It sets an environment variable only when the corresponding configuration parameter is provided by the DHCPv6 server. SEE ALSO
daemon(3), dhcp6c.conf(5), dhcp6s(8) Ralph Droms, Editor, Dynamic Host Configuration Protocol for IPv6 (DHCPv6), RFC 3315, 2003. HISTORY
The dhcp6c command first appeared in WIDE/KAME IPv6 protocol stack kit. BUGS
dhcp6c is incomplete and violates DHCPv6 protocol spec, in several aspects. In particular, temporary address assignment is intentionally omitted. Information Refresh Time Option is not recognized in Info-req mode, since dhcp6c terminates after it receives a REPLY message. KAME
Sep 12, 1999 KAME