From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2.tohojo.dk (mail2.tohojo.dk [77.235.48.147]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by huchra.bufferbloat.net (Postfix) with ESMTPS id 06D8121F350 for ; Tue, 21 Oct 2014 16:19:02 -0700 (PDT) X-Virus-Scanned: amavisd-new at mail2.tohojo.dk Sender: toke@toke.dk DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toke.dk; s=201310; t=1413933187; bh=pePL2zCiszi4LX0Ve6uYPjvUyzmOi1z/t9kxB5L/hwo=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=iSvfqPF/dOmbmv+19fMzbq0yfysBfLGJROEw9HJYu3jVAPHl28uKsL6dZCmebVydb TRYjoDlE1lcp98LRiClCUNvKhZACZ1Ad+06RDOYm8oX9jmzmc34rRXBA/mwtb8BzVc dU9A1nyXTakl0my6VXkKwfMAiC0OwqgkvOaxD4Is= Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id 044862F643; Tue, 21 Oct 2014 16:18:52 -0700 (PDT) From: =?utf-8?Q?Toke_H=C3=B8iland-J=C3=B8rgensen?= To: Tom Gundersen References: <121767.1413574248@turing-police.cc.vt.edu> <9382.1413826910@turing-police.cc.vt.edu> <544672D3.8020709@redhat.com> <58702.1413908858@turing-police.cc.vt.edu> <54469242.5010506@redhat.com> Date: Tue, 21 Oct 2014 16:18:51 -0700 In-Reply-To: (Tom Gundersen's message of "Tue, 21 Oct 2014 19:24:28 +0200") Message-ID: <87siih9fl0.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain Cc: cerowrt-devel@lists.bufferbloat.net Subject: Re: [Cerowrt-devel] SQM in mainline openwrt, fq_codel considered for fedora default X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2014 23:19:31 -0000 Tom Gundersen writes: > I have now subscribed to cerowrt-devel (long overdue), and I would > very much appreciate any comments you guys may have on our networking > work in systemd. In particular, if there are any more tweaks like > making fq_codel the deafult, which would be the reasonable choice for > 95% of users (most of whom don't know about these things and would > otherwise never touch them), we are very open to suggestions. One thing that has gone into openwrt recently but is not supported in systemd-networkd is source-specific routing. Since I got an internet connection too fast for the WNDR to keep up, I've transitioned to an x86 box running Arch Linux for that link. It uses systemd-networkd to setup most of the networking (which works very well!), but one thing missing is support for source-specific routing. Right now, I have a systemd unit to set up my IPv6 tunnel with this in it: ExecStart=/usr/bin/ip tunnel add he-ipv6 mode sit remote 216.66.80.90 ttl 255 dev enp2s0 ExecStart=/usr/bin/ip link set he-ipv6 up ExecStart=/usr/bin/ip addr add 2001:470:xx::2/64 dev he-ipv6 ExecStart=/usr/bin/ip route add default via 2001:470:xx::1 from 2001:470:yy::/48 proto static ExecStart=/usr/bin/ip route add default via 2001:470:xx::1 from 2001:470:xx::2/128 proto static ExecStart=/usr/bin/ip route add default from ::/128 dev he-ipv6 The top three lines I can replace by a file in /etc/systemd/network, but not the bottom three. Also, having a way to make systemd units depend on network interface availability (and configuration state) would be neat; to do things like start up a VPN daemon when the WAN connection becomes available. :) -Toke