LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-21-2014, 12:41 AM   #1
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349

Rep: Reputation: Disabled
ipv6 router - wide-dhcp6c setting PD on internal interface, not on external


the router has external interface named "external" and interal named "internal". dhcp6c is pulling a PD, and setting up the internal interface correctly, but isn't getting the external interface address, ending up with no routable internet access. ISP is comcast who is definitely giving out /64 prefixes in the area.

dhcp6c.conf
Code:
interface external {
	send ia-pd 0;
	request domain-name-servers;
};

id-assoc pd 0 {
        prefix-interface internal {
                sla-id 1;
		sla-len 0;
        };
};
log of startup
Code:
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: get_duid: extracted an existing DUID from /var/lib/dhcpv6/dhcp6c_duid: 00:01:00:01:1a:e7:52:8a:00:00:00:00:00:00
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: client6_init: failed initialize control message authentication
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: client6_init: skip opening control port
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: configure_pool: called
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: clear_poolconf: called
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: dhcp6_reset_timer: reset a timer on external, state=INIT, timeo=0, retrans=150
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: Apr/20/2014 23:34:12: dhcp6_ctl_authinit: failed to open /etc/wide-dhcpv6/dhcp6cctlkey: No such file or directory
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: client6_send: a new XID (58f59e) is generated
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: copy_option: set client ID (len 14)
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: copy_option: set elapsed time (len 2)
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: copy_option: set option request (len 2)
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: copyout_option: set IA_PD
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: client6_send: send solicit to ff02::1:2%external
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: dhcp6_reset_timer: reset a timer on external, state=SOLICIT, timeo=0, retrans=1024
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: client6_recv: receive advertise from fe80::201:5cff:fe3f:d241%external on external
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: dhcp6_get_options: get DHCP option client ID, len 14
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: DUID: 00:01:00:01:1a:e7:52:8a:00:00:00:00:00:00
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: dhcp6_get_options: get DHCP option server ID, len 14
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: DUID: 00:01:00:01:15:5d:94:a6:14:fe:b5:cf:15:b0
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: dhcp6_get_options: get DHCP option IA_PD, len 41
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: IA_PD: ID=0, T1=172800, T2=276480
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: copyin_option: get DHCP option IA_PD prefix, len 25
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: copyin_option:   IA_PD prefix: 2601:5:1480:20c::/64 pltime=345600 vltime=345600
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: dhcp6_get_options: get DHCP option preference, len 1
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: preference: 255
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: dhcp6_get_options: get DHCP option DNS, len 32
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: client6_recvadvert: server ID: 00:01:00:01:15:5d:94:a6:14:fe:b5:cf:15:b0, pref=255
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: client6_send: a new XID (1931a7) is generated
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: copy_option: set client ID (len 14)
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: copy_option: set server ID (len 14)
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: copy_option: set elapsed time (len 2)
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: copy_option: set option request (len 2)
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: copyout_option: set IA_PD prefix
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: copyout_option: set IA_PD
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: client6_send: send request to ff02::1:2%external
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: dhcp6_reset_timer: reset a timer on external, state=REQUEST, timeo=0, retrans=913
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: client6_recv: receive advertise from fe80::201:5cff:fe3f:d241%external on external
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: dhcp6_get_options: get DHCP option client ID, len 14
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: DUID: 00:01:00:01:1a:e7:52:8a:00:00:00:00:00:00
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: dhcp6_get_options: get DHCP option server ID, len 14
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: DUID: 00:01:00:01:15:9c:b1:8e:84:2b:2b:fc:98:bb
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: dhcp6_get_options: get DHCP option IA_PD, len 41
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: IA_PD: ID=0, T1=172800, T2=276480
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: copyin_option: get DHCP option IA_PD prefix, len 25
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: copyin_option:   IA_PD prefix: 2601:5:14c0:10::/64 pltime=345600 vltime=345600
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: dhcp6_get_options: get DHCP option preference, len 1
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: preference: 0
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: dhcp6_get_options: get DHCP option DNS, len 32
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: client6_recvadvert: XID mismatch
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: client6_recv: receive reply from fe80::201:5cff:fe3f:d241%external on external
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: dhcp6_get_options: get DHCP option client ID, len 14
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: DUID: 00:01:00:01:1a:e7:52:8a:00:00:00:00:00:00
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: dhcp6_get_options: get DHCP option server ID, len 14
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: DUID: 00:01:00:01:15:5d:94:a6:14:fe:b5:cf:15:b0
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: dhcp6_get_options: get DHCP option IA_PD, len 41
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: IA_PD: ID=0, T1=172800, T2=276480
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: copyin_option: get DHCP option IA_PD prefix, len 25
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: copyin_option:   IA_PD prefix: 2601:5:1480:20c::/64 pltime=345600 vltime=345600
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: dhcp6_get_options: get DHCP option DNS, len 32
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: info_printf: nameserver[0] 2001:558:feed::1
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: info_printf: nameserver[1] 2001:558:feed::2
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: get_ia: make an IA: PD-0
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: update_prefix: create a prefix 2601:5:1480:20c::/64 pltime=345600, vltime=345600
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: ifaddrconf: add an address 2601:5:1480:20c:0000:0000:0000:0000/64 on internal
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: dhcp6_remove_event: removing an event on external, state=REQUEST
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: dhcp6_remove_event: removing server (ID: 00:01:00:01:15:5d:94:a6:14:fe:b5:cf:15:b0)
Apr 20 23:34:12 SERVERNAME dhcp6c[336]: client6_recvreply: got an expected reply, sleeping.
 
  


Reply


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
Setting up Linux box as IPv6 router to replace Netgear WNR1000 wireless router samcan Linux - Networking 1 06-19-2011 06:30 AM
Seeing packets from external IP address on protected internal interface? TonyAR Linux - Security 19 04-21-2011 11:05 AM
which interface to graph (internal or external) ? hattori.hanzo Linux - Networking 2 04-03-2008 11:48 PM
Setting Internal vs. External Displays bluueknigh7 Linux - Laptop and Netbook 0 09-21-2006 03:51 PM
router with 2 externel interface and 1 internal?? fhameed Linux - Networking 1 12-09-2004 07:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:02 PM.

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