From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id DC4AD3B2A4 for ; Tue, 18 May 2021 07:37:42 -0400 (EDT) Received: by mail-ej1-x634.google.com with SMTP id z12so12609568ejw.0 for ; Tue, 18 May 2021 04:37:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=forwardingplane-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bbzkYu6XD62U6jbXDvoCDhvPG3ImoOQ39Ii3QAuzsJQ=; b=ZuDkCmAUToP70DeRv0IbIq3YVEpsVVlSrHwBy2JceX5rp5KKwj9NXMoS/8E4rV9Hy8 pRpd+yQkr+xYjXqBuRO8oLNMz+MiPHLuFC20YqcsD0xHRa9AN9trJMVg6rwM1qe6J2lb 7dEn54f9hOBZ+lxZbwYaVoTVC1F8piS7J9l02NaWozKG1IYVt5wseG4M9Xwg2neCR2SS ETUuzxoh9ckVOYMbqk4A/THWQWIfKjS4hoWnpJYHhHXiaXkYK664oQ2v+tilE3owuxh3 YXFK/IUKMidRiw9o2ZoQDp9aPJuOWUeJwgZX5iArdJs0MJaVJReSji7yAPqfbGd0eeZb d98g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bbzkYu6XD62U6jbXDvoCDhvPG3ImoOQ39Ii3QAuzsJQ=; b=KySM8Kv1syrSD37cBLVxR/MhWVHoo1SIwIZsEBSHMet493M1wdQ+KHRHtC3FC98uWP 5Chb31q7S3KRszlw/mQeDsAK1z5H4waSS9+HvKmahzDaDG7MbWf3JPjreSBHYU3uZi5v +23G+XEeyIu0KTxNPJAq/22u7yoZYS6rIQLEcHYG6B3+Ny20SU2NUfQjixA33Ncpz6a6 hhiy9F7QTPAE/l3IVoctbHHP5b9R8LHw6bnYIPmshFo2inBAoMH7UmIbd2ugItV9H7fR 2tWuYO9SJEQxOXmENVlWC5dI6bNlj3LKTnFDl/IaiToc5YSGdi7XAXWBWXMNlZ5PaDGq lVEQ== X-Gm-Message-State: AOAM532a9DQaaXl5oSwB1gd7qOn02zD0dqUGk8On8r06cNk+J0Bq86LZ HwNdoZYOLi709deuq6chiWhNGOfJ41HtZCQEK0TbOI4mowPb+w== X-Google-Smtp-Source: ABdhPJxYwGg0JRrBBAFZqawXJTqR285Es8sMzMSTDNrunAJL3qWcjljn8l1OTWIsIFzZi6W+5xKqbgBZNrM/Ur2ONwU= X-Received: by 2002:a17:906:7c4b:: with SMTP id g11mr5526223ejp.461.1621337861611; Tue, 18 May 2021 04:37:41 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Nick Buraglio Date: Tue, 18 May 2021 06:37:30 -0500 Message-ID: To: Annika Wickert Cc: Starlink@lists.bufferbloat.net Content-Type: multipart/alternative; boundary="0000000000004d77b105c2992345" Subject: Re: [Starlink] dhcpv6-pd details X-BeenThere: starlink@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Starlink has bufferbloat. Bad." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2021 11:37:43 -0000 --0000000000004d77b105c2992345 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Interesting. My lease time is set to 5m(!!!) but it=E2=80=99s only changed = once in about 2 months. Where are you located? nb On Tue, May 18, 2021 at 3:33 AM Annika Wickert wrote: > I got dhcpv6-pd running some time ago with wide-dhcpv6 and the following > settings: > > profile default > { > information-only; > > request domain-name-servers; > request domain-name; > > script "/etc/wide-dhcpv6/dhcp6c-script"; > }; > > interface eth0 { > send ia-pd 0; > send ia-na 0; > }; > > id-assoc na 0 { > }; > > id-assoc pd 0 { > prefix-interface wlan0 { > sla-len 8; > sla-id 1; > }; > prefix-interface eth0.222 { > sla-len 8; > sla-id 2; > }; > > }; > > > To request my IPv6 /64 on my WAN interface I run the following every two > minutes, otherwise I lose the address: > /bin/rdisc6 -v eth0 > > With this v6 works very good and I have no issues at all. > > But prefixes change every 24 hours or so > > Best, > Annika > > > On 17. May 2021, at 21:15, Dave Taht wrote: > > On Mon, May 17, 2021 at 12:04 PM Nick Buraglio wrote: > > > As discussed privately with Dave, I have removed the starlink provided > router and replaced it with a Mikrotik RB2011 to allow for more > > > Running routerOS? Latest beta's of that have cake in 'em. > > granular control, and to better tie into my existing network. > > > Starlink provides a router, also? I'm so confused. I thought the dishy > was all there was. Care to tear it apart and describe what's in it? > > This has > allowed me to make a dhcpv6-pd request that is reasonably stable (so > far it has changed once in the last 2 months). The lease time is > incredibly short, which is a little strange but as long as the DHCPv6 > server is the same and remains unchanged, it should just hand out the > same prefix upon request. > > > That was a terrible habit that comcast had got into in the early days > that forced > openwrt to flush and reload the firewall every minute, or less. > > I'd pioneered a stateless firewall in cerowrt that never ever ever > needed to reload the > rules, using a pattern match for each specifically renamed ethernet > interface. > > Regrettably that was not accepted into openwrt, because "nftables" was > just around the corner. > It scaled beautifully to tons of interfaces going up and down so long > as they were named appropriately, > at far less cpu overhead for complicated rules than the standard > openwrt firewall. > > https://www.bufferbloat.net/projects/cerowrt/wiki/CeroWall/?version=3D9 > > Anyway, I don't remember all that we did to suppress the flood of > useless static changes > to everything ipv6, but I hope that whatever we ended up doing still > works in this case. > > I also built a very crude measurement display that just uses curl get > and dig via smokeping to display reasonable RTT. It's detailed in the > reddit post here: > > https://www.reddit.com/r/Starlink/comments/mykxjv/functional_ipv6_and_som= e_crude_starlink_latency/ > and can be viewed directly here: > https://starmon.qosbox.com/ > > > THX! We really need to collect the "good" information and publish it > somewhere, the reddit noise level is too high. > > One piece of mis-information I think was the news you can "route" > packets over ipv4 with a box in front of it and > a default gw of 192.168.100.1 Not clear from that news whether or not > NAT was required on the next hop or not... ? > > (that's from another reddit post I mis-remember) > > > Making dhcpv6-pd work is pretty standard: > > /ipv6 dhcp-client > > add add-default-route=3Dyes interface=3Dether2 pool-name=3Dstarlink-ipv6 > prefix-hint=3D::/56 request=3Dprefix > > On each interface you want to have IPv6 on: > > /ipv6 address > > add address=3D::1 from-pool=3Dstarlink-ipv6 interface=3Dbridge.8 > > add address=3D::1 from-pool=3Dstarlink-ipv6 interface=3Dbridge.6 > > > THANKS SO MUCH. I am thinking at the moment that openwrt's dhcp-pd > implementation is currently > broken (it's not working on admittedly a comcast modem I just got that > I'd not used before), but > as soon as I get a chance I'll try configuring odhcpd6 to do something > like this. If I can remember how. > > > _______________________________________________ > Starlink mailing list > Starlink@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/starlink > > > > > -- > Latest Podcast: > https://www.linkedin.com/feed/update/urn:li:activity:6791014284936785920/ > > Dave T=C3=A4ht CTO, TekLibre, LLC > _______________________________________________ > Starlink mailing list > Starlink@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/starlink > > > _______________________________________________ > Starlink mailing list > Starlink@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/starlink > --0000000000004d77b105c2992345 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Interesting. My lease time is set to 5m(!!!) but it=E2=80= =99s only changed once in about 2 months. Where are you located?=C2=A0

nb

On Tue, May 18, 2021= at 3:33 AM Annika Wickert <aw@awlnx.s= pace> wrote:
I got dhcpv6-pd running some time ago w= ith wide-dhcpv6 and the following settings:

profile defa= ult
{
=C2=A0=C2=A0information-only;

=C2=A0=C2=A0request domain= -name-servers;
=C2=A0=C2=A0request domain-name;

=C2=A0=C2=A0scrip= t=C2=A0"/etc/wide-dhcpv6/dhcp6c-script";
};

interface e= th0 {
=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0send ia-pd 0;
=C2=A0 =C2=A0 = =C2=A0 =C2=A0=C2=A0send ia-na 0;
};

id-assoc na 0 {
};

= id-assoc pd 0 {
=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0prefix-interface wlan0 = {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0sla-len 8= ;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0sla-id 1;=
=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0};
=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2= =A0prefix-interface eth0.222 {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0=C2=A0sla-len 8;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0=C2=A0sla-id 2;
=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0};
};


To request my IPv6 /64 on my WA= N interface I run the following every two minutes, otherwise I lose the add= ress:
/bin/rdisc6 -v eth0

With this v6 w= orks very good and I have no issues at all.

But pr= efixes change every 24 hours or so

Best,
Annika


On 17. May 2= 021, at 21:15, Dave Taht <dave.taht@gmail.com> wrote:

On Mon, May 17, 2021 at 12:04 P= M Nick Buraglio <nick@buraglio.com> wrote:

As discussed privately with Dave, I have removed the starlin= k provided
router and replaced it with a Mikrotik RB2011 to allow for mo= re

Running routerOS? Latest beta's of that have cake= in 'em.

granular control, and to better tie into my exist= ing network.

Starlink provides a router, also? I'm s= o confused. I thought the dishy
was all there was. Care to tear it= apart and describe what's in it?

This has
allowed me= to make a dhcpv6-pd request that is reasonably stable (so
far it has ch= anged once in the last 2 months). The lease time is
incredibly short, wh= ich is a little strange but as long as the DHCPv6
server is the same and= remains unchanged, it should just hand out the
same prefix upon request= .

That was a terrible habit that comcast had got into in= the early days
that forced
openwrt to flush and reload = the firewall every minute, or less.

I'd pi= oneered a stateless firewall in cerowrt that never ever ever
neede= d to reload the
rules, using a pattern match for each specifically= renamed ethernet interface.

= Regrettably that = was not accepted into openwrt, because "nftables" was
ju= st around the corner.
It scaled beautifully to tons of interfaces = going up and down so long
as they were named appropriately,=
at far less cpu overhead for complicated rules than the standard<= br style=3D"font-family:Helvetica;font-size:12px;font-style:normal;font-var= iant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;= text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;tex= t-decoration:none">
https://www.bufferbloat.net/projects/cerowrt/wiki/CeroWall/?= version=3D9

Anyway, I don't remember all that= we did to suppress the flood of
useless static changes
t= o everything ipv6, but I hope that whatever we ended up doing still<= br style=3D"font-family:Helvetica;font-size:12px;font-style:normal;font-var= iant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;= text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;tex= t-decoration:none">
I also built a very crude measurement di= splay that just uses curl get
and dig via smokeping to display reasonabl= e RTT. It's detailed in the
reddit post here:
https://= www.reddit.com/r/Starlink/comments/mykxjv/functional_ipv6_and_some_crude_st= arlink_latency/
and can be viewed directly here:
h= ttps://starmon.qosbox.com/

THX! We really need to co= llect the "good" information and publish it
somewhere, t= he reddit noise level is too high.

One piece o= f mis-information I think was the news you can "route"
p= ackets over ipv4 with a box in front of it and
a default gw of 192= .168.100.1 Not clear from that news whether or not
NAT was require= d on the next hop or not... ?

(that's from= another reddit post I mis-remember)


Making dhcpv6-pd work= is pretty standard:

/ipv6 dhcp-client

add add-default-route= =3Dyes interface=3Dether2 pool-name=3Dstarlink-ipv6
prefix-hint=3D::/56 = request=3Dprefix

On each interface you want to have IPv6 on:

= /ipv6 address

add address=3D::1 from-pool=3Dstarlink-ipv6 interface= =3Dbridge.8

add address=3D::1 from-pool=3Dstarlink-ipv6 interface=3D= bridge.6

THANKS SO MUCH. I am thinking at the moment tha= t openwrt's dhcp-pd
implementation is currently
broke= n (it's not working on admittedly a comcast modem I just got that
I'd not used before), but
as soon as I get a chance I'= ll try configuring odhcpd6 to do something
like this. If I can rem= ember how.


_______________________________= ________________
Starlink mailing list
Starl= ink@lists.bufferbloat.net
https:/= /lists.bufferbloat.net/listinfo/starlink



--=C2=A0=
Latest Podcast:
https://www.linkedin.com/feed/update/urn:li:activity:67910142849367= 85920/

Dave T=C3=A4ht CTO, TekLibre, LLC_______________________________________________
= Starlink mailing = list
Starlink@lists.bufferbloat.net
http= s://lists.bufferbloat.net/listinfo/starlink
_______________________________________________
Starlink mailing list
Starlin= k@lists.bufferbloat.net
https://lists.bufferbloat.net/listinfo/starlink
--0000000000004d77b105c2992345--