From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-a1p-077720.sys.comcast.net (resqmta-a1p-077720.sys.comcast.net [IPv6:2001:558:fd01:2bb4::6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 09C473B29D for ; Wed, 1 Feb 2023 15:21:33 -0500 (EST) Received: from resomta-a1p-077245.sys.comcast.net ([96.103.145.236]) by resqmta-a1p-077720.sys.comcast.net with ESMTP id NEKYpjNkJ5cWpNJbopH4w9; Wed, 01 Feb 2023 20:21:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcastmailservice.net; s=20211018a; t=1675282892; bh=6tqnI9Q24uOyHNtitixWB0TnNaPUf89ctWjWI7vbEu4=; h=Received:Received:Received:Date:From:To:Subject:Message-ID: MIME-Version:Content-Type:Xfinity-Spam-Result; b=KrhpsXF0LYwBdnhcWVpJ8UJWEbBf98fwDyhLQaTqUxMBntmKuaM6XMLqgYSNQF56Y +eG74ek5yB3z70tGLHEOtqtq5Y5l62IWn6p1RWuUYQ8ubSV2YLz0/MDxgdtqgY902F Nb/NnLg7VQksRg9+jvkYozRb31On3Px7ulXO+Q7/BlCBR6WpXTj32l+kgITq/cj3xy 1+LwihM3+obG0VkbQPWQ4hbQY6IddDu8XP2PBwsFFrK3M9k30cknzAgxNl0QOlLrj9 qm2ms7+kMDkoDCc2TFoeDBnZWNEY086kUW2O+fvHtz1C++2580Tytz06bUkjk0Vl3I c58tuu9T2eOiQ== Received: from home.sewingwitch.com ([98.35.153.117]) by resomta-a1p-077245.sys.comcast.net with ESMTPA id NJbHpSPiy3yGcNJbRpVhxZ; Wed, 01 Feb 2023 20:21:10 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgedvhedrudefiedgudefkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucevohhmtggrshhtqdftvghsihdpqfgfvfdppffquffrtefokffrnecuuegrihhlohhuthemuceftddunecunecujfgurhepfffhvffukffogggtgfgusehtjeeitdfntddvnecuhfhrohhmpefmvghnnhgvthhhucfrohhrthgvrhcuoehshhhivhgrsehsvgifihhnghifihhttghhrdgtohhmqeenucggtffrrghtthgvrhhnpeelhfegudekiedvgeekkeejkeefjefhkeffffdufedthefhfeeuffdutdeihefgfeenucffohhmrghinhepshhtrggtkhgvgigthhgrnhhgvgdrtghomhdpshhpvggvughtvghsthdrnhgvthenucfkphepleekrdefhedrudehfedruddujeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopehhohhmvgdrshgvfihinhhgfihithgthhdrtghomhdpihhnvghtpeelkedrfeehrdduheefrdduudejpdhmrghilhhfrhhomhepshhhihhvrgesshgvfihinhhgfihithgthhdrtghomhdpnhgspghrtghpthhtohepuddprhgtphhtthhopegslhhorghtsehlihhsthhsrdgsuhhffhgvrhgslhhorghtrdhnvght X-Xfinity-VMeta: sc=0.00;st=legit Received: from [10.96.7.39] ([10.96.7.39]) (authenticated bits=0) by home.sewingwitch.com (8.14.7/8.14.7) with ESMTP id 311KKtOL014326 for ; Wed, 1 Feb 2023 12:20:56 -0800 DKIM-Filter: OpenDKIM Filter v2.11.0 home.sewingwitch.com 311KKtOL014326 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sewingwitch.com; s=default; t=1675282856; bh=6tqnI9Q24uOyHNtitixWB0TnNaPUf89ctWjWI7vbEu4=; h=Date:From:To:Subject:From; b=2ANFufDfCzxw4MDY9jEVu7Lx9qf8MOH/SBVyiASDfmh9XkrtIejxkYlAmsm9tgWBO 2HfZ3E9JHWwD9ukik91G8jUAKxANhTwlxShjEycmlCAk4rTs0wq0vtGhCa2FKIFb9d NXVGAZb+Pm+3nqmaSt6a6frSZathm/7BHMAtMz7I= Date: Wed, 01 Feb 2023 12:20:56 -0800 From: Kenneth Porter To: Bufferbloat Mailing List Message-ID: <2DD7056F81C7C7313FBA93EA@[10.96.7.39]> X-Mailer: Mulberry/4.1.0a3 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline; size=1524 X-Scanned-By: MIMEDefang 3.2 on 10.96.0.132 Subject: [Bloat] speedtest-cli on multihomed gateway X-BeenThere: bloat@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: General list for discussing Bufferbloat List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2023 20:21:34 -0000 I'm trying to get my head around how to run speedtest-cli on a Rocky 8 box (RHEL8 respin) with LAN and three WAN connections. I want to run speedtest-cli on all the WAN links to test each, and run the tests from a timer to watch the speeds throughout the day (eg. a symlink to a test script in /etc/cron.hourly or a systemd timer unit). speedtest-cli accepts a --source option but it wants to always route through the WAN link set to the default route when I specify the addresses of the other two. From googling around it looks like I want to run it in a "network namespace" but I haven't figured out how to make that work. I found this stackexchange answer on the namespace basics but I think I need a few more commands to actually make an app usable in the namespace by ifup'ing the interface, routing, and DNS. https://unix.stackexchange.com/questions/234583/routing-on-per-application-basis Hardware setup: eno1: LAN, 10.96.0.64, default route for LAN eno2: WAN1, 172.24.96.xxx, to ATT fiber gateway at 172.24.96.1 eno3: WAN2, 172.24.69.xxx, to Xfinity gateway at 172.24.69.1 eno4: WAN3, 172.24.0.xxx, to Xfinity gateway at 172.24.0.1 What I'm trying: # ip netns add comcast-1 # ip link set eno4 netns comcast-1 # ip netns exec comcast-1 speedtest-cli Retrieving speedtest.net configuration... Cannot retrieve speedtest configuration ERROR: At this point I'm not sure what I need to do to make the network namespace usable.