# install openvswitch
apt install -y openvswitch-switch
# install brctl
apt install -y bridge-utils
# reset ip
docker --bip "192.168.10.1/24"
# other side
docker --bip "192.168.11.1/24"
# restart
systemctl restart docker
# create bridge
ovs-vsctl add-br br0
# see
ifconfig br0
ovs-vsctl add-port br0 gre0 -- set Interface gre0 type=gre option:remote_ip=172.16.0.56
# other side
ovs-vsctl add-port br0 gre0 -- set Interface gre0 type=gre option:remote_ip=172.16.0.57
# add br0 to docker0
brctl addif docker0 br0
# boot br0
ip link set dev br0 up
# bool docker0
ip link set dev docker0 up
# add to route table
ip route add 192.168.0.0/16 dev docker0
# check
brctl show

## test using docker image busybox