jubeormk1 43ff562b5a Adjustments for std examples
I extended the README.md file to extend instructions for the rest of network examples

I modified the tap.sh script to give ownership to the user running it and avoiding running the examples with sudo. This would help someone using a debuger.
2025-05-22 15:41:43 +10:00

8 lines
259 B
Bash

ip tuntap add name tap99 mode tap user $SUDO_USER
ip link set tap99 up
ip addr add 192.168.69.100/24 dev tap99
ip -6 addr add fe80::100/64 dev tap99
ip -6 addr add fdaa::100/64 dev tap99
ip -6 route add fe80::/64 dev tap99
ip -6 route add fdaa::/64 dev tap99