diff options
| author | Dion Dokter <[email protected]> | 2025-11-20 13:22:38 +0100 |
|---|---|---|
| committer | Dion Dokter <[email protected]> | 2025-11-20 13:22:38 +0100 |
| commit | 4f2c36e447455e8d33607d586859d3d075cabf1d (patch) | |
| tree | 003cd822d688acd7c074dd229663b4648d100f71 /examples/std/tap.sh | |
| parent | 663732d85abbae400f2dbab2c411802a5b60e9b1 (diff) | |
| parent | 661874d11de7d93ed52e08e020a9d4c7ee11122d (diff) | |
Merge branch 'main' into u0-lcd
Diffstat (limited to 'examples/std/tap.sh')
| -rw-r--r-- | examples/std/tap.sh | 7 |
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 @@ | |||
| 1 | ip tuntap add name tap99 mode tap user $SUDO_USER | ||
| 2 | ip link set tap99 up | ||
| 3 | ip addr add 192.168.69.100/24 dev tap99 | ||
| 4 | ip -6 addr add fe80::100/64 dev tap99 | ||
| 5 | ip -6 addr add fdaa::100/64 dev tap99 | ||
| 6 | ip -6 route add fe80::/64 dev tap99 | ||
| 7 | ip -6 route add fdaa::/64 dev tap99 | ||
