Changes between Version 3 and Version 4 of PluggingIn
- Timestamp:
- Mar 20, 2012 11:47:28 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PluggingIn
v3 v4 15 15 For platforms that do not have VDE support, TAP support is sufficient. {{{vde_plug2tap}}} acts as an adapter between a VDE switch port and a TAP interface. VDE also comes with {{{vde_tunctl}}} which can create TAP interfaces on the fly to be used by other apps. 16 16 17 The following example illustrates how one might do this with QEMU. QEMU has native VDE support, but we'll assume for a moment that we can't use it :17 The following example illustrates how one might do this with QEMU. QEMU has native VDE support, but we'll assume for a moment that we can't use it. 18 18 19 19 {{{ … … 24 24 25 25 vde_tunctl tap0 26 vde_plug2tap -d -s $SWITCH_SOCKET -p $SWITCH_PORT 26 vde_plug2tap -d -s $SWITCH_SOCKET -p $SWITCH_PORT tap0 27 27 qemu -net nic -net tap,ifname=tap0 fs.img 28 28 }}} 29 29 30 30 If you don't even have TAP support.. get creative. Chances are if you can talk to a file descriptor pair {{{vde_plug}}} will work for you. 31 32 === Interface Attributes === 33 34 The info you care about will be attributes on each interface. 35 36 * {{{ip4_address}}} 37 * {{{ip4_netmask}}} 38 * {{{benito:mac_address}}} 39 * {{{benito:vde_switch}}} (switch socket full path) 40 * {{{benito:vde_port}}} (switch port) 31 41 32 42 === Control Net ===