Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: pdf layout

...

Basic Bridge Configuration

The following example table shows a simple example of how to create a virtual bridge on Linux and how to add TAP interfaces to it .Example using ip commands:

StepCommand

ip tuntap add dev my_tap0 mod tap


ip link set my_tap0 up

ip link add name my_bridge type bridge

ip link set my_bridge up

ip link set <physical-int> master my_bridge

ip addr delete <ip-address>/<netmask> dev <physical-int>

ip addr add <ip-address>/<netmask> dev my_bridge

ip link set my_tap0 master my_bridge

...