Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2025 05:26:12 +0200
From:      John Hay <john@sanren.ac.za>
To:        Karl Denninger <karl@denninger.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: rtadvd appears to ignore options set in /etc/rtadvd.conf
Message-ID:  <CAGv8uaoOJ5K3DghoXJHzGchTT_8xMdmOQyrQbFHJ73nUMB2fzw@mail.gmail.com>
In-Reply-To: <bfb35bcc-f69b-40f9-adde-d6cb70d38246@denninger.net>
References:  <2ceaf7ed-3a04-47f3-a1f1-9f8a40cab9ef@denninger.net> <nr9p9rsq-8o1p-3159-onqo-349p5q667864@yvfgf.mnoonqbm.arg> <bfb35bcc-f69b-40f9-adde-d6cb70d38246@denninger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000c7cf26063aa46311
Content-Type: text/plain; charset="UTF-8"

Hi Karl,

What if you use a = instead of the #? For example :vltime=86400:

I set rdnss and dnssl using = and that works.

John


On Thu, 24 Jul 2025 at 01:38, Karl Denninger <karl@denninger.net> wrote:

> On 7/23/2025 16:47, Bjoern A. Zeeb wrote:
>
> On Wed, 23 Jul 2025, Karl Denninger wrote:
>
> Hi,
>
> (sorry I deleted the message as the tex/only part was barely parsable).
>
> Can you, for testing, try adding an
>     addr="xxx:xxx:xxx:xxxx::":\
> to one of your entries and see if the behaviour changes?
>
> /bz
>
> root@IpGw:/etc # more /etc/rtadvd.conf
> # Set the preferred lifetime to 10 minutes on advertised prefixes.
> # All other parameters are default.
> #
> default:\
>         :vltime#86400:\
>         :pltime#3600:\
>         :prefixlen#64:addr="xxx:xxx:xxx:xxxx::":
> ix1:\
>         :vltime#86400:\
>         :pltime#3600:\
>         :prefixlen#64:addr="xxx:xxx:xxx:xxxx::":
> ix1.4:\
>         :vltime#86400:\
>         :pltime#3600:\
>         :prefixlen#64:
>
> No change -- the announcement is going out on ix1 from the gateway.
>
> On machine receiving the advertisements:
>
> 19:35:49.085297 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 56)
> fe80::2e0:b4ff:fe68:f895 > ff02::1: [icmp6 sum ok] ICMP6, router
> advertisement, length 56
>         hop limit 64, Flags [none], pref medium, router lifetime 1800s,
> reachable time 0ms, retrans timer 0ms
>           source link-address option (1), length 8 (1): 00:e0:b4:68:f8:95
>           prefix info option (3), length 32 (4): 2606:83c0:8000:1b00::/64,
> Flags [onlink, auto], *valid time 2592000s, pref. time 604800s*
>
>
> --
> Karl Denninger
> karl@denninger.net
> *The Market Ticker*
> *[S/MIME encrypted email preferred]*
>

--000000000000c7cf26063aa46311
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi Karl,</div><div><br></div><div>What if you use a =
=3D instead of the #? For example :vltime=3D86400:</div><div><br></div><div=
>I set rdnss and dnssl using =3D and that works.</div><div><br></div><div>J=
ohn</div><div><br></div></div><br><div class=3D"gmail_quote gmail_quote_con=
tainer"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, 24 Jul 2025 at 01:38,=
 Karl Denninger &lt;<a href=3D"mailto:karl@denninger.net">karl@denninger.ne=
t</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin=
:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"=
><u></u>

 =20
   =20
 =20
  <div>
    <div>On 7/23/2025 16:47, Bjoern A. Zeeb
      wrote:<br>
    </div>
    <blockquote type=3D"cite">On
      Wed, 23 Jul 2025, Karl Denninger wrote:
      <br>
      <br>
      Hi,
      <br>
      <br>
      (sorry I deleted the message as the tex/only part was barely
      parsable).
      <br>
      <br>
      Can you, for testing, try adding an
      <br>
      =C2=A0=C2=A0=C2=A0=C2=A0addr=3D&quot;xxx:xxx:xxx:xxxx::&quot;:\
      <br>
      to one of your entries and see if the behaviour changes?
      <br>
      <br>
      /bz=C2=A0<br>
      <br>
    </blockquote>
    root@IpGw:/etc # more /etc/rtadvd.conf<br>
    # Set the preferred lifetime to 10 minutes on advertised prefixes.<br>
    # All other parameters are default.<br>
    #<br>
    default:\<br>
    =C2=A0 =C2=A0 =C2=A0 =C2=A0 :vltime#86400:\<br>
    =C2=A0 =C2=A0 =C2=A0 =C2=A0 :pltime#3600:\<br>
    =C2=A0 =C2=A0 =C2=A0 =C2=A0 :prefixlen#64:addr=3D&quot;xxx:xxx:xxx:xxxx=
::&quot;:<br>
    ix1:\<br>
    =C2=A0 =C2=A0 =C2=A0 =C2=A0 :vltime#86400:\<br>
    =C2=A0 =C2=A0 =C2=A0 =C2=A0 :pltime#3600:\<br>
    =C2=A0 =C2=A0 =C2=A0 =C2=A0 :prefixlen#64:addr=3D&quot;xxx:xxx:xxx:xxxx=
::&quot;:<br>
    ix1.4:\<br>
    =C2=A0 =C2=A0 =C2=A0 =C2=A0 :vltime#86400:\<br>
    =C2=A0 =C2=A0 =C2=A0 =C2=A0 :pltime#3600:\<br>
    =C2=A0 =C2=A0 =C2=A0 =C2=A0 :prefixlen#64:<br>
    <p>No change -- the announcement is going out on ix1 from the
      gateway.</p>
    <p>On machine receiving the advertisements:</p>
    <p>19:35:49.085297 IP6 (hlim 255, next-header ICMPv6 (58) payload
      length: 56) fe80::2e0:b4ff:fe68:f895 &gt; ff02::1: [icmp6 sum ok]
      ICMP6, router advertisement, length 56<br>
      =C2=A0 =C2=A0 =C2=A0 =C2=A0 hop limit 64, Flags [none], pref medium, =
router lifetime
      1800s, reachable time 0ms, retrans timer 0ms<br>
      =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 source link-address option (1), le=
ngth 8 (1):
      00:e0:b4:68:f8:95<br>
      =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 prefix info option (3), length 32 =
(4):
      2606:83c0:8000:1b00::/64, Flags [onlink, auto], <b><u>valid time
          2592000s, pref. time 604800s</u></b><br>
      <br>
    </p>
    <br>
    <div>-- <br>
      Karl Denninger<br>
      <a href=3D"mailto:karl@denninger.net" target=3D"_blank">karl@denninge=
r.net</a><br>
      <i>The Market Ticker</i><br>
      <font size=3D"-2"><i>[S/MIME encrypted email preferred]</i></font></d=
iv>
  </div>

</blockquote></div>

--000000000000c7cf26063aa46311--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGv8uaoOJ5K3DghoXJHzGchTT_8xMdmOQyrQbFHJ73nUMB2fzw>