ā09-27-2016 07:28 AM - edited ā03-01-2019 05:51 PM
Hello all,
I've been trying to make my CPE connect to LNS through LAC and get its link-local IPv6 Address using some certain "Framed-Interface-ID".
What i did: I put that Framed-Interface-ID into RADIUS and it passes that to LNS and then to CPE when that CPE perform IPv6 PPP negotiation.
My CPE wan-port configuration:
interface Serial1/0
encapsulation ppp
ipv6 enable
ppp pap sent-username User1@test.com password 0 testpassword!
serial restart-delay 0
clock rate 2016000
!
cpe#sh ipv6 int br Serial1/0
Serial1/0 [up/up]
FE80::C803:3FF:FE18:8
Then I configured my "Framed-Interface-ID" to be 5:5:5:5.
And now it becomes a bit crazy:
debug ppp negotiation
*Sep 26 18:33:44.418: Se1/0 IPV6CP: Protocol configured, start CP. state[Initial]
*Sep 26 18:33:44.418: Se1/0 IPV6CP: Event[OPEN] State[Initial to Starting]
*Sep 26 18:33:44.422: Se1/0 IPV6CP: O CONFREQ [Starting] id 1 len 14
*Sep 26 18:33:44.422: Se1/0 IPV6CP: Interface-Id C803:03FF:FE18:0008 (0x010AC80303FFFE180008)
*Sep 26 18:33:44.426: Se1/0 IPV6CP: Event[UP] State[Starting to REQsent]
*Sep 26 18:33:44.430: Se1/0 IPCP: I CONFREQ [UNKNOWN] id 1 len 10
*Sep 26 18:33:44.434: Se1/0 IPCP: Address 10.6.0.1 (0x03060A060001)
*Sep 26 18:33:44.434: Se1/0 LCP: O PROTREJ [Open] id 2 len 16 protocol IPCP (0x0101000A03060A060001)
*Sep 26 18:33:44.438: Se1/0 IPV6CP: I CONFREQ [REQsent] id 1 len 14
*Sep 26 18:33:44.438: Se1/0 IPV6CP: Interface-Id 0201:00FF:FE00:0000 (0x010A020100FFFE000000)
*Sep 26 18:33:44.442: Se1/0 IPV6CP: O CONFACK [REQsent] id 1 len 14
*Sep 26 18:33:44.442: Se1/0 IPV6CP: Interface-Id 0201:00FF:FE00:0000 (0x010A020100FFFE000000)
*Sep 26 18:33:44.446: Se1/0 IPV6CP: Event[Receive ConfReq+] State[REQsent to ACKsent]
*Sep 26 18:33:44.498: Se1/0 IPV6CP: I CONFACK [ACKsent] id 1 len 14
*Sep 26 18:33:44.502: Se1/0 IPV6CP: Interface-Id C803:03FF:FE18:0008 (0x010AC80303FFFE180008)
*Sep 26 18:33:44.502: Se1/0 IPV6CP: Event[Receive ConfAck] State[ACKsent to Open]
*Sep 26 18:33:44.510: Se1/0 IPV6CP: State is Open
As we can see no "Framed-Interface-ID" has been received from LNS.
cpe#sh ipv6 int br Serial1/0
Serial1/0 [up/up]
FE80::C803:3FF:FE18:8
But if i configure Serial1/0 interface this way:
interface Serial1/0
encapsulation ppp
ipv6 address fe80:: link-local
ipv6 enable
ppp pap sent-username User1@test.com password 0 testpassword!
serial restart-delay 0
clock rate 2016000
!
Then LNS starts sending "Framed-Interface-ID" to it
*Sep 26 18:34:49.146: Se1/0 IPV6CP: Protocol configured, start CP. state[Initial]
*Sep 26 18:34:49.146: Se1/0 IPV6CP: Event[OPEN] State[Initial to Starting]
*Sep 26 18:34:49.146: Se1/0 IPV6CP: O CONFREQ [Starting] id 1 len 14
*Sep 26 18:34:49.150: Se1/0 IPV6CP: Interface-Id 0000:0000:0000:0000 (0x010A0000000000000000)
*Sep 26 18:34:49.150: Se1/0 IPV6CP: Event[UP] State[Starting to REQsent]
*Sep 26 18:34:49.154: Se1/0 PPP: Process pending ncp packets
*Sep 26 18:34:49.154: Se1/0 IPCP: Redirect packet to Se1/0
*Sep 26 18:34:49.158: Se1/0 IPCP: I CONFREQ [UNKNOWN] id 1 len 10
*Sep 26 18:34:49.158: Se1/0 IPCP: Address 10.6.0.1 (0x03060A060001)
*Sep 26 18:34:49.162: Se1/0 LCP: O PROTREJ [Open] id 2 len 16 protocol IPCP (0x0101000A03060A060001)
*Sep 26 18:34:49.174: Se1/0 IPV6CP: I CONFREQ [REQsent] id 1 len 14
*Sep 26 18:34:49.174: Se1/0 IPV6CP: Interface-Id 0201:00FF:FE00:0000 (0x010A020100FFFE000000)
*Sep 26 18:34:49.178: Se1/0 IPV6CP: O CONFACK [REQsent] id 1 len 14
*Sep 26 18:34:49.178: Se1/0 IPV6CP: Interface-Id 0201:00FF:FE00:0000 (0x010A020100FFFE000000)
*Sep 26 18:34:49.182: Se1/0 IPV6CP: Event[Receive ConfReq+] State[REQsent to ACKsent]
*Sep 26 18:34:49.202: Se1/0 IPV6CP: I CONFNAK [ACKsent] id 1 len 14
*Sep 26 18:34:49.202: Se1/0 IPV6CP: Interface-Id 0005:0005:0005:0005 (0x010A0005000500050005)
*Sep 26 18:34:49.206: Se1/0 IPV6CP: O CONFREQ [ACKsent] id 2 len 14
*Sep 26 18:34:49.210: Se1/0 IPV6CP: Interface-Id 0005:0005:0005:0005 (0x010A0005000500050005)
*Sep 26 18:34:49.210: Se1/0 IPV6CP: Event[Receive ConfNak/Rej] State[ACKsent to ACKsent]
*Sep 26 18:34:49.246: Se1/0 IPV6CP: I CONFACK [ACKsent] id 2 len 14
*Sep 26 18:34:49.246: Se1/0 IPV6CP: Interface-Id 0005:0005:0005:0005 (0x010A0005000500050005)
*Sep 26 18:34:49.250: Se1/0 IPV6CP: Event[Receive ConfAck] State[ACKsent to Open]
*Sep 26 18:34:49.258: Se1/0 IPV6CP: Setting link-local address to: FE80::5:5:5:5
*Sep 26 18:34:49.258: Se1/0 IPV6CP: State is Open
cpe#sh ipv6 int br Serial1/0
Serial1/0 [up/up]
FE80::5:5:5:5
Any ideas why CPE doesn't want to use the right Framed-Interface-ID untill I put ipv6 address fe80:: link-local command on it.
Looks like a bug.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide