pastebin - collaborative debugging tool RSS

ip tuntap #003
Posted by Anonymous on Wed 30th Mar 2022 14:31
raw | new post
view followups (newest first): ssh tuntap #017 by Anonymous
modification of post by Anonymous (view diff)

  1. #!/usr/bin/ksh93
  3. #
  4. # Misc:
  5. # network-manager info: $ nmcli -o d #
  6. #
  8. set -o errexit
  9. set -o xtrace
  11. # prevent network-manager from interfering
  12. nmcli dev set eno1 managed no
  14. # set up bridge and tap device
  15. ip link add myevilbridge1 type bridge
  16. nmcli dev set myevilbridge1 managed no
  17. ip link set myevilbridge1 up
  19. ip link set eno1 master myevilbridge1
  21. ip tuntap add mytest5 mode tap
  22. nmcli dev set mytest5 managed no
  23. ip link set mytest5 master myevilbridge1
  24. ip link set mytest5 up
  27. # EOF.

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}

All content is user-submitted.
The administrators of this site ( are not responsible for their content.
Abuse reports should be emailed to us at