Problem with bridged network configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

When I initially boot my system, it fails to bring up the network.
Once booted, if I run "systemctl restart network.service", or even stop, wait a while, then start, it starts up fine and all is well.

I'm running Fedora 19 (updated).

I followed the instructions on this page to set up a bridged network:
http://wiki.libvirt.org/page/Networking

I note however that I did *not* have any bridge (for NAT use) configured initially by default on my system, and followed the directions on this page to create it:
https://fedoraproject.org/wiki/Getting_started_with_virtualization

I have disabled the NetworkManager service, and created network initscripts for my em1 and br0 interfaces.

I notice from the systemctl status output, that the network failure is logged, and only *after* that the br0 interface comes up. So I wonder if there is some ordering problem in spite of the fact that I have specified DELAY=0 for br0.

I have included output from the following commands:
systemctl status network.service (initially, when failed to come up)
brctl show
ip link
ip address

Also attached are the network initscripts for my em1 and br0 interfaces.

Any guidance would be much appreciated!

Thanks,
   Bob

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UP mode DEFAULT qlen 1000
    link/ether 00:21:28:58:6a:96 brd ff:ff:ff:ff:ff:ff
3: p49p1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
    link/ether 00:15:17:d7:22:ce brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
    link/ether 00:15:17:d7:22:cf brd ff:ff:ff:ff:ff:ff
5: p51p1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
    link/ether 00:15:17:d7:28:58 brd ff:ff:ff:ff:ff:ff
6: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT 
    link/ether 00:21:28:58:6a:96 brd ff:ff:ff:ff:ff:ff
7: eth4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
    link/ether 00:15:17:d7:28:59 brd ff:ff:ff:ff:ff:ff
8: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT 
    link/ether 52:54:00:de:65:c6 brd ff:ff:ff:ff:ff:ff
9: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN mode DEFAULT qlen 500
    link/ether 52:54:00:de:65:c6 brd ff:ff:ff:ff:ff:ff
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: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UP qlen 1000
    link/ether 00:21:28:58:6a:96 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::221:28ff:fe58:6a96/64 scope link 
       valid_lft forever preferred_lft forever
3: p49p1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:15:17:d7:22:ce brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:15:17:d7:22:cf brd ff:ff:ff:ff:ff:ff
5: p51p1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:15:17:d7:28:58 brd ff:ff:ff:ff:ff:ff
6: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP 
    link/ether 00:21:28:58:6a:96 brd ff:ff:ff:ff:ff:ff
    inet 172.16.0.54/16 brd 172.16.255.255 scope global br0
       valid_lft forever preferred_lft forever
    inet6 fe80::48fa:26ff:fe34:5995/64 scope link 
       valid_lft forever preferred_lft forever
7: eth4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:15:17:d7:28:59 brd ff:ff:ff:ff:ff:ff
8: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN 
    link/ether 52:54:00:de:65:c6 brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
       valid_lft forever preferred_lft forever
9: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN qlen 500
    link/ether 52:54:00:de:65:c6 brd ff:ff:ff:ff:ff:ff
bridge name	bridge id		STP enabled	interfaces
br0		8000.002128586a96	no		em1
virbr0		8000.525400de65c6	yes		virbr0-nic
% systemctl status network.service
network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network)
   Active: failed (Result: exit-code) since Tue 2013-11-12 09:42:46 EST; 3min 11s ago
  Process: 511 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)

Nov 12 09:42:43 localhost.localdomain systemd[1]: Starting LSB: Bring up/down...
Nov 12 09:42:43 localhost.localdomain network[511]: Bringing up loopback inte...
Nov 12 09:42:43 localhost.localdomain network[511]: Bringing up interface em1...
Nov 12 09:42:43 localhost.localdomain network[511]: [FAILED]
Nov 12 09:42:46 center1 network[511]: Bringing up interface br0:  [  OK  ]
Nov 12 09:42:46 center1 systemd[1]: network.service: control process exited...=1
Nov 12 09:42:46 center1 systemd[1]: Failed to start LSB: Bring up/down netw...g.
Nov 12 09:42:46 center1 systemd[1]: Unit network.service entered failed state.
DEVICE=br0
TYPE=Bridge
BOOTPROTO=static
IPADDR=172.16.0.54
NETMASK=255.255.0.0
DNS1=172.16.0.1
GATEWAY=172.16.0.1
ONBOOT=yes
DELAY=0
NM_CONTROLLED=no
HWADDR="00:21:28:58:6A:96"
ONBOOT="yes"
DEVICE=em1
BRIDGE=br0
NM_CONTROLLED=no
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux