...
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:
Step | Command |
---|---|
| |
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 |
...