https://redmine.pfsense.org/https://redmine.pfsense.org/favicon.ico?16780521162023-02-06T14:51:10ZpfSense bugtrackerpfSense - Bug #13939: IPv6 does not work on secondary PPPoE WANhttps://redmine.pfsense.org/issues/13939?journal_id=655452023-02-06T14:51:10ZJim Pingle
<ul><li><strong>Target version</strong> set to <i>2.7.0</i></li><li><strong>Plus Target Version</strong> set to <i>23.05</i></li></ul><p>It may only need to ensure the proper scope gets added to that router file, which it isn't doing now.</p>
<p><a class="source" href="https://redmine.pfsense.org/projects/pfsense/repository/2/entry/src/usr/local/sbin/ppp-linkup#L74">source:src/usr/local/sbin/ppp-linkup#L74</a> writes the <code><if>_routerv6</code> file but it just dumps in the value it gets from the peer.</p>
<p>The script needs to be changed so it tests if the address starts with <code>fe80:</code> and if so, add on <code>%${IF}</code> before writing out the contents.</p>
<p>So in this case, the file <code>/tmp/pppoe1_routerv6</code> should contain <code>fe80::f7:ef3a@pppoe1</code></p> pfSense - Bug #13939: IPv6 does not work on secondary PPPoE WANhttps://redmine.pfsense.org/issues/13939?journal_id=655462023-02-06T15:48:06ZReid Linnemann
<ul></ul><p>It actually looks like this was written from the get-go to omit the scope, which is why it does <code>echo ${IP} |cut -d% -f 1 > ...</code> for the ipv6 router and ip file.</p> pfSense - Bug #13939: IPv6 does not work on secondary PPPoE WANhttps://redmine.pfsense.org/issues/13939?journal_id=655472023-02-06T15:48:21ZReid Linnemann
<ul><li><strong>Assignee</strong> set to <i>Reid Linnemann</i></li></ul> pfSense - Bug #13939: IPv6 does not work on secondary PPPoE WANhttps://redmine.pfsense.org/issues/13939?journal_id=662222023-03-16T09:19:56ZRenato Botelhorenato@netgate.com
<ul></ul><p>Reid Linnemann wrote in <a href="#note-2">#note-2</a>:</p>
<blockquote>
<p>It actually looks like this was written from the get-go to omit the scope, which is why it does <code>echo ${IP} |cut -d% -f 1 > ...</code> for the ipv6 router and ip file.</p>
</blockquote>
<p>I removed `| cut` part from ppp-linkup and after this /tmp/pppoeN_routerv6 is correct. Also pf rules are all correct.</p>
<p>I can ping WAN v6 address from outside without any trouble. But I cannot ping external address sourcing from firewall itself. I got an error:</p>
<p>`ping6: bind: Can't assign requested address`</p>
<p>Which I suspect to be caused by the `detached` state of v6 address on pppoe1 interface</p>
<pre>
pppoe1: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1492
description: TRIBENET
inet6 fe80::290:bff:fe7a:8647%pppoe1 prefixlen 64 scopeid 0xc
inet6 2804:184c:8020:658:290:bff:fe7a:8647 prefixlen 64 detached autoconf
inet 200.12.9.201 --> 200.12.0.50 netmask 0xffffffff
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
</pre> pfSense - Bug #13939: IPv6 does not work on secondary PPPoE WANhttps://redmine.pfsense.org/issues/13939?journal_id=662242023-03-16T12:25:19ZRenato Botelhorenato@netgate.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="ppp-linkup: Keep routerv6 address scope Original code was removing address scope from v6 router ..." href="https://redmine.pfsense.org/projects/pfsense/repository/2/revisions/1792ffdb859a5cb40c11360c30989ccc3b7a9271">1792ffdb859a5cb40c11360c30989ccc3b7a9271</a>.</p> pfSense - Bug #13939: IPv6 does not work on secondary PPPoE WANhttps://redmine.pfsense.org/issues/13939?journal_id=668852023-04-17T10:01:06ZJim Pingle
<ul><li><strong>Subject</strong> changed from <i>IPv6 doesn't work on secondary PPPoE WAN</i> to <i>IPv6 does not work on secondary PPPoE WAN</i></li></ul><p>Updating subject for release notes.</p> pfSense - Bug #13939: IPv6 does not work on secondary PPPoE WANhttps://redmine.pfsense.org/issues/13939?journal_id=669012023-04-17T10:24:21ZJim Pingle
<ul><li><strong>Category</strong> changed from <i>IPv6 Router Advertisements (radvd/rtsold)</i> to <i>PPP Interfaces</i></li></ul> pfSense - Bug #13939: IPv6 does not work on secondary PPPoE WANhttps://redmine.pfsense.org/issues/13939?journal_id=672542023-05-03T14:39:57ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul><p>Renato says this is working well on current snapshots and can be closed.</p>