Lentes, Bernd
2015-Mar-16 14:08 UTC
[libvirt-users] still possible to use traditional bridge network setup ?
Hi, i'm currently installing a SLES 12 64bit system. libvirt-client-1.2.5-13.3.x86_64 and libvirt-daemon-1.2.5-13.3.x86_64. Formerly I created my vm's (KVM) using a traditional bridge in my host systems, mostly SLES 11 SP3. But with SLES 12 I don't succeed. I can use the macvtap device in the host, but I like to be able to communicate between host and guest. Is the traditional bridge setup not any longer available ? Bernd -- Bernd Lentes Systemadministration Institut für Entwicklungsgenetik Gebäude 35.34 - Raum 208 HelmholtzZentrum münchen bernd.lentes@helmholtz-muenchen.de phone: +49 89 3187 1241 fax: +49 89 3187 2294 http://www.helmholtz-muenchen.de/idg Je suis Charlie Helmholtz Zentrum München Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH) Ingolstädter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe Geschäftsführer: Prof. Dr. Günther Wess, Dr. Nikolaus Blum, Dr. Alfons Enhsen Registergericht: Amtsgericht München HRB 6466 USt-IdNr: DE 129521671
Laine Stump
2015-Mar-16 15:11 UTC
Re: [libvirt-users] still possible to use traditional bridge network setup ?
On 03/16/2015 10:08 AM, Lentes, Bernd wrote:> Hi, > > i'm currently installing a SLES 12 64bit system. libvirt-client-1.2.5-13.3.x86_64 and libvirt-daemon-1.2.5-13.3.x86_64. > Formerly I created my vm's (KVM) using a traditional bridge in my host systems, mostly SLES 11 SP3. > But with SLES 12 I don't succeed. I can use the macvtap device in the host, but I like to be able to communicate between host and guest. > Is the traditional bridge setup not any longer available ?Nothing has been removed in libvirt. Traditional bridges work just fine. What failure did you see?
Lentes, Bernd
2015-Mar-16 15:42 UTC
Re: [libvirt-users] still possible to use traditional bridge network setup ?
Laine wrote:> -----Original Message----- > From: sendmail [mailto:justsendmailnothingelse@gmail.com] On Behalf > Of Laine Stump > Sent: Monday, March 16, 2015 4:12 PM > To: libvirt-users@redhat.com > Cc: Lentes, Bernd > Subject: Re: [libvirt-users] still possible to use traditional bridge network > setup ? > > On 03/16/2015 10:08 AM, Lentes, Bernd wrote: > > Hi, > > > > i'm currently installing a SLES 12 64bit system. libvirt-client-1.2.5- > 13.3.x86_64 and libvirt-daemon-1.2.5-13.3.x86_64. > > Formerly I created my vm's (KVM) using a traditional bridge in my host > systems, mostly SLES 11 SP3. > > But with SLES 12 I don't succeed. I can use the macvtap device in the > host, but I like to be able to communicate between host and guest. > > Is the traditional bridge setup not any longer available ? > > Nothing has been removed in libvirt. Traditional bridges work just fine. > What failure did you see?Hi Laine, thank you for your answer. Well, it simply does not work: this is my setup: pc63422:/etc/sysconfig/network # cat ifcfg-br0 BOOTPROTO='dhcp4' TYPE='Bridge' BRIDGE='yes' DEVICE='br0' BRIDGE_FORWARDDELAY='0' BRIDGE_PORTS='eth0' BRIDGE_STP='off' BROADCAST='' DHCLIENT_SET_DEFAULT_ROUTE='yes' ETHTOOL_OPTIONS='' IPADDR='' MTU='' NAME='' NETMASK='' NETWORK='' REMOTE_IPADDR='' STARTMODE='auto' USERCONTROL='no pc63422:/etc/sysconfig/network # cat ifcfg-eth0 # BOOTPROTO='dhcp' BROADCAST='' ETHTOOL_OPTIONS='' IPADDR='' MTU='' NAME='' NETMASK='' NETWORK='' REMOTE_IPADDR='' STARTMODE='auto' DHCLIENT_SET_DEFAULT_ROUTE='yes' PREFIXLEN='' BOOTPROTO='static' USERCONTROL='no' BRIDGE='br0' guest.xml: ... <interface type='bridge'> <mac address='52:54:00:37:92:b1'/> <source bridge='br0'/> <model type='rtl8139'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> ... pc63422:/etc/sysconfig/network # ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default 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: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UP group default qlen 1000 link/ether 78:24:af:9c:bd:a6 brd ff:ff:ff:ff:ff:ff inet6 fe80::7a24:afff:fe9c:bda6/64 scope link valid_lft forever preferred_lft forever 27: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default link/ether 78:24:af:9c:bd:a6 brd ff:ff:ff:ff:ff:ff inet 10.35.34.115/24 brd 10.35.34.255 scope global br0 valid_lft forever preferred_lft forever inet6 fe80::7a24:afff:fe9c:bda6/64 scope link valid_lft forever preferred_lft forever 28: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN group default qlen 500 link/ether fe:54:00:37:92:b1 brd ff:ff:ff:ff:ff:ff inet6 fe80::fc54:ff:fe37:92b1/64 scope link valid_lft forever preferred_lft forever Attached is what I choose during creation of the vm. It's german, network source means something like "name of the shared device". I attached the host to a network hub to be able to sniff all packets. But I don't see any packet from the guest. E.g. I choosed "dhclient" after booting a knoppix cd in the guest, but no packet from the guest. Also using a windows 7 installation cd - no packet from the guest. But I see packets from the host. Bernd Helmholtz Zentrum München Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH) Ingolstädter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe Geschäftsführer: Prof. Dr. Günther Wess, Dr. Nikolaus Blum, Dr. Alfons Enhsen Registergericht: Amtsgericht München HRB 6466 USt-IdNr: DE 129521671
Possibly Parallel Threads
- Re: still possible to use traditional bridge network setup ?
- Re: still possible to use traditional bridge network setup ?
- Re: still possible to use traditional bridge network setup ?
- Re: still possible to use traditional bridge network setup ?
- OpenSUSE 11.4 (2.6.39-30.1), Xen 4.0.2 - Device 0 (vif) Could not be connected