Last active
August 26, 2021 16:50
-
-
Save yulis/5c20aa7695fc859d357d2285d4c51e7d to your computer and use it in GitHub Desktop.
Revisions
-
yulis revised this gist
Nov 16, 2016 . 1 changed file with 8 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,13 @@ #!/bin/bash # On Host 192.168.100.25 ovs-vsctl add-br testbr0 ovs-vsctl add-port testbr0 tun1 -- set interface tun1 type=internal ifconfig tun1 172.17.17.1 netmask 255.255.255.0 ovs-vsctl add-port testbr0 testvxlan0 -- set interface testvxlan0 type=vxlan options:remote_ip=192.168.100.24 # On Host 192.168.100.24 ovs-vsctl add-br testbr0 ovs-vsctl add-port testbr0 tun1 -- set interface tun1 type=internal ifconfig tun1 172.17.17.2 netmask 255.255.255.0 ovs-vsctl add-port testbr0 testvxlan0 -- set interface testvxlan0 type=vxlan options:remote_ip=192.168.100.25 -
yulis revised this gist
Nov 16, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,10 +4,10 @@ ovs-vsctl add-br testbr0 ovs-vsctl add-port testbr0 testtun0 -- set interface testtun0 type=internal ovs-vsctl ifconfig testtun0 172.17.17.1 netmask 255.255.255.0 ovs-vsctl add-port testbr0 testvxlan0 -- set interface testvxlan0 type=vxlan options:remote_ip=[HOST_B_IP] # On Host B ovs-vsctl add-br testbr0 ovs-vsctl add-port testbr0 testtun0 -- set interface testtun0 type=internal ovs-vsctl ifconfig testtun0 172.17.17.2 netmask 255.255.255.0 ovs-vsctl add-port testbr0 testvxlan0 -- set interface testvxlan0 type=vxlan options:remote_ip=[HOST_A_IP] -
yulis created this gist
Nov 16, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ #!/bin/bash # On Host A ovs-vsctl add-br testbr0 ovs-vsctl add-port testbr0 testtun0 -- set interface testtun0 type=internal ovs-vsctl ifconfig testtun0 172.17.17.1 netmask 255.255.255.0 ovs-vsctl add-port testbr0 testvxlan0 -- set interface testvxlan0 type=vxlan options:remote_ip=[HOST_1_IP] # On Host B ovs-vsctl add-br testbr0 ovs-vsctl add-port testbr0 testtun0 -- set interface testtun0 type=internal ovs-vsctl ifconfig testtun0 172.17.17.2 netmask 255.255.255.0 ovs-vsctl add-port testbr0 testvxlan0 -- set interface testvxlan0 type=vxlan options:remote_ip=[HOST_2_IP]