UDE

Linking switches
Login

Linking switches

Purpose: explain udelink as a cable, between UDE and VDE switches, locally or over ssh, and how to avoid loops.

Template. This page is an outline. Each TODO heading lists what the section should cover; replace the notes with prose. Every option is in udelink(1).

TODO: A cable

TODO: Across hosts

TODO: Loops

86Box guest NIC udedhcpd 10.0.0.1/24 udeping udeswitch 127.0.0.1:7500 udelink cable vde_switch /tmp/sw QEMU vde:/// vde_plug or TAP udedump monitor
scale = 0.85
linewid = 0.6
boxht = 0.55
boxwid = 1.15
down
Box86: box "86Box" "guest NIC" fit
move 0.35
Dhcp: box "udedhcpd" "10.0.0.1/24" fit
move 0.35
Ping: box "udeping" fit
SW: box "udeswitch" "127.0.0.1:7500" wid 1.6 ht 0.8 at Dhcp + (2.3, 0)
Link: box "udelink" "cable" fit at SW + (2.0, 0)
VDE: box "vde_switch" "/tmp/sw" wid 1.5 ht 0.7 at Link + (2.0, 0)
Qemu: box "QEMU" "vde:///" fit at VDE + (1.9, 0.7)
Tap:  box "vde_plug" "or TAP" fit at VDE + (1.9, -0.7)
line from Box86.e to SW.nw
line from Dhcp.e to SW.w
line from Ping.e to SW.sw
arrow from SW.e to Link.w
arrow from Link.e to VDE.w
line from VDE.e to Qemu.w
line from VDE.e to Tap.w
Mon: box "udedump" "monitor" fit at SW + (0, -1.25)
arrow <-> from SW.s to Mon.n
udeswitch host 1 udelink 127.0.0.1:7500 - ssh udelink - 127.0.0.1:7500 udeswitch host 2 stdio stdio TODO: dpipe udelink 127.0.0.1:7500 - = ssh host udelink - 127.0.0.1:7500
A: box "udeswitch" "host 1" fit
L1: box "udelink" "127.0.0.1:7500 -" fit at A + (2.2, 0)
S: box "ssh" fit at L1 + (2.0, 0)
L2: box "udelink" "- 127.0.0.1:7500" fit at S + (2.0, 0)
B: box "udeswitch" "host 2" fit at L2 + (2.2, 0)
arrow <-> from A.e to L1.w
arrow <-> from L1.e to S.w "stdio" above
arrow <-> from S.e to L2.w "stdio" above
arrow <-> from L2.e to B.w
text "TODO: dpipe udelink 127.0.0.1:7500 - = ssh host udelink - 127.0.0.1:7500" at S + (0, -0.8)