From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-x22a.google.com (mail-qk0-x22a.google.com [IPv6:2607:f8b0:400d:c09::22a]) (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 C66B53BA8E for ; Sat, 28 Jul 2018 17:03:23 -0400 (EDT) Received: by mail-qk0-x22a.google.com with SMTP id 126-v6so5529201qke.5 for ; Sat, 28 Jul 2018 14:03:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=ZLm+Dj6KcyepZ5K6tNy6YDULs8LPj6mbK1Tkg694NEg=; b=Z2vgC7mi9/hlrVfk92phrIajT89PrBRgLWLKludeuq4pwhjthlqMoZ4xnwMm2jqtg6 Uj3u1PYcqx+6bkPB9gNWI/Z47L1RQ/0mILLMd3PlYgkoO3L1EqNFoIKFwQqhyuyD2pzw txPq2ZKYUmAKNllpXu1b+laHz8yMGvUh337hyTE12wpn1Oqkoe3WZ+wrVqwy2B9Ewp5b j2sVKXRCspVMuXWl6OMxv128D7M0yIer1vshyPj7INaMhriXjbTGjjwc+SZ4Wc+o96uN 1XCGGnCY/AK07K64QCvZYIxEQ+wVIrpnGYdqSaOtFLsUKZU6OjRClgkYAAsBF21MAzr5 c8PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=ZLm+Dj6KcyepZ5K6tNy6YDULs8LPj6mbK1Tkg694NEg=; b=nJf2lpLnIdC9CoUqOTmiPhVzBqu5evUUhBGOYmtZGv6LSqfxOFPDiC7Oz82WIdsT9Z KwYnpULjoJtbtvpmkHXhnCG9HYJQZ3ipvr52MD5SFcVeRK28VdH56n94luOokOQH3Rt3 YYjc5OPdFI9F74HfiI14LaQ3lTTpFx4rPGa/pnxZC0YUZpH3lsRFero3+uMj2T19BRdy w0WF6EQ3QuBR8PIC75L2hsfoCNNwfy6+dmmB3mm/IXRfL46Np2MC9QEIe/N1VRem742/ D1/aS/Qub+BmXG5BF10Ccw+oP8DFJ5GzkS/ln0KMbEo05OzN5MCyrggDl7Z3XLEAQK6t 9Flw== X-Gm-Message-State: AOUpUlEGY2AIRh+BY7Rmr/x6JY+6tE6jcafDIAwm4c+hosVq7jREVb9L znZrrnDFhEnYuXdYYJ/rSKFtLQUKP1H9TZJQW7GDdNsc X-Google-Smtp-Source: AAOMgpfeRc/B320yX8P2aQws6I4XT4PB9NPWfj652RRtyGKytD9go/7pCUdJRXUz42ghOYOEf0z0x7LuqQpAIKJufjQ= X-Received: by 2002:a37:c40d:: with SMTP id d13-v6mr10553394qki.190.1532811803041; Sat, 28 Jul 2018 14:03:23 -0700 (PDT) MIME-Version: 1.0 From: Dave Taht Date: Sat, 28 Jul 2018 14:03:11 -0700 Message-ID: To: Cake List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: [Cake] a start at vething cake for 200 subscribers X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2018 21:03:23 -0000 so I was tempted to try. I didn't enable namespaces. just coded this little bit up... a very quick test of this setup showed I wasn't routing packets through the veth interfaces so I figure network namespaces, and... oh look! the sun's o= ut! #!/bin/bash # Create the bridge ip link add cable type bridge ip link set cable up # Create network namespaces and veth interfaces # do I even need to use namespaces? # do I need ips just to pass it through to the bridge? ip route flush proto 51 for client in `seq 2 10` do c=3Dc${client} ip netns del $c ip netns add $c # probly all this needs to end up in namespaces ip link add ${c}.l type veth peer name ${c}.r ip link set ${c}.l up ip link set ${c}.r up ip addr add 10.10.0.1/24 dev ${c}.l ip addr add 10.10.0.$client/24 dev ${c}.r # fixme add ipv6 subnets # I kind of wanted the route table to be global tho ip route add 10.10.0.$client/32 dev ${c}.l proto 51 # fixme add default route back? tc qdisc replace dev ${c}.l root cake bandwidth 20mbit flows done # fixme hook up to the bridge # fixme hang actual clients off the bridge? or the namespace --=20 Dave T=C3=A4ht CEO, TekLibre, LLC http://www.teklibre.com Tel: 1-669-226-2619