Bug #9324: IPv6 on top of a PPPOE ipv4 interface assigns parent interface to default route, not pppoe interface - pfSense (original) (raw)

Hi,
Have been seeing this since at least 2.4, and persists in 2.4.4-p2

WAN: vdsl, via modem on em1
ipv4 config: pppoe
ipv6 config: SLAAC

ISP provides link local only on wan, with an fe80::x gateway address.
When this interface comes up, pfsense sets the default route to the pppoe interfaces parent nic, rather than the pppoe1 interface.

This is easy to fix from console for a single ipv6 wan, simply change the default route and specify %pppoe1 rather than %em1
However I now have 2 ISPs who both support ipv6 - I am unable to get the second ISP working at all.

After a clean boot, this is what is required to get ipv6 traffic flowing:

[2.4.4-RELEASE][root@pfsense.office.tandyukservers.co.uk]/root: route n show default route to: 0.0.0.0 destination: 0.0.0.0 mask: 0.0.0.0 gateway: 212.42.162.225 fib: 0 interface: pppoe1 flags: <UP,GATEWAY,DONE,STATIC> recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1492 1 0 [2.4.4-RELEASE][root@pfsense.office.tandyukservers.co.uk]/root: route -n6 show default route to: :: destination: :: mask: :: gateway: fe80::f2f7:55ff:fe55:d300%re1 fib: 0 interface: re1 flags: <UP,GATEWAY,DONE,STATIC> recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1500 1 0 [2.4.4-RELEASE][root@pfsense.office.tandyukservers.co.uk]/root: ping6 google.com PING6 2a02:13a0:a006:1::1 -> 2a00:1450:4009:80c::200e
^C
--- google.com ping6 statistics ---
6 packets transmitted, 0 packets received, 100.0% packet loss
[2.4.4-RELEASE][root@pfsense.office.tandyukservers.co.uk]/root: route n6 change default fe80::f2f7:55ff:fe55:d300%pppoe1 change net default: gateway fe80::f2f7:55ff:fe55:d300%pppoe1 [2.4.4-RELEASE][root@pfsense.office.tandyukservers.co.uk]/root: route -n6 show default route to: :: destination: :: mask: :: gateway: fe80::f2f7:55ff:fe55:d300%pppoe1 fib: 0 interface: pppoe1 flags: <UP,GATEWAY,DONE,STATIC> recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1492 1 0 [2.4.4-RELEASE][root@pfsense.office.tandyukservers.co.uk]/root: ping6 google.com PING6 2a02:13a0:a006:1::1 -> 2a00:1450:4009:80c::200e
16 bytes from 2a00:1450:4009:80c::200e, icmp_seq=0 hlim=57 time=16.731 ms
16 bytes from 2a00:1450:4009:80c::200e, icmp_seq=1 hlim=57 time=16.450 ms
16 bytes from 2a00:1450:4009:80c::200e, icmp_seq=2 hlim=57 time=16.734 ms
16 bytes from 2a00:1450:4009:80c::200e, icmp_seq=3 hlim=57 time=17.052 ms
16 bytes from 2a00:1450:4009:80c::200e, icmp_seq=4 hlim=57 time=16.207 ms
^C
--- google.com ping6 statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 16.207/16.635/17.052/0.286 ms