aboutsummaryrefslogtreecommitdiff
path: root/examples/std/tap.sh
diff options
context:
space:
mode:
authorDion Dokter <[email protected]>2025-11-20 13:22:38 +0100
committerDion Dokter <[email protected]>2025-11-20 13:22:38 +0100
commit4f2c36e447455e8d33607d586859d3d075cabf1d (patch)
tree003cd822d688acd7c074dd229663b4648d100f71 /examples/std/tap.sh
parent663732d85abbae400f2dbab2c411802a5b60e9b1 (diff)
parent661874d11de7d93ed52e08e020a9d4c7ee11122d (diff)
Merge branch 'main' into u0-lcd
Diffstat (limited to 'examples/std/tap.sh')
-rw-r--r--examples/std/tap.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/std/tap.sh b/examples/std/tap.sh
new file mode 100644
index 000000000..fb89d2381
--- /dev/null
+++ b/examples/std/tap.sh
@@ -0,0 +1,7 @@
1ip tuntap add name tap99 mode tap user $SUDO_USER
2ip link set tap99 up
3ip addr add 192.168.69.100/24 dev tap99
4ip -6 addr add fe80::100/64 dev tap99
5ip -6 addr add fdaa::100/64 dev tap99
6ip -6 route add fe80::/64 dev tap99
7ip -6 route add fdaa::/64 dev tap99