NetworkManager at odd with system connections

Gene Czarcinski gene at czarc.net
Fri Oct 23 13:15:28 UTC 2009


On Friday 23 October 2009 02:51:33 Masood wrote:
> Hi
> 
> I have a problem with NetworkManager on a fully updated rawhide. I have the
> following network configurations:
> 
> # cat /etc/sysconfig/network-scripts/ifcfg-br0
> DEVICE=br0
> TYPE=Bridge
> BOOTPROTO=dhcp
> ONBOOT=yes
> 
> # cat /etc/sysconfig/network-scripts/ifcfg-br0
> DEVICE=eth0
> TYPE=Ethernet
> BRIDGE=br0
> BOOTPROTO=dhcp
> HWADDR=00:1B:FC:60:8D:45
> ONBOOT=yes
> 
> With NetworkManager service disabled, network is functional but when I
> enable NetworkManager, it assigns an IP for eth0 and modifies route table
> which break the network:
> # ifconfig
> br0       Link encap:Ethernet  HWaddr 00:1B:FC:60:8D:45
>           inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
>           inet6 addr: fe80::21b:fcff:fe60:8d45/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:925 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:749 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:334804 (326.9 KiB)  TX bytes:254028 (248.0 KiB)
> 
> eth0      Link encap:Ethernet  HWaddr 00:1B:FC:60:8D:45
>           inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
>           inet6 addr: fe80::21b:fcff:fe60:8d45/64 Scope:Link
>           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
>           RX packets:61144 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:40629 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:69658068 (66.4 MiB)  TX bytes:5827489 (5.5 MiB)
>           Interrupt:17
> ...
> route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.1.0     *               255.255.255.0   U     0      0        0 br0
> 192.168.1.0     *               255.255.255.0   U     1      0        0
>  eth0 192.168.122.0   *               255.255.255.0   U     0      0       
>  0 virbr0
> link-local      *               255.255.0.0     U     1019   0        0 br0
> default         192.168.1.254   0.0.0.0         UG    0      0        0
>  eth0
> 
> Is this supposed to happen with NM or my configurations are incorrect?

Check http://wiki.libvirt.org/page/Networking#Fedora.2FRHEL_Bridging which, I 
believe, is still the current documentation available.  As it says, 
NetworkManager does not support bridging and must be disabled on the host if 
you use bridging ... any qemu-kvm guests can use NetworkManager all they want.  
Also, you configuration files may be in error as compared to those shown in the 
example.

Yes, I was wondering how my host would function without eth0 being defined with 
a static IP or dhcp but it does ... it uses br0!

Gene




More information about the fedora-test-list mailing list