Skip to content

veth pairs creation

Nicolas Bonnand edited this page Aug 30, 2018 · 7 revisions

8.1 veth pairs creation

8.1.1 veth pair p12a - p21a creation

Let's create our first veth pair.

diag

  • a Select 'IP' tab to open tab with iproute2 tools.
  • b Enter p12a
  • c Enter p21a
  • d Push button to validate

8.1.2 veth pair p12b - p21b creation

  • b Replace p12a by p12b
  • c Replace p21a by p21b
  • d Push button to validate

8.1.3 Verification with ip link

diag

  • e Press button
  • f You should see all host interface in Output popup ( including your veth pairs )

8.1.4 Verification with plotnetcfg

diag

  • g Select plotnetcfg tab
  • h validate to refresh diagram
  • m Here you see a docker container 10.0.0.1 that I have already created to prepare this demo. It is connected to br1 through port P1.
  • n Same with a docker container 10.0.0.2 connected to b2 through P2.
  • o First veth pair (p12a-p21a)
  • p Second veth pair (p12b-21b)

Currently there is no connection between br1 and br2. If we try to ping W2 from W1, it will of course not work. diag

Clone this wiki locally