第 7 章 Neutron - 078 - 实践 Neutron 前的两个准备工作

两个准备工作:

1、检视初始的网络状态。

2、了解 linux bridge 环境中的各种网络设备。

 

初始网络状态

 

首先考察实验环境最初始的网络状态。随着网络不断进行新的配置,也将看到网络一步一步发生的变化。

在实验环境中,当前节点上只存在物理网卡设备 ethX,还没有 bridge 和 tap,状态如下:

 

1、控制节点

2、计算节点

 

了解 linux bridge 环境中的各种网络设备

 

在配置 linux bridge driver 之前先了解几种网络设备,后面会经常用到。

在 linux bridge 环境中,一个数据包从 instance 发送到物理网卡会经过下面几个类型的设备:

1、tap interface命名为 tapN (N 为 0, 1, 2, 3......)

2、linux bridge命名为 brqXXXX。

3、vlan interface命名为 ethX.Y(X 为 interface 的序号,Y 为 vlan id)

4、vxlan interface命名为 vxlan-Z(z 是 VNI)

5、物理 interface命名为 ethX(X 为 interface 的序号)

 

vlan interface 会在 vlan 网络中使用;

vxlan interface 会在 vxlan 网络中使用。

linux-bridge 支持 local, flat, vlan 和 vxlan 四种 network type,目前不支持 gre。

 

-------------------------------------------------------------------引用来自------------------------------------------------------------------------------------

https://www.cnblogs.com/CloudMan6/p/5808629.html

https://mp.weixin.qq.com/s?__biz=MzIwMTM5MjUwMg==&mid=2653587656&idx=1&sn=b84065f7d5dd1ae32eacf2aad4b93156&chksm=8d3080d1ba4709c7030032a386e1ffe7d0eedd377c2fa90a1b4584832c35932f5893339ec3c5&scene=21#wechat_redirect

猜你喜欢

转载自www.cnblogs.com/gsophy/p/11387510.html