[LINUX] How to create a virtual bridge

[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
Preparing...              ################################# [100%]
Updating/During 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)since water 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)

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

https://cbs.centos.org/koji/buildinfo?buildID=25447

Recommended Posts

How to create a virtual bridge
How to create a Python virtual environment (venv)
How to create a Conda package
How to create a Dockerfile (basic)
How to create a config file
How to create a clone from Github
How to create a git clone folder
How to create a repository from media
How to virtual host
How to share a virtual environment [About requirements.txt]
How to create a function object from a string
How to create a JSON file in Python
How to create a shortcut command for LINUX
[Note] How to create a Ruby development environment
How to create a Kivy 1-line input box
How to create a multi-platform app with kivy
How to create a Rest Api in Django
[Note] How to create a Mac development environment
How to call a function
How to hack a terminal
Read the Python-Markdown source: How to create a parser
How to create a submenu with the [Blender] plugin
[Go] How to create a custom error for Sentry
How to create a local repository for Linux OS
How to create a simple TCP server / client script
[Python] How to create a 2D histogram with Matplotlib
How to create a kubernetes pod from python code
How to make a Japanese-English translation
How to put a symbolic link
How to build a new python virtual environment on Ubuntu
Steps to create a Django project
How to make a slack bot
Create a virtual environment with Python!
How to create an email user
How to make a crawler --Advanced
How to create a flow mesh around a cylinder with snappyHexMesh
How to make a recursive function
[Python Kivy] How to create a simple pop up window
How to create / delete symbolic links
A note on how to load a virtual environment in PyCharm
How to develop in a virtual environment of Python [Memo]
How to make a deadman's switch
[Blender] How to make a Blender plugin
How to create a SAS token for Azure IoT Hub
How to delete a Docker container
5 Ways to Create a Python Chatbot
How to make a crawler --Basic
Overview of Python virtual environment and how to create it
Overview of how to create a server socket and how to establish a client socket
How to create a heatmap with an arbitrary domain in Python
How to create a label (mask) for segmentation with labelme (semantic segmentation mask)
[C language] How to create, avoid, and make a zombie process
How to create a large amount of test data in MySQL? ??
How to create a CSV dummy file containing Japanese using Faker
How to write a docstring to create a named tuple document with sphinx
How to create a serverless machine learning API with AWS Lambda
I tried to create a linebot (implementation)
Create a bot to retweet coronavirus information
How to build a sphinx translation environment
Qiita (1) How to write a code name
I tried to create a linebot (preparation)