OVS配置

    Hurray 1396次浏览 0条评论 1865字

#笔记 #SDN #OVS

[https://github.com/openvswitch/ovs/blob/master/Documentation/intro/install/general.rst](https://github.com/openvswitch/ovs/blob/master/Documentation/intro/install/general.rst) 环境Ubuntu 14.04.1(内核3.13.0-39-generic) ``` cd /usr/local/src git clone https://github.com/openvswitch/ovs.git apt-get install build-essential automake make gcc libtool python python-six cd ovs bash boot.sh ./configure --with-linux=/lib/modules/`uname -r`/build 2>/dev/null make -j4 && make install modprobe gre modprobe openvswitch # insmod datapath/linux/openvswitch.ko make modules_install mkdir -p /usr/local/etc/openvswitch ovsdb-tool create /usr/local/etc/openvswitch/conf.db vswitchd/vswitch.ovsschema 2>/dev/null ovsdb-server --remote=punix:/usr/local/var/run/openvswitch/db.sock \ --remote=db:Open_vSwitch,Open_vSwitch,manager_options \ --private-key=db:Open_vSwitch,SSL,private_key \ --certificate=db:Open_vSwitch,SSL,certificate \ --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert \ --pidfile --detach ovs-vsctl --no-wait init ovs-vswitchd --pidfile --detach ```

最后修改: