OVN 安装,使用,流表分析
作者:互联网
文章目录
OVN 安装
环境准备
两台 ubuntu 18.04 管理网络 172.18.22.0/24
172.18.22.197,192.168.22.198
安装
apt-get update
apt-get -y install build-essential fakeroot
sudo apt-get install python-six openssl -y
sudo apt-get install openvswitch-switch openvswitch-common -y
sudo apt-get install ovn-central ovn-common ovn-host -y
sudo apt-get install ovn-host ovn-common -y
启动
/etc/init.d/openvswitch-switch start
/etc/init.d/ovn-central start
ovs-vsctl add-br br-int – set Bridge br-int fail-mode=secure
master
ovn-nbctl set-connection ptcp:6641:172.18.22.197
ovn-sbctl set-connection ptcp:6642:172.18.22.197
ovs-vsctl set open . external-ids:ovn-remote=tcp:172.18.22.197:6642
ovs-vsctl set open . external-ids:ovn-encap-type=geneve
ovs-vsctl set open . external-ids:ovn-encap-ip=172.18.22.197
ovs-vsctl set open . external-ids:ovn-remote=tcp:172.18.22.197:6642
ovs-vsctl set open . external-ids:ovn-encap-type=geneve
ovs-vsctl set open . external-ids:ovn-encap-ip=172.18.22.198
使用
ovn 环境
ovn nbctl show
标签:ovs,set,vsctl,流表,apt,OVN,172.18,安装,ovn 来源: https://blog.csdn.net/m0_67390788/article/details/123628200