DHCPv6 via PPPOE not working



  • I got a dual stack internet connection from Routit with a /64 ipv6 subnet. Connection works perfectly when setting my cisco x1000 modem to directly dial pppoa. When I configure the modem to act as a bridge, let pfsense do the ppp(oe) setup and set ipv6 on the pppoe interface to dhcp6, It won't get an ipv6 address assigned. Strangely enough, it does get the correct gateway assigned.

    I can only ping the link local address of the gateway when it's set as the default ipv6 gateway. Otherwise, the pings will go through my ipv6 tunnel. (is this a bug?)

    The output of ifconfig is always (with static or dhcp):

    
    pppoe0: flags=88d1 <up,pointopoint,running,noarp,simplex,multicast>metric 0 mtu 1492
            inet6 fe80::217:a4ff:fe0d:4afe%pppoe0 prefixlen 64 scopeid 0xd
            inet *.*.*.234 --> *.*.*.133 netmask 0xffffffff
            nd6 options=3 <performnud,accept_rtadv></performnud,accept_rtadv></up,pointopoint,running,noarp,simplex,multicast> 
    

    Setting or not setting "DHCPv6 Prefix Delegation size" changes nothing to the log or the endresult.

    ppp log (stripped from ipcp lines):

    ppp: [opt2] IFACE: Rename interface ng0 to pppoe0
    ppp: [opt2] IFACE: Up event
    ppp: [opt2] 0217:a4ff:fe0d:4afe -> 6600:f1ff:fee8:8000
    ppp: [opt2] IPV6CP: LayerUp
    ppp: [opt2] IPV6CP: state change Ack-Sent --> Opened
    ppp: [opt2] IPV6CP: rec'd Configure Ack #1 (Ack-Sent)
    ppp: [opt2] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    ppp: [opt2] IPV6CP: state change Req-Sent --> Ack-Sent
    ppp: [opt2] IPV6CP: SendConfigAck #1
    ppp: [opt2] IPV6CP: rec'd Configure Request #1 (Req-Sent)
    ppp: [opt2] IPV6CP: SendConfigReq #1
    ppp: [opt2] IPV6CP: state change Starting --> Req-Sent
    ppp: [opt2] IPV6CP: Up event
    ppp: [opt2] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    ppp: [opt2] IPV6CP: LayerStart
    ppp: [opt2] IPV6CP: state change Initial --> Starting
    ppp: [opt2] IPV6CP: Open event
    ppp: [opt2] Bundle: Status update: up 1 link, total bandwidth 64000 bps
    ppp: [opt2_link0] Link: Join bundle "opt2"
    ppp: [opt2_link0] Link: Matched action 'bundle "opt2" ""'
    ppp: [opt2_link0] LCP: authorization successful
    ppp: [opt2_link0] PAP: rec'd ACK #1 len: 5
    ppp: [opt2_link0] LCP: LayerUp
    ppp: [opt2_link0] PAP: sending REQUEST #1 len: 29
    ppp: [opt2_link0] PAP: using authname "kpnREDH2544ex1"
    ppp: [opt2_link0] LCP: auth: peer wants PAP, I want nothing
    ppp: [opt2_link0] LCP: state change Ack-Sent --> Opened
    ppp: [opt2_link0] MAGICNUM 54e15d80
    ppp: [opt2_link0] MRU 1492
    ppp: [opt2_link0] PROTOCOMP
    ppp: [opt2_link0] LCP: rec'd Configure Ack #1 (Ack-Sent)
    ppp: [opt2_link0] LCP: state change Req-Sent --> Ack-Sent
    ppp: [opt2_link0] MAGICNUM b23a9fe3
    ppp: [opt2_link0] AUTHPROTO PAP
    ppp: [opt2_link0] MRU 1492
    ppp: [opt2_link0] LCP: SendConfigAck #1
    ppp: [opt2_link0] MAGICNUM b23a9fe3
    ppp: [opt2_link0] AUTHPROTO PAP
    ppp: [opt2_link0] MRU 1492
    ppp: [opt2_link0] LCP: rec'd Configure Request #1 (Req-Sent)
    ppp: [opt2_link0] MAGICNUM 54e15d80
    ppp: [opt2_link0] MRU 1492
    ppp: [opt2_link0] PROTOCOMP
    ppp: [opt2_link0] LCP: SendConfigReq #1
    ppp: [opt2_link0] LCP: state change Starting --> Req-Sent
    ppp: [opt2_link0] LCP: Up event
    ppp: [opt2_link0] Link: UP event
    ppp: [opt2_link0] PPPoE: connection successful
    ppp: PPPoE: rec'd ACNAME "bsr01.dcn2"
    ppp: [opt2_link0] PPPoE: Connecting to ''
    ppp: [opt2_link0] LCP: LayerStart
    ppp: [opt2_link0] LCP: state change Initial --> Starting
    ppp: [opt2_link0] LCP: Open event
    ppp: [opt2_link0] Link: OPEN event
    ppp: [opt2] Bundle: Interface ng0 created
    ppp: web: web is not running
    ppp: process 8936 started, version 5.6 (root@snapshots-8_3-i386.builders.pfsense.org 10:49 26-Oct-2012)
    


  • We just replaced the DHCP6 client, it might work better now, please check.



  • Still no luck. I just updated to yesterdays build.

    I hijacked http://forum.pfsense.org/index.php/topic,56880.0.html to post more information.


Locked