LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-25-2014, 01:46 AM   #1
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349

Rep: Reputation: Disabled
wide-dhcpv6 - trying to obtain /60 prefix, "invalid prefix"


my ISP is comcast, who is now giving all its customers /60 prefixes. i'm trying to request it with wide-dhcpv6, but i'm not sure which value to use for "sla-len". i have tried "4" and get the following


Code:
dhcp6c[341]: add_ifprefix: invalid prefix length 64 + 4 + 64
/etc/wide-dhcpv6/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 4;
        };
};
so what number should i use here for a /60?
 
Old 05-25-2014, 08:27 AM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,776

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Comcast doesn't give you a /60 by default. You have to request it with a PD hint. See http://forums.comcast.com/t5/Home-Ne...1609421#M49543 and the discussion that follows. Ignore the "disabled ... for now" part -- that was a year ago.
 
Old 05-26-2014, 12:59 AM   #3
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349

Original Poster
Rep: Reputation: Disabled
so i've copied the configuration from that thread; it looks like wide-dhcp is pulling a /60 according to the logs, but it's still assigning the internal interface a /64 prefix. is this normal?

Code:
May 26 01:14:47  dhcp6c[338]: client6_send: a new XID (19cd17) is generated
May 26 01:14:47  dhcp6c[338]: copy_option: set client ID (len 14)
May 26 01:14:47  dhcp6c[338]: copyout_option: set identity association
May 26 01:14:47  dhcp6c[338]: copy_option: set rapid commit (len 0)
May 26 01:14:47  dhcp6c[338]: copy_option: set elapsed time (len 2)
May 26 01:14:47  dhcp6c[338]: copy_option: set option request (len 2)
May 26 01:14:47  dhcp6c[338]: copyout_option: set IA_PD prefix
May 26 01:14:47  dhcp6c[338]: copyout_option: set IA_PD
May 26 01:14:47  dhcp6c[338]: dhcp6_reset_timer: reset a timer on external, state=SOLICIT, timeo=0, retrans=1042
May 26 01:14:47  dhcp6c[338]: May/26/2014 01:14:47: client6_send: transmit failed: Cannot assign requested address
May 26 01:14:48  dhcp6c[338]: copy_option: set client ID (len 14)
May 26 01:14:48  dhcp6c[338]: copyout_option: set identity association
May 26 01:14:48  dhcp6c[338]: copy_option: set rapid commit (len 0)
May 26 01:14:48  dhcp6c[338]: copy_option: set elapsed time (len 2)
May 26 01:14:48  dhcp6c[338]: copy_option: set option request (len 2)
May 26 01:14:48  dhcp6c[338]: copyout_option: set IA_PD prefix
May 26 01:14:48  dhcp6c[338]: copyout_option: set IA_PD
May 26 01:14:48  dhcp6c[338]: client6_send: send solicit to ff02::1:2%external
May 26 01:14:48  dhcp6c[338]: dhcp6_reset_timer: reset a timer on external, state=SOLICIT, timeo=1, retrans=2106
May 26 01:14:48  dhcp6c[338]: client6_recv: receive advertise from fe80::201:5cff:fe3f:d241%external on external
May 26 01:14:48  dhcp6c[338]: dhcp6_get_options: get DHCP option client ID, len 14
May 26 01:14:48  dhcp6c[338]: DUID: 00:01:00:01:1a:e9:e1:57:a0:36:9f:14:01:ec
May 26 01:14:48  dhcp6c[338]: dhcp6_get_options: get DHCP option server ID, len 14
May 26 01:14:48  dhcp6c[338]: DUID: 00:01:00:01:15:5d:94:a6:14:fe:b5:cf:15:b0
May 26 01:14:48  dhcp6c[338]: dhcp6_get_options: get DHCP option identity association, len 40
May 26 01:14:48  dhcp6c[338]: IA_NA: ID=1, T1=172800, T2=276480
May 26 01:14:48  dhcp6c[338]: copyin_option: get DHCP option IA address, len 24
May 26 01:14:48  dhcp6c[338]: copyin_option:   IA_NA address: 2001:558:6016:29:x:x:x:x pltime=345600 vltime=345600
May 26 01:14:48  dhcp6c[338]: dhcp6_get_options: get DHCP option IA_PD, len 41
May 26 01:14:48  dhcp6c[338]: IA_PD: ID=1, T1=172800, T2=276480
May 26 01:14:48  dhcp6c[338]: copyin_option: get DHCP option IA_PD prefix, len 25
May 26 01:14:48  dhcp6c[338]: copyin_option:   IA_PD prefix: 2601:5:1480:7c0::/60 pltime=345600 vltime=472446748160
May 26 01:14:48  dhcp6c[338]: dhcp6_get_options: get DHCP option preference, len 1
May 26 01:14:48  dhcp6c[338]: preference: 255
May 26 01:14:48  dhcp6c[338]: dhcp6_get_options: get DHCP option DNS, len 32
May 26 01:14:48  dhcp6c[338]: client6_recvadvert: server ID: 00:01:00:01:15:5d:94:a6:14:fe:b5:cf:15:b0, pref=255
May 26 01:14:48  dhcp6c[338]: client6_recvadvert: unexpected advertise
May 26 01:14:48  dhcp6c[338]: client6_send: a new XID (32237c) is generated
May 26 01:14:48  dhcp6c[338]: copy_option: set client ID (len 14)
May 26 01:14:48  dhcp6c[338]: copy_option: set server ID (len 14)
May 26 01:14:48  dhcp6c[338]: copyout_option: set IA address
May 26 01:14:48  dhcp6c[338]: copyout_option: set identity association
May 26 01:14:48  dhcp6c[338]: copy_option: set elapsed time (len 2)
May 26 01:14:48  dhcp6c[338]: copy_option: set option request (len 2)
May 26 01:14:48  dhcp6c[338]: copyout_option: set IA_PD prefix
May 26 01:14:48  dhcp6c[338]: copyout_option: set IA_PD
May 26 01:14:48  dhcp6c[338]: client6_send: send request to ff02::1:2%external
May 26 01:14:48  dhcp6c[338]: dhcp6_reset_timer: reset a timer on external, state=REQUEST, timeo=0, retrans=991
May 26 01:14:48  dhcp6c[338]: client6_recv: receive advertise from fe80::201:5cff:fe3f:d241%external on external
May 26 01:14:48  dhcp6c[338]: dhcp6_get_options: get DHCP option client ID, len 14
May 26 01:14:48  dhcp6c[338]: DUID: 00:01:00:01:1a:e9:e1:57:a0:36:9f:14:01:ec
May 26 01:14:48  dhcp6c[338]: dhcp6_get_options: get DHCP option server ID, len 14
May 26 01:14:48  dhcp6c[338]: DUID: 00:01:00:01:15:9c:b1:8e:84:2b:2b:fc:98:bb
May 26 01:14:48  dhcp6c[338]: dhcp6_get_options: get DHCP option identity association, len 40
May 26 01:14:48  dhcp6c[338]: IA_NA: ID=1, T1=172800, T2=276480
May 26 01:14:48  dhcp6c[338]: copyin_option: get DHCP option IA address, len 24
May 26 01:14:48  dhcp6c[338]: copyin_option:   IA_NA address: 2001:558:6016:29:x:x:x:x pltime=345600 vltime=345600
May 26 01:14:48  dhcp6c[338]: dhcp6_get_options: get DHCP option IA_PD, len 41
May 26 01:14:48  dhcp6c[338]: IA_PD: ID=1, T1=172800, T2=276480
May 26 01:14:48  dhcp6c[338]: copyin_option: get DHCP option IA_PD prefix, len 25
May 26 01:14:48  dhcp6c[338]: copyin_option:   IA_PD prefix: 2601:5:14c0:40::/60 pltime=345600 vltime=472446748160
May 26 01:14:48  dhcp6c[338]: dhcp6_get_options: get DHCP option preference, len 1
May 26 01:14:48  dhcp6c[338]: preference: 0
May 26 01:14:48  dhcp6c[338]: dhcp6_get_options: get DHCP option DNS, len 32
May 26 01:14:48  dhcp6c[338]: client6_recvadvert: XID mismatch
May 26 01:14:48  kernel: random: nonblocking pool is initialized
May 26 01:14:48  dhcp6c[338]: client6_recv: receive reply from fe80::201:5cff:fe3f:d241%external on external
May 26 01:14:48  dhcp6c[338]: dhcp6_get_options: get DHCP option client ID, len 14
May 26 01:14:48  dhcp6c[338]: DUID: 00:01:00:01:1a:e9:e1:57:a0:36:9f:14:01:ec
May 26 01:14:48  dhcp6c[338]: dhcp6_get_options: get DHCP option server ID, len 14
May 26 01:14:48  dhcp6c[338]: DUID: 00:01:00:01:15:5d:94:a6:14:fe:b5:cf:15:b0
May 26 01:14:48  dhcp6c[338]: dhcp6_get_options: get DHCP option identity association, len 40
May 26 01:14:48  dhcp6c[338]: IA_NA: ID=1, T1=172800, T2=276480
May 26 01:14:48  dhcp6c[338]: copyin_option: get DHCP option IA address, len 24
May 26 01:14:48  dhcp6c[338]: copyin_option:   IA_NA address: 2001:x:x:x:x:x:x:x pltime=345600 vltime=345600
May 26 01:14:48  dhcp6c[338]: dhcp6_get_options: get DHCP option IA_PD, len 41
May 26 01:14:48  dhcp6c[338]: IA_PD: ID=1, T1=172800, T2=276480
May 26 01:14:48  dhcp6c[338]: copyin_option: get DHCP option IA_PD prefix, len 25
May 26 01:14:48  dhcp6c[338]: copyin_option:   IA_PD prefix: 2601:5:1480:7c0::/60 pltime=345600 vltime=472446748160
May 26 01:14:48  dhcp6c[338]: dhcp6_get_options: get DHCP option DNS, len 32
May 26 01:14:48  dhcp6c[338]: info_printf: nameserver[0] 2001:558:feed::1
May 26 01:14:48  dhcp6c[338]: info_printf: nameserver[1] 2001:558:feed::2
May 26 01:14:48  dhcp6c[338]: get_ia: make an IA: PD-1
May 26 01:14:48  dhcp6c[338]: update_prefix: create a prefix 2601:5:1480:7c0::/60 pltime=345600, vltime=532576290304
May 26 01:14:48  dhcp6c[338]: ifaddrconf: add an address 2601:5:1480:7c1:x:x:x:x/64 on internal
May 26 01:14:48  dhcp6c[338]: get_ia: make an IA: NA-1
May 26 01:14:48  dhcp6c[338]: update_address: create an address 2001:558:6016:29:x:x:x:x pltime=345600, vltime=345600
May 26 01:14:48  dhcp6c[338]: ifaddrconf: add an address 2001:558:6016:29:x:x:x:x/128 on external
May 26 01:14:48  dhcp6c[338]: dhcp6_remove_event: removing an event on external, state=REQUEST
May 26 01:14:48  dhcp6c[338]: dhcp6_remove_event: removing server (ID: 00:01:00:01:15:5d:94:a6:14:fe:b5:cf:15:b0)
May 26 01:14:48  dhcp6c[338]: client6_recvreply: got an expected reply, sleeping.

Last edited by psycroptic; 05-26-2014 at 01:20 AM.
 
Old 05-26-2014, 08:31 AM   #4
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,776

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
I'm not actually doing any IPv6 subnetting, so I'm not sure just what is supposed to happen there. Anyone??
 
  


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
Errors in /var/log/messages "error: Missing or invalid IP4 prefix '0'" kimurayuki Linux - Networking 5 12-06-2012 01:17 PM
isc-dhcp-client DHCPv6 Prefix Delegation halvors Linux - Networking 0 11-05-2012 05:54 PM
[SOLVED] Problem in running a script with "./" prefix mahmoodn Ubuntu 3 05-24-2010 04:37 AM
[SOLVED] problem with "./configure --prefix=usr/local/apache --enable-module=so" dynamiteboy Linux - Newbie 12 09-15-2009 11:42 AM
What does "${prefix}/data/jobs" means? yuri16 Linux - Newbie 4 05-15-2009 12:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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