I'm installing CentOS-6.5 on a Dell R210 II to test oVirt.
After creating a bridge and configuring em1 for that bridge, the bridge comes up but without any interface.
I have to add it with "brctl addif ovirtmgmt em1" then everything is fine.
But after a reboot there's again no interface for the bridge.
I can't see where I'm going wrong?
I created the configfiles ifcfg-em1 & ifcfg-ovirtmgmt manually, NetworkManager is not installed, iptables is off, selinux is permissive.
Code:
[root@node1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-em1
DEVICE=em1
HWADDR=D0:67:E5:F3:5B:6F
Bridge=ovirtmgmt
UUID=e4c23576-7ef6-4f48-9672-e0d0b9892fb6
ONBOOT=yes
NM_CONTROLLED=no
Code:
[root@node1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt
DEVICE=ovirtmgmt
TYPE=Bridge
BOOTPROTO=static
IPADDR=192.168.120.112
NETMASK=255.255.255.0
GATEWAY=192.168.120.201
DNS1=192.168.120.201
DELAY=0
NM_CONTROLLED=no
ONBOOT=yes
After a reboot:
Code:
[root@node1 ~]# brctl show
bridge name bridge id STP enabled interfaces
ovirtmgmt 8000.d067e5f35b6f no
[root@node1 ~]# ifconfig
em1 Link encap:Ethernet HWaddr D0:67:E5:F3:5B:6F
inet6 addr: fe80::d267:e5ff:fef3:5b6f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:48 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7176 (7.0 KiB) TX bytes:670 (670.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:34 errors:0 dropped:0 overruns:0 frame:0
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3622 (3.5 KiB) TX bytes:3622 (3.5 KiB)
ovirtmgmt Link encap:Ethernet HWaddr D0:67:E5:F3:5B:6F
inet addr:192.168.120.112 Bcast:192.168.120.255 Mask:255.255.255.0
inet6 addr: fe80::24a0:82ff:fe05:d4a5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:158 errors:0 dropped:0 overruns:0 frame:0
TX packets:142 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14402 (14.0 KiB) TX bytes:12747 (12.4 KiB)
Fixing it:
Code:
[root@node1 ~]# brctl addif ovirtmgmt em1
[root@node1 ~]# brctl show
bridge name bridge id STP enabled interfaces
ovirtmgmt 8000.d067e5f35b6f no em1
[root@node1 ~]# ifconfig
em1 Link encap:Ethernet HWaddr D0:67:E5:F3:5B:6F
inet6 addr: fe80::d267:e5ff:fef3:5b6f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:55 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7737 (7.5 KiB) TX bytes:734 (734.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:34 errors:0 dropped:0 overruns:0 frame:0
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3622 (3.5 KiB) TX bytes:3622 (3.5 KiB)
ovirtmgmt Link encap:Ethernet HWaddr D0:67:E5:F3:5B:6F
inet addr:192.168.120.112 Bcast:192.168.120.255 Mask:255.255.255.0
inet6 addr: fe80::24a0:82ff:fe05:d4a5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:158 errors:0 dropped:0 overruns:0 frame:0
TX packets:142 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14402 (14.0 KiB) TX bytes:12747 (12.4 KiB)