[root@localhost ~]# cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
[root@localhost ~]# rpm -ivh openvswitch-2.11.0-3.el7.x86_64.rpm
Vorbereiten... ################################# [100%]
Aktualisierung/Während der Installation...
1:openvswitch-1:2.11.0-3.el7 ################################# [100%]
[root@localhost ~]#
[root@localhost ~]# systemctl start openvswitch
[root@localhost ~]# systemctl status openvswitch
● openvswitch.service - Open vSwitch
Loaded: loaded (/usr/lib/systemd/system/openvswitch.service; disabled; vendor preset: disabled)
Active: active (exited)seit Wasser 2020-02-26 22:19:37 JST; 4s ago
Process: 2347 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 2347 (code=exited, status=0/SUCCESS)
26. Februar 22:19:37 localhost.localdomain systemd[1]: Starting Open vSwitch...
26. Februar 22:19:37 localhost.localdomain systemd[1]: Started Open vSwitch.
[root@localhost ~]#
[root@localhost ~]# ovs-vsctl add-br ovs1
[root@localhost ~]#
[root@localhost ~]# ovs-vsctl add-port ovs1 enp0s3
# ovs-vsctl show
[root@localhost ~]# ovs-vsctl show
0392cade-478d-4802-a4a3-190227e098d4
Bridge "ovs1"
Port "ovs1"
Interface "ovs1"
type: internal
Port "enp0s3"
Interface "enp0s3"
ovs_version: "2.11.0"
https://cbs.centos.org/koji/buildinfo?buildID=25447
Recommended Posts