0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

仮想ブリッジの作成方法

Posted at
[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
準備しています...              ################################# [100%]
更新中 / インストール中...
   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) since 水 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)

 2月 26 22:19:37 localhost.localdomain systemd[1]: Starting Open vSwitch...
 2月 26 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"

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?