The organization that rents this service, we call it " tenant /tenant/ Project /project"
Tenant users
Vxlan Dividing tenants
[[email protected] ~]# ip addr1: lo: <loopback,up,lower_up> mtu 65536 qdisc noqueue state unknown link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever2: eth0: <broadcast,multicast,up,lower_up> mtu 1500 qdisc mq State up qlen 1000 link/ether 00:50:56:a0:b6:6b brd ff:ff :ff:ff:ff:ff inet 192.168.1.201/24 brd 192.168.1.255 scope global eth0 valid_lft forever preferred_lft Forever3: ovs-system: <broadcast,multicast> mtu 1500 qdisc noop state down link/etHer 36:26:25:65:14:9c brd ff:ff:ff:ff:ff:ff4: br-ex: <broadcast,multicast,up,lower _up> mtu 1500 qdisc noqueue state unknown link/ether de:4c:6d:9c:15:4d brd ff:ff:ff:ff:ff:ff5: br-int: <BROADCAST,MULTICAST> Mtu 1500 qdisc noop state down link/ether ce:0b:9b:b5:c1 :4d brd ff:ff:ff:ff:ff:ff6: br-tun: <broadcast,multicast> mtu 1500 Qdisc noop state down link/ether ae:75:26:fb:f8:42 brd ff : Ff:ff:ff:ff:ff
Which network do you want to export as a packet, then you should put that net mezzanine bridge to Br-ex
Openvswitch abbreviation OvS
Configure network card Focus
[email protected] network-scripts]# cat ifcfg-eth0 device=eth0 Devicetype=ovs type=ovsport ovs_bridge=br-ex ONBOOT=y Es bootproto=none[[email protected] network-scripts]# cat Ifcfg-br-exdevice=br-exdevicetype=ovstype=ovsbridgeonboot =yesbootproto=noneipaddr=192.168.1.201netmask=255.255.255.0gateway=192.168.1.1dns1=202.106.0.20
View NIC 2:eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> MTU Qdisc MQ Master Ovs-system State up Qlen-Link/ether 00:50:56:A0:B6:6B BRD Ff:ff:ff:ff:ff:ff3:ovs-system: <BROADCAST,MULTICAST> MTU qdisc NoOp State down link/e Ther d2:18:7d:5e:5e:b9 BRD ff:ff:ff:ff:ff:ff5:br-ex: <BROADCAST,MULTICAST,UP,LOWER_UP> MTU Qdisc Noqueue State UNKNOWN link/ether 00:50:56:a0:b6:6b BRD ff:ff:ff:ff:ff:ff inet 192.168.1.201/24 BRD 192.168.1.255 Scope Globa L Br-ex Valid_lft Forever Preferred_lft Forever
Admin Login Http://192.168.1.201/dashboard
Select System--Network--Create network
Create, click the Network name Put-ex
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/83/AE/wKioL1d6O8zwMz7xAAAehcos9zE809.png "style=" float: none; "title=" 1.png "alt=" Wkiol1d6o8zwmz7xaaaehcos9ze809.png "/>
Next
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/83/AE/wKioL1d6O82iXQKMAAAjPCKBpRc935.png "style=" float: none; "title=" 2.png "alt=" Wkiol1d6o82ixqkmaaajpckbprc935.png "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/83/AF/wKiom1d6O82CU2ndAAAgCYExGks039.png "style=" float: none; "title=" 3.png "alt=" Wkiom1d6o82cu2ndaaagcyexgks039.png "/>
Create a project, create a new user, associate the project with a new user.
Log in with a new user, create a network
Create the network first, then create the route, connect to the network, and finally add the port
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/83/AE/wKioL1d6O82CSVi6AAGZVzrwp4Y028.png "style=" float: none; "title=" 4.png "alt=" Wkiol1d6o82csvi6aagzvzrwp4y028.png "/>
This article is from the "what-all" blog, please be sure to keep this source http://hequan.blog.51cto.com/5701886/1795705
OpenStack Learning Note Two Network Setup basics