Centos 7 KVM hypervisor with libvirt management library.<br />
Libvirt is throwing following error through virt-manager when entering clicking on one of the interfaces in 'Network interfaces' tab of virt-manager:<br />
"Error selecting interface: XML Error: vlan interface misses the tag attribute".<br />
<br />
There are 3 bridge interfaces configured on the host (each for a different vlan) on top of a single bonding interface, working properly.<br />
<br />
# rpm -qa |egrep 'libvirt|qemu|kvm'<br />
libvirt-daemon-driver-nodedev-1.1.1-29.el7_0.1.x86_64<br />
libvirt-daemon-driver-nwfilter-1.1.1-29.el7_0.1.x86_64<br />
libvirt-glib-0.1.7-3.el7.x86_64<br />
libvirt-daemon-driver-network-1.1.1-29.el7_0.1.x86_64<br />
qemu-img-1.5.3-60.el7_0.5.x86_64<br />
libvirt-client-1.1.1-29.el7_0.1.x86_64<br />
libvirt-daemon-config-network-1.1.1-29.el7_0.1.x86_64<br />
libvirt-daemon-driver-secret-1.1.1-29.el7_0.1.x86_64<br />
libvirt-daemon-driver-lxc-1.1.1-29.el7_0.1.x86_64<br />
qemu-kvm-1.5.3-60.el7_0.5.x86_64<br />
ipxe-roms-qemu-20130517-5.gitc4bce43.el7.noarch<br />
libvirt-daemon-1.1.1-29.el7_0.1.x86_64<br />
libvirt-daemon-driver-interface-1.1.1-29.el7_0.1.x86_64<br />
libvirt-python-1.1.1-29.el7_0.1.x86_64<br />
libvirt-daemon-driver-qemu-1.1.1-29.el7_0.1.x86_64<br />
qemu-kvm-common-1.5.3-60.el7_0.5.x86_64<br />
qemu-kvm-tools-1.5.3-60.el7_0.5.x86_64<br />
libvirt-daemon-config-nwfilter-1.1.1-29.el7_0.1.x86_64<br />
libvirt-daemon-driver-storage-1.1.1-29.el7_0.1.x86_64<br />
libvirt-1.1.1-29.el7_0.1.x86_64<br />
virt-manager-0.10.0-20.el7.noarch<br />
virt-manager-common-0.10.0-20.el7.noarch<br />
<br />
# cat /etc/centos-release <br />
CentOS Linux release 7.0.1406 (Core) <br />
<br />
# uname -a<br />
Linux venus.innovatrics.inn 3.10.0-123.el7.x86_64 <a href="http://bugs.centos.org/view.php?id=1">0000001</a> SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux<br />
<br />
# ip a<br />
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN <br />
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00<br />
inet 127.0.0.1/8 scope host lo<br />
valid_lft forever preferred_lft forever<br />
inet6 ::1/128 scope host <br />
valid_lft forever preferred_lft forever<br />
2: em1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP qlen 1000<br />
link/ether b8:ca:3a:69:f3:34 brd ff:ff:ff:ff:ff:ff<br />
3: em2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000<br />
link/ether b8:ca:3a:69:f3:35 brd ff:ff:ff:ff:ff:ff<br />
4: em3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000<br />
link/ether b8:ca:3a:69:f3:36 brd ff:ff:ff:ff:ff:ff<br />
5: em4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000<br />
link/ether b8:ca:3a:69:f3:37 brd ff:ff:ff:ff:ff:ff<br />
6: p5p1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP qlen 1000<br />
link/ether b8:ca:3a:69:f3:34 brd ff:ff:ff:ff:ff:ff<br />
7: p5p2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000<br />
link/ether a0:36:9f:2f:06:d1 brd ff:ff:ff:ff:ff:ff<br />
8: p5p3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000<br />
link/ether a0:36:9f:2f:06:d2 brd ff:ff:ff:ff:ff:ff<br />
9: p5p4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000<br />
link/ether a0:36:9f:2f:06:d3 brd ff:ff:ff:ff:ff:ff<br />
10: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP <br />
link/ether b8:ca:3a:69:f3:34 brd ff:ff:ff:ff:ff:ff<br />
inet6 fe80::baca:3aff:fe69:f334/64 scope link <br />
valid_lft forever preferred_lft forever<br />
11: <a href="mailto:vlan1@bond0">vlan1@bond0</a>: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br1-int state UP <br />
link/ether b8:ca:3a:69:f3:34 brd ff:ff:ff:ff:ff:ff<br />
inet6 fe80::baca:3aff:fe69:f334/64 scope link <br />
valid_lft forever preferred_lft forever<br />
12: br1-int: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP <br />
link/ether b8:ca:3a:69:f3:34 brd ff:ff:ff:ff:ff:ff<br />
inet 192.168.1.18/17 brd 192.168.127.255 scope global br1-int<br />
valid_lft forever preferred_lft forever<br />
inet6 fe80::baca:3aff:fe69:f334/64 scope link <br />
valid_lft forever preferred_lft forever<br />
13: <a href="mailto:vlan2@bond0">vlan2@bond0</a>: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br2-guest state UP <br />
link/ether b8:ca:3a:69:f3:34 brd ff:ff:ff:ff:ff:ff<br />
inet6 fe80::baca:3aff:fe69:f334/64 scope link <br />
valid_lft forever preferred_lft forever<br />
14: br2-guest: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP <br />
link/ether b8:ca:3a:69:f3:34 brd ff:ff:ff:ff:ff:ff<br />
inet 192.168.128.18/24 brd 192.168.128.255 scope global br2-guest<br />
valid_lft forever preferred_lft forever<br />
inet6 fe80::baca:3aff:fe69:f334/64 scope link <br />
valid_lft forever preferred_lft forever<br />
15: <a href="mailto:vlan3@bond0">vlan3@bond0</a>: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br3-dmz state UP <br />
link/ether b8:ca:3a:69:f3:34 brd ff:ff:ff:ff:ff:ff<br />
inet6 fe80::baca:3aff:fe69:f334/64 scope link <br />
valid_lft forever preferred_lft forever<br />
16: br3-dmz: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP <br />
link/ether b8:ca:3a:69:f3:34 brd ff:ff:ff:ff:ff:ff<br />
inet 10.1.14.18/24 brd 10.1.14.255 scope global br3-dmz<br />
valid_lft forever preferred_lft forever<br />
inet6 fe80::baca:3aff:fe69:f334/64 scope link <br />
valid_lft forever preferred_lft forever<br />
17: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN <br />
link/ether 52:54:00:97:60:a5 brd ff:ff:ff:ff:ff:ff<br />
inet 10.11.12.1/24 brd 10.11.12.255 scope global virbr0<br />
valid_lft forever preferred_lft forever<br />
18: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN qlen 500<br />
link/ether 52:54:00:97:60:a5 brd ff:ff:ff:ff:ff:ff<br />
<br />
# ls -la /etc/sysconfig/network-scripts/ifcfg-*<br />
-rw-r--r-- 1 root root 241 Jul 30 09:38 /etc/sysconfig/network-scripts/ifcfg-bond0<br />
-rw-r--r-- 1 root root 337 Jul 29 08:07 /etc/sysconfig/network-scripts/ifcfg-br1-int<br />
-rw-r--r-- 1 root root 339 Jul 29 15:34 /etc/sysconfig/network-scripts/ifcfg-br2-guest<br />
-rw-r--r-- 1 root root 331 Jul 29 15:34 /etc/sysconfig/network-scripts/ifcfg-br3-dmz<br />
-rw-r--r-- 1 root root 310 Jul 28 09:40 /etc/sysconfig/network-scripts/ifcfg-em1<br />
-rw-r--r-- 1 root root 271 Jul 28 10:34 /etc/sysconfig/network-scripts/ifcfg-em2<br />
-rw-r--r--. 1 root root 285 Jul 23 16:59 /etc/sysconfig/network-scripts/ifcfg-em3<br />
-rw-r--r--. 1 root root 285 Jul 23 16:59 /etc/sysconfig/network-scripts/ifcfg-em4<br />
-rw-r--r--. 1 root root 254 Apr 2 17:30 /etc/sysconfig/network-scripts/ifcfg-lo<br />
-rw-r--r-- 1 root root 319 Jul 28 09:40 /etc/sysconfig/network-scripts/ifcfg-p5p1<br />
-rw-r--r--. 1 root root 286 Jul 23 16:59 /etc/sysconfig/network-scripts/ifcfg-p5p2<br />
-rw-r--r--. 1 root root 286 Jul 23 16:59 /etc/sysconfig/network-scripts/ifcfg-p5p3<br />
-rw-r--r--. 1 root root 286 Jul 23 16:59 /etc/sysconfig/network-scripts/ifcfg-p5p4<br />
-rw-r--r-- 1 root root 231 Jul 28 10:21 /etc/sysconfig/network-scripts/ifcfg-vlan1<br />
-rw-r--r-- 1 root root 234 Aug 4 13:41 /etc/sysconfig/network-scripts/ifcfg-vlan2<br />
-rw-r--r-- 1 root root 226 Jul 28 10:25 /etc/sysconfig/network-scripts/ifcfg-vlan3<br />
<br />
# cat ifcfg-em1 <br />
TYPE=Ethernet<br />
BOOTPROTO=none<br />
#DEFROUTE=yes<br />
IPV4_FAILURE_FATAL=no<br />
NAME=em1<br />
UUID=6426aecc-5dba-4bf7-b4dd-5e747e21a3ca<br />
ONBOOT=yes<br />
HWADDR=B8:CA:3A:69:F3:34<br />
SLAVE=yes<br />
MASTER=bond0<br />
NM_CONTROLLED=no<br />
IPV6INIT=no<br />
IPV6_AUTOCONF=no<br />
IPV6_DEFROUTE=no<br />
IPV6_PEERDNS=no<br />
IPV6_PEERROUTES=no<br />
IPV6_FAILURE_FATAL=no<br />
NOZEROCONF=yes<br />
# cat ifcfg-p5p1 <br />
TYPE=Ethernet<br />
BOOTPROTO=none<br />
DEFROUTE=no<br />
PEERDNS=no<br />
PEERROUTES=no<br />
IPV4_FAILURE_FATAL=no<br />
NAME=p5p1<br />
UUID=77ce1ab7-2d0b-482b-b1b2-12c12dc886a0<br />
ONBOOT=yes<br />
HWADDR=A0:36:9F:2F:06:D0<br />
SLAVE=yes<br />
MASTER=bond0<br />
NM_CONTROLLED=no<br />
IPV6INIT=no<br />
IPV6_AUTOCONF=no<br />
IPV6_DEFROUTE=no<br />
IPV6_PEERDNS=no<br />
IPV6_PEERROUTES=no<br />
IPV6_FAILURE_FATAL=no<br />
<br />
# cat ifcfg-bond0 <br />
DEVICE=bond0<br />
ONBOOT=yes<br />
BOOTPROTO=none<br />
BONDING_OPTS='mode=4 miimon=1000'<br />
USERCTL=no<br />
NM_CONTROLLED=no<br />
IPV4_FAILURE_FATAL=no<br />
IPV6INIT=no<br />
IPV6_AUTOCONF=no<br />
IPV6_DEFROUTE=no<br />
IPV6_PEERDNS=no<br />
IPV6_PEERROUTES=no<br />
IPV6_FAILURE_FATAL=no<br />
NOZEROCONF=yes<br />
<br />
# cat ifcfg-vlan1 <br />
DEVICE=vlan1<br />
PHYSDEV=bond0<br />
ONBOOT=yes<br />
BOOTPROTO=none<br />
USERCTL=no<br />
NM_CONTROLLED=no<br />
VLAN=yes<br />
TYPE=Ethernet<br />
BRIDGE=br1-int<br />
#IPADDR=192.168.1.18<br />
#NETMASK=255.255.128.0<br />
#GATEWAY=192.168.1.1<br />
#DNS=192.168.1.1<br />
#DEFROUTE=yes<br />
#NOZEROCONF=yes<br />
<br />
# cat ifcfg-br1-int <br />
DEVICE=br1-int<br />
TYPE=Bridge<br />
IPADDR=192.168.1.18<br />
NETMASK=255.255.128.0<br />
GATEWAY=192.168.1.1<br />
DNS1=192.168.1.1<br />
ONBOOT=yes<br />
BOOTPROTO=none<br />
USERCTL=no<br />
NM_CONTROLLED=no<br />
DELAY=0<br />
DEFROUTE=yes<br />
NOZEROCONF=yes<br />
#PEERDNS=yes<br />
#PEERROUTES=yes<br />
IPV6INIT=no<br />
IPV6_AUTOCONF=no<br />
IPV6_DEFROUTE=yes<br />
IPV6_FAILURE_FATAL=no<br />
IPV6_PEERDNS=no<br />
IPV6_PEERROUTES=no<br />
STP=yes<br />
<br />
# cat ifcfg-vlan2 ifcfg-br2-guest <br />
DEVICE=vlan2<br />
PHYSDEV=bond0<br />
ONBOOT=yes<br />
BOOTPROTO=none<br />
USERCTL=no<br />
NM_CONTROLLED=no<br />
VLAN=yes<br />
TYPE=Ethernet<br />
BRIDGE=br2-guest<br />
#IPADDR=192.168.128.18<br />
#NETMASK=255.255.255.0<br />
#GATEWAY=192.168.128.1<br />
#DNS=8.8.8.8<br />
##DEFROUTE=yes<br />
#NOZEROCONF=yes<br />
<br />
Centos 7 KVM hypervisor with libvirt management library.<br />
Libvirt is throwing following error through virt-manager when entering clicking on one of the interfaces in 'Network interfaces' tab of virt-manager:<br />
"Error selecting interface: XML Error: vlan interface misses the tag attribute".<br />
<br />
There are 3 bridge interfaces configured on the host (each for a different vlan) on top of a single bonding interface, working properly.<br />
<br />
# rpm -qa |egrep 'libvirt|qemu|kvm'<br />
libvirt-daemon-driver-nodedev-1.1.1-29.el7_0.1.x86_64<br />
libvirt-daemon-driver-nwfilter-1.1.1-29.el7_0.1.x86_64<br />
libvirt-glib-0.1.7-3.el7.x86_64<br />
libvirt-daemon-driver-network-1.1.1-29.el7_0.1.x86_64<br />
qemu-img-1.5.3-60.el7_0.5.x86_64<br />
libvirt-client-1.1.1-29.el7_0.1.x86_64<br />
libvirt-daemon-config-network-1.1.1-29.el7_0.1.x86_64<br />
libvirt-daemon-driver-secret-1.1.1-29.el7_0.1.x86_64<br />
libvirt-daemon-driver-lxc-1.1.1-29.el7_0.1.x86_64<br />
qemu-kvm-1.5.3-60.el7_0.5.x86_64<br />
ipxe-roms-qemu-20130517-5.gitc4bce43.el7.noarch<br />
libvirt-daemon-1.1.1-29.el7_0.1.x86_64<br />
libvirt-daemon-driver-interface-1.1.1-29.el7_0.1.x86_64<br />
libvirt-python-1.1.1-29.el7_0.1.x86_64<br />
libvirt-daemon-driver-qemu-1.1.1-29.el7_0.1.x86_64<br />
qemu-kvm-common-1.5.3-60.el7_0.5.x86_64<br />
qemu-kvm-tools-1.5.3-60.el7_0.5.x86_64<br />
libvirt-daemon-config-nwfilter-1.1.1-29.el7_0.1.x86_64<br />
libvirt-daemon-driver-storage-1.1.1-29.el7_0.1.x86_64<br />
libvirt-1.1.1-29.el7_0.1.x86_64<br />
virt-manager-0.10.0-20.el7.noarch<br />
virt-manager-common-0.10.0-20.el7.noarch<br />
<br />
# cat /etc/centos-release <br />
CentOS Linux release 7.0.1406 (Core) <br />
<br />
# uname -a<br />
Linux venus.innovatrics.inn 3.10.0-123.el7.x86_64 <a href="http://bugs.centos.org/view.php?id=1">0000001</a> SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux<br />
<br />
# ip a<br />
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN <br />
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00<br />
inet 127.0.0.1/8 scope host lo<br />
valid_lft forever preferred_lft forever<br />
inet6 ::1/128 scope host <br />
valid_lft forever preferred_lft forever<br />
2: em1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP qlen 1000<br />
link/ether b8:ca:3a:69:f3:34 brd ff:ff:ff:ff:ff:ff<br />
3: em2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000<br />
link/ether b8:ca:3a:69:f3:35 brd ff:ff:ff:ff:ff:ff<br />
4: em3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000<br />
link/ether b8:ca:3a:69:f3:36 brd ff:ff:ff:ff:ff:ff<br />
5: em4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000<br />
link/ether b8:ca:3a:69:f3:37 brd ff:ff:ff:ff:ff:ff<br />
6: p5p1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP qlen 1000<br />
link/ether b8:ca:3a:69:f3:34 brd ff:ff:ff:ff:ff:ff<br />
7: p5p2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000<br />
link/ether a0:36:9f:2f:06:d1 brd ff:ff:ff:ff:ff:ff<br />
8: p5p3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000<br />
link/ether a0:36:9f:2f:06:d2 brd ff:ff:ff:ff:ff:ff<br />
9: p5p4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000<br />
link/ether a0:36:9f:2f:06:d3 brd ff:ff:ff:ff:ff:ff<br />
10: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP <br />
link/ether b8:ca:3a:69:f3:34 brd ff:ff:ff:ff:ff:ff<br />
inet6 fe80::baca:3aff:fe69:f334/64 scope link <br />
valid_lft forever preferred_lft forever<br />
11: <a href="mailto:vlan1@bond0">vlan1@bond0</a>: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br1-int state UP <br />
link/ether b8:ca:3a:69:f3:34 brd ff:ff:ff:ff:ff:ff<br />
inet6 fe80::baca:3aff:fe69:f334/64 scope link <br />
valid_lft forever preferred_lft forever<br />
12: br1-int: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP <br />
link/ether b8:ca:3a:69:f3:34 brd ff:ff:ff:ff:ff:ff<br />
inet 192.168.1.18/17 brd 192.168.127.255 scope global br1-int<br />
valid_lft forever preferred_lft forever<br />
inet6 fe80::baca:3aff:fe69:f334/64 scope link <br />
valid_lft forever preferred_lft forever<br />
13: <a href="mailto:vlan2@bond0">vlan2@bond0</a>: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br2-guest state UP <br />
link/ether b8:ca:3a:69:f3:34 brd ff:ff:ff:ff:ff:ff<br />
inet6 fe80::baca:3aff:fe69:f334/64 scope link <br />
valid_lft forever preferred_lft forever<br />
14: br2-guest: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP <br />
link/ether b8:ca:3a:69:f3:34 brd ff:ff:ff:ff:ff:ff<br />
inet 192.168.128.18/24 brd 192.168.128.255 scope global br2-guest<br />
valid_lft forever preferred_lft forever<br />
inet6 fe80::baca:3aff:fe69:f334/64 scope link <br />
valid_lft forever preferred_lft forever<br />
15: <a href="mailto:vlan3@bond0">vlan3@bond0</a>: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br3-dmz state UP <br />
link/ether b8:ca:3a:69:f3:34 brd ff:ff:ff:ff:ff:ff<br />
inet6 fe80::baca:3aff:fe69:f334/64 scope link <br />
valid_lft forever preferred_lft forever<br />
16: br3-dmz: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP <br />
link/ether b8:ca:3a:69:f3:34 brd ff:ff:ff:ff:ff:ff<br />
inet 10.1.14.18/24 brd 10.1.14.255 scope global br3-dmz<br />
valid_lft forever preferred_lft forever<br />
inet6 fe80::baca:3aff:fe69:f334/64 scope link <br />
valid_lft forever preferred_lft forever<br />
17: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN <br />
link/ether 52:54:00:97:60:a5 brd ff:ff:ff:ff:ff:ff<br />
inet 10.11.12.1/24 brd 10.11.12.255 scope global virbr0<br />
valid_lft forever preferred_lft forever<br />
18: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN qlen 500<br />
link/ether 52:54:00:97:60:a5 brd ff:ff:ff:ff:ff:ff<br />
<br />
# ls -la /etc/sysconfig/network-scripts/ifcfg-*<br />
-rw-r--r-- 1 root root 241 Jul 30 09:38 /etc/sysconfig/network-scripts/ifcfg-bond0<br />
-rw-r--r-- 1 root root 337 Jul 29 08:07 /etc/sysconfig/network-scripts/ifcfg-br1-int<br />
-rw-r--r-- 1 root root 339 Jul 29 15:34 /etc/sysconfig/network-scripts/ifcfg-br2-guest<br />
-rw-r--r-- 1 root root 331 Jul 29 15:34 /etc/sysconfig/network-scripts/ifcfg-br3-dmz<br />
-rw-r--r-- 1 root root 310 Jul 28 09:40 /etc/sysconfig/network-scripts/ifcfg-em1<br />
-rw-r--r-- 1 root root 271 Jul 28 10:34 /etc/sysconfig/network-scripts/ifcfg-em2<br />
-rw-r--r--. 1 root root 285 Jul 23 16:59 /etc/sysconfig/network-scripts/ifcfg-em3<br />
-rw-r--r--. 1 root root 285 Jul 23 16:59 /etc/sysconfig/network-scripts/ifcfg-em4<br />
-rw-r--r--. 1 root root 254 Apr 2 17:30 /etc/sysconfig/network-scripts/ifcfg-lo<br />
-rw-r--r-- 1 root root 319 Jul 28 09:40 /etc/sysconfig/network-scripts/ifcfg-p5p1<br />
-rw-r--r--. 1 root root 286 Jul 23 16:59 /etc/sysconfig/network-scripts/ifcfg-p5p2<br />
-rw-r--r--. 1 root root 286 Jul 23 16:59 /etc/sysconfig/network-scripts/ifcfg-p5p3<br />
-rw-r--r--. 1 root root 286 Jul 23 16:59 /etc/sysconfig/network-scripts/ifcfg-p5p4<br />
-rw-r--r-- 1 root root 231 Jul 28 10:21 /etc/sysconfig/network-scripts/ifcfg-vlan1<br />
-rw-r--r-- 1 root root 234 Aug 4 13:41 /etc/sysconfig/network-scripts/ifcfg-vlan2<br />
-rw-r--r-- 1 root root 226 Jul 28 10:25 /etc/sysconfig/network-scripts/ifcfg-vlan3<br />
<br />
# cat ifcfg-em1 <br />
TYPE=Ethernet<br />
BOOTPROTO=none<br />
#DEFROUTE=yes<br />
IPV4_FAILURE_FATAL=no<br />
NAME=em1<br />
UUID=6426aecc-5dba-4bf7-b4dd-5e747e21a3ca<br />
ONBOOT=yes<br />
HWADDR=B8:CA:3A:69:F3:34<br />
SLAVE=yes<br />
MASTER=bond0<br />
NM_CONTROLLED=no<br />
IPV6INIT=no<br />
IPV6_AUTOCONF=no<br />
IPV6_DEFROUTE=no<br />
IPV6_PEERDNS=no<br />
IPV6_PEERROUTES=no<br />
IPV6_FAILURE_FATAL=no<br />
NOZEROCONF=yes<br />
<br />
# cat ifcfg-p5p1 <br />
TYPE=Ethernet<br />
BOOTPROTO=none<br />
DEFROUTE=no<br />
PEERDNS=no<br />
PEERROUTES=no<br />
IPV4_FAILURE_FATAL=no<br />
NAME=p5p1<br />
UUID=77ce1ab7-2d0b-482b-b1b2-12c12dc886a0<br />
ONBOOT=yes<br />
HWADDR=A0:36:9F:2F:06:D0<br />
SLAVE=yes<br />
MASTER=bond0<br />
NM_CONTROLLED=no<br />
IPV6INIT=no<br />
IPV6_AUTOCONF=no<br />
IPV6_DEFROUTE=no<br />
IPV6_PEERDNS=no<br />
IPV6_PEERROUTES=no<br />
IPV6_FAILURE_FATAL=no<br />
<br />
# cat ifcfg-bond0 <br />
DEVICE=bond0<br />
ONBOOT=yes<br />
BOOTPROTO=none<br />
BONDING_OPTS='mode=4 miimon=1000'<br />
USERCTL=no<br />
NM_CONTROLLED=no<br />
IPV4_FAILURE_FATAL=no<br />
IPV6INIT=no<br />
IPV6_AUTOCONF=no<br />
IPV6_DEFROUTE=no<br />
IPV6_PEERDNS=no<br />
IPV6_PEERROUTES=no<br />
IPV6_FAILURE_FATAL=no<br />
NOZEROCONF=yes<br />
<br />
# cat ifcfg-vlan1 <br />
DEVICE=vlan1<br />
PHYSDEV=bond0<br />
ONBOOT=yes<br />
BOOTPROTO=none<br />
USERCTL=no<br />
NM_CONTROLLED=no<br />
VLAN=yes<br />
TYPE=Ethernet<br />
BRIDGE=br1-int<br />
#IPADDR=192.168.1.18<br />
#NETMASK=255.255.128.0<br />
#GATEWAY=192.168.1.1<br />
#DNS=192.168.1.1<br />
#DEFROUTE=yes<br />
#NOZEROCONF=yes<br />
<br />
# cat ifcfg-br1-int <br />
DEVICE=br1-int<br />
TYPE=Bridge<br />
IPADDR=192.168.1.18<br />
NETMASK=255.255.128.0<br />
GATEWAY=192.168.1.1<br />
DNS1=192.168.1.1<br />
ONBOOT=yes<br />
BOOTPROTO=none<br />
USERCTL=no<br />
NM_CONTROLLED=no<br />
DELAY=0<br />
DEFROUTE=yes<br />
NOZEROCONF=yes<br />
#PEERDNS=yes<br />
#PEERROUTES=yes<br />
IPV6INIT=no<br />
IPV6_AUTOCONF=no<br />
IPV6_DEFROUTE=yes<br />
IPV6_FAILURE_FATAL=no<br />
IPV6_PEERDNS=no<br />
IPV6_PEERROUTES=no<br />
STP=yes<br />
<br />
# cat ifcfg-vlan2<br />
DEVICE=vlan2<br />
PHYSDEV=bond0<br />
ONBOOT=yes<br />
BOOTPROTO=none<br />
USERCTL=no<br />
NM_CONTROLLED=no<br />
VLAN=yes<br />
TYPE=Ethernet<br />
BRIDGE=br2-guest<br />
#IPADDR=192.168.128.18<br />
#NETMASK=255.255.255.0<br />
#GATEWAY=192.168.128.1<br />
#DNS=8.8.8.8<br />
##DEFROUTE=yes<br />
#NOZEROCONF=yes<br />
<br />
# cat ifcfg-br2-guest <br />
DEVICE=br2-guest<br />
TYPE=Bridge<br />
IPADDR=192.168.128.18<br />
NETMASK=255.255.255.0<br />
GATEWAY=192.168.128.1<br />
#DNS1=8.8.8.8<br />
ONBOOT=yes<br />
BOOTPROTO=none<br />
USERCTL=no<br />
NM_CONTROLLED=no<br />
DELAY=0<br />
DEFROUTE=no<br />
NOZEROCONF=yes<br />
#PEERDNS=yes<br />
#PEERROUTES=yes<br />
IPV6INIT=no<br />
IPV6_AUTOCONF=no<br />
IPV6_DEFROUTE=yes<br />
IPV6_FAILURE_FATAL=no<br />
IPV6_PEERDNS=no<br />
IPV6_PEERROUTES=no<br />
STP=yes<br />
...
↧