Bug 755304
Summary: | Bridge network for VMs has stopped to work on F16 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Avi Alkalay <avibrazil> |
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | berrange, clalancette, crobinso, dougsland, itamar, jforbes, laine, rtguille, veillard, virt-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-03-12 17:31:11 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Avi Alkalay
2011-11-20 15:11:27 UTC
Did you upgrade from a working f14 and it stopped working? In your case, are you bridging em1 to br0 (and the guest to br0) ? (because your lan is connected to em1)? --- Here is an example from my f15/f16 dualboot machine: # cat /etc/sysconfig/network-scripts/ifcfg-br0 DEVICE=br0 TYPE=Bridge BOOTPROTO=static ONBOOT=yes DELAY=0 IPADDR=192.168.0.10 NETWORK=192.168.0.0 NETMASK=255.255.255.0 GATEWAY=192.168.0.1 MTU=1500 DNS1=192.168.0.1 IPV6INIT=no USERCTL=no # cat /etc/sysconfig/network-scripts/ifcfg-p33p1 DEVICE=p33p1 HWADDR=FF:FF:FF:FF:FF:FF ONBOOT=yes BRIDGE=br0 After configuing these files, disable Network Manager (i do use static ip): # systemctl stop NetworkManager.service # systemctl disable NetworkManager.service And enable traditional network service: # systemctl enable network.service # systemctl start network.servce Now: # brctl show bridge name bridge id STP enabled interfaces br0 8000.14dae9299cf7 no p33p1 virbr0 8000.000000000000 yes With this setup, i set the guest to bridged using "host device em1 (bridge 'br0')" i virt-manager This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. From the output of ifconfig, it appears that you have not fully followed the directions for creating a bridge device and connecting it to a physical ethernet device: 1) The bridge device has no IP address, but the physical ethernet does have an IP address. If the bridge is properly configured according to the page you reference, the bridge device will have an IP address, and the physical ethernet adapter will not. 2) Since a Linux bridge device takes on the numerically *lowest* MAC address of all attached devices, and your br0 device shows that it has the same MAC address as vnet0 (which is much *higher* than the MAC address of the physical device em1), it is clear that the physical device has not been attached to the bridge. Please verify that your /etc/sysconfig/network-scripts/ifcfg-em1 and ifcfg-br0 are similar to those posted by Reartes Guillermo in Comment 1. If they are, and you are still experiencing the problem, feel free to re-open this bug report. In the meantime, I'm closing it as NOTABUG, since it appears to be a configuration problem (and if there is a bug, not a libvirt bug, since devices being configured outside of libvirt are obviously not correctly configured). (In reply to comment #6) Laine, thank you for this observations. I'll have a look in my system again to make sure everything is correct. |