Created
September 1, 2012 21:14
This file contains 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 characters
apt-get update | |
apt-get install -y linux-headers-virtual | |
apt-get install -y openvswitch-datapath-dkms | |
apt-get install -y openvswitch-switch openvswitch-controller openvswitch-brcompat | |
/etc/init.d/openvswitch-switch start | |
ovs-vsctl add-br br0 | |
sudo ovs-vsctl add-port br0 gre0 -- set interface gre0 type=gre options:remote_ip=10.8.0.3 | |
sudo ovs-vsctl add-port br0 gre1 -- set interface gre1 type=gre options:remote_ip=10.8.0.5 | |
ovs-vsctl add-port br0 test -- set interface test type=internal | |
ifconfig test 172.24.16.1/24 up | |
ifconfig br0 up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment