啊。。。。我四个网卡, enp0s3,enp0s8, enp0s9是Host-Only的,enp0s10是NAT的。你的意思是说,在/etc/sysconfig/network-scripts里面新创建一个网卡配置文件,填写官方的external配置?而不需要改enp0s10?
[openstack@network ~]$ ip a
1: 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 forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 08:00:27:59:b1:a0 brd ff:ff:ff:ff:ff:ff
inet 10.0.10.21/24 brd 10.0.10.255 scope global enp0s3
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fe59:b1a0/64 scope link
valid_lft forever preferred_lft forever
3: enp0s8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 08:00:27:a1:e7:28 brd ff:ff:ff:ff:ff:ff
inet 10.0.20.21/24 brd 10.0.20.255 scope global enp0s8
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fea1:e728/64 scope link
valid_lft forever preferred_lft forever
4: enp0s9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 08:00:27:d0:a1:3f brd ff:ff:ff:ff:ff:ff
inet 10.0.30.21/24 brd 10.0.30.255 scope global enp0s9
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fed0:a13f/64 scope link
valid_lft forever preferred_lft forever
5: enp0s10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 08:00:27:92:c3:c6 brd ff:ff:ff:ff:ff:ff
inet 10.0.5.15/24 brd 10.0.5.255 scope global dynamic enp0s10
valid_lft 86379sec preferred_lft 86379sec
inet6 fe80::a00:27ff:fe92:c3c6/64 scope link
valid_lft forever preferred_lft forever
|