Z
Z
zetter2016-07-25 12:57:46
ubuntu
zetter, 2016-07-25 12:57:46

How to connect 2 open vswitch switches?

I configured this manu ivirt-it.ru/open-vswitch-gre-tuneling That
is,
Node 1.
# ovs-vsctl add-br ovs-sw0
# ovs-vsctl add-port ovs-sw0 eth0
# ovs-vsctl add- port ovs-sw0 tun0
# ovs-vsctl set interface tun0 type=internal
# ifconfig tun0 192.168.1.151 netmask 255.255.255.0
Node 2.
# ifconfig tun0 192.168.1.152 netmask 255.255.255.0
Node 1.
# ovs-vsctl add-br is- br0
# ovs-vsctl add-port is-br0 tun1
# ovs-vsctl set interface tun1 type=internal
# ifconfig tun1 10.200.10.1 netmask 255.255.255.0
Node 2.
# ifconfig tun1 10.200.10.2 netmask 255.255.255.0
Node 1.
# ovs-vsctl add-port is-br0 gre0 -- set interface gre0 type=gre options:remote_ip=192.168.1.152
Host 2.
# ovs-vsctl add-port is-br0 gre0 -- set interface gre0 type=gre options: remote_ip=192.168.1.151
raised open vswitch on 2 virtual machines, set up a gre-tunnel, everything stopped pinging, both the world and each other virtual machines do not ping ....
How to be?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question