如何在centos(Openstack)ipv6接口中创建OVS桥

如何在centos(Openstack)ipv6接口中创建OVS桥

我正在尝试为 openstack(packstack) 创建一个 ovs 桥接网络。我遇到了一个问题,根据文档我需要创建如下所示的界面。

/etc/sysconfig/network-scripts/ifcfg-br-ex

DEVICE=br-ex
DEVICETYPE=ovs
TYPE=OVSBridge
BOOTPROTO=static
IPADDR=192.168.122.212 # Old eth0 IP since we want the network restart to not 
                       # kill the connection, otherwise pick something outside your dhcp range
NETMASK=255.255.255.0  # your netmask
GATEWAY=192.168.122.1  # your gateway
DNS1=192.168.122.1     # your nameserver
ONBOOT=yes

/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
TYPE=OVSPort
DEVICETYPE=ovs
OVS_BRIDGE=br-ex
ONBOOT=yes

hetzner中现有的配置如下:

/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
ONBOOT=yes
HWADDR=hardware address
BOOTPROTO=none
IPADDR=<public ip>
NETMASK=255.255.255.255
SCOPE="peer <gateway ip>"
IPV6INIT=yes
IPV6ADDR=<ipv6 address>/64
IPV6_DEFAULTGW=fe80::1
IPV6_DEFAULTDEV=eth0

/etc/sysconfig/网络脚本/router-eth0

### Hetzner Online GmbH - installimage
# routing for eth0
ADDRESS0=0.0.0.0
NETMASK0=0.0.0.0
GATEWAY0=<gateway ip>

如何在hetzner服务器中配置br-ex(OVS网桥),其中route-eth0中提到eth0(ipv6)接口网关?

相关内容