https://redmine.pfsense.org/https://redmine.pfsense.org/favicon.ico?16780521162020-02-21T00:55:51ZpfSense bugtrackerpfSense - Bug #9710: IPv6 RA: prefix option does not contain router address in spite of "R" flag being sethttps://redmine.pfsense.org/issues/9710?journal_id=446982020-02-21T00:55:51ZViktor Gurov
<ul></ul><p>I also found that 'AdvRouterAddr on' is used everywhere in radvd.conf, but this is incorrect (radvd.conf(5)):<br /><em>When set, indicates that the address of interface is sent instead of network prefix, as is required by Mobile IPv6. When set, minimum limits specified by Mobile IPv6 are used for MinRtrAdvInterval and MaxRtrAdvInterval.</em></p>
<p>or is it some kind of workaround?</p>
<p>fix:<br /><a class="external" href="https://github.com/pfsense/pfsense/pull/4199">https://github.com/pfsense/pfsense/pull/4199</a></p> pfSense - Bug #9710: IPv6 RA: prefix option does not contain router address in spite of "R" flag being sethttps://redmine.pfsense.org/issues/9710?journal_id=447162020-02-21T10:09:24ZRenato Botelhorenato@netgate.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Pull Request Review</i></li><li><strong>Assignee</strong> set to <i>Renato Botelho</i></li><li><strong>Target version</strong> set to <i>2.5.0</i></li></ul> pfSense - Bug #9710: IPv6 RA: prefix option does not contain router address in spite of "R" flag being sethttps://redmine.pfsense.org/issues/9710?journal_id=469382020-06-24T09:29:41ZRenato Botelhorenato@netgate.com
<ul><li><strong>Status</strong> changed from <i>Pull Request Review</i> to <i>Feedback</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>PR has been merged. Thanks!</p> pfSense - Bug #9710: IPv6 RA: prefix option does not contain router address in spite of "R" flag being sethttps://redmine.pfsense.org/issues/9710?journal_id=477212020-09-12T10:56:19ZRick Coats
<ul></ul><p>Feedback: This has been implemented incorrectly.</p>
<p>Tested on:<br />2.5.0-DEVELOPMENT (amd64)<br />built on Thu Sep 10 13:02:00 EDT 2020<br />FreeBSD 12.2-PRERELEASE</p>
<p>This change in <a class="external" href="https://github.com/pfsense/pfsense/pull/4199">https://github.com/pfsense/pfsense/pull/4199</a> sets the 'AdvRouterAddr' on for unmanaged networks.</p>
<p>The 'AdvRouterAddr' flag should only be set if the router implements ipv6 mobility. As far as I can tell pfSense does not implement ipv6 mobility or if it does it provides no facility to configure it. If it did provide this facility it is not related to whether it is "Unmanaged" or any of the other radvd settings.</p>
<p>Correct implementation would have been to remove the 'AdvRouterAddr' and set the prefix to all zeros in the right portion.<br />i.e.<br />This is what is generated for the prefix:</p>
<pre><code>prefix <strong>fd04:6ddc:fe8e:e010::1:1/64</strong> {<br /> DeprecatePrefix on;<br /> AdvOnLink on;<br /> AdvAutonomous on;<br /> <strong>AdvRouterAddr on;</strong><br /> AdvValidLifetime 86400;<br /> AdvPreferredLifetime 14400;<br /> };</code></pre>
<p>This is what should have been generated:<br /> prefix <strong>fd04:6ddc:fe8e:e010::/64</strong> {<br /> DeprecatePrefix on;<br /> AdvOnLink on;<br /> AdvAutonomous on;<br /> AdvValidLifetime 86400;<br /> AdvPreferredLifetime 14400;<br /> };</p> pfSense - Bug #9710: IPv6 RA: prefix option does not contain router address in spite of "R" flag being sethttps://redmine.pfsense.org/issues/9710?journal_id=477222020-09-12T11:00:51ZRick Coats
<ul></ul><p>I think this would be dependent on Feature 6827, Add Proxy Mobile IPv6 (PMIPv6)</p> pfSense - Bug #9710: IPv6 RA: prefix option does not contain router address in spite of "R" flag being sethttps://redmine.pfsense.org/issues/9710?journal_id=477482020-09-14T07:20:59ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>New</i></li></ul> pfSense - Bug #9710: IPv6 RA: prefix option does not contain router address in spite of "R" flag being sethttps://redmine.pfsense.org/issues/9710?journal_id=477592020-09-14T08:50:56ZViktor Gurov
<ul></ul><p>Right, <a class="external" href="https://tools.ietf.org/html/rfc6275#page-65">https://tools.ietf.org/html/rfc6275#page-65</a>:<br /><pre>
Mobile IPv6 extends Neighbor Discovery to allow a router to advertise
its global address, by the addition of a single flag bit in the
format of a Prefix Information option for use in Router Advertisement
messages.
</pre></p>
<p>Fix:<br /><a class="external" href="https://github.com/pfsense/pfsense/pull/4449">https://github.com/pfsense/pfsense/pull/4449</a></p> pfSense - Bug #9710: IPv6 RA: prefix option does not contain router address in spite of "R" flag being sethttps://redmine.pfsense.org/issues/9710?journal_id=477642020-09-14T09:10:44ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Pull Request Review</i></li></ul> pfSense - Bug #9710: IPv6 RA: prefix option does not contain router address in spite of "R" flag being sethttps://redmine.pfsense.org/issues/9710?journal_id=477892020-09-17T08:26:36ZRenato Botelhorenato@netgate.com
<ul><li><strong>Status</strong> changed from <i>Pull Request Review</i> to <i>Feedback</i></li></ul><p>PR has been merged. Thanks!</p> pfSense - Bug #9710: IPv6 RA: prefix option does not contain router address in spite of "R" flag being sethttps://redmine.pfsense.org/issues/9710?journal_id=478892020-09-21T13:18:10ZRick Coats
<ul></ul><p>Feedback:<br />Tested on:<br />2.5.0-DEVELOPMENT (amd64)<br />built on Mon Sep 21 07:00:38 EDT 2020<br />FreeBSD 12.2-PRERELEASE</p>
<p>Results of radvd.conf are as expected now.</p>
<pre>
# Automatically Generated, do not edit
# Generated for DHCPv6 Server lan
interface hn1 {
AdvSendAdvert on;
MinRtrAdvInterval 5;
MaxRtrAdvInterval 20;
AdvLinkMTU 1500;
AdvDefaultPreference medium;
prefix fd04:6ddc:fe8e:e010::/64 {
DeprecatePrefix on;
AdvOnLink on;
AdvAutonomous on;
AdvValidLifetime 86400;
AdvPreferredLifetime 14400;
};
route ::/0 {
AdvRoutePreference medium;
RemoveRoute on;
};
RDNSS fd04:6ddc:fe8e:e010::1:1 { };
DNSSL localdomain { };
};
</pre> pfSense - Bug #9710: IPv6 RA: prefix option does not contain router address in spite of "R" flag being sethttps://redmine.pfsense.org/issues/9710?journal_id=478922020-09-21T13:58:46ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul>