diff options
| author | Dario Nieuwenhuis <[email protected]> | 2025-01-02 10:30:17 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-01-02 10:30:17 +0000 |
| commit | 87b4d949bdfd67105729d90250d35debf22ad1d8 (patch) | |
| tree | bfb21e6fdc6c7d0606e48bb6a9a5d5a430017026 /examples/std/tap.sh | |
| parent | adf1e424f4e6ec8602b429b2727a7c5ce153558e (diff) | |
| parent | b5ef53ac1349d2c96f37c5186c2f4945604767be (diff) | |
Merge pull request #3702 from BartMassey-upstream/std-example-cosmetics
std example cosmetics
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..39d92a099 --- /dev/null +++ b/examples/std/tap.sh | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | ip tuntap add name tap99 mode tap user $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 | ||
