Skip to content

Instantly share code, notes, and snippets.

@jpillora
Last active February 6, 2023 01:01
Show Gist options
  • Select an option

  • Save jpillora/50d9739f2d1c21ae175a2edfadc2529f to your computer and use it in GitHub Desktop.

Select an option

Save jpillora/50d9739f2d1c21ae175a2edfadc2529f to your computer and use it in GitHub Desktop.

Revisions

  1. jpillora revised this gist Feb 6, 2023. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,10 @@
    1. Setup multipass
    1. Setup multipass https://multipass.run/

    1. Setup XQuartz
    1. Setup XQuartz https://www.xquartz.org/

    1. Run ubuntu and connect over ssh

    1. Setup mininet with `apt`
    1. Setup mininet http://mininet.org/ with `sudo apt install mininet`

    1. Open one tab with Wireshark, using `ssh -X ubuntu@<ip> sudo -E wireshark`

  2. jpillora created this gist Feb 6, 2023.
    24 changes: 24 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    1. Setup multipass

    1. Setup XQuartz

    1. Run ubuntu and connect over ssh

    1. Setup mininet with `apt`

    1. Open one tab with Wireshark, using `ssh -X ubuntu@<ip> sudo -E wireshark`

    1. Open another tab with Mininet, using:

    ```sh
    ubuntu@<ip>
    # Welcome to Ubuntu 22.04.1 LTS
    # one-time setup
    git clone https://github.com/mininet/mininet
    mininet/util/install.sh -w
    # start mininet
    sudo mn
    # mininet>
    h1 ping h2
    # works
    ```