qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] Host-Bridge in routed TAP Mode


From: Vlad Yasevich
Subject: Re: [Qemu-discuss] Host-Bridge in routed TAP Mode
Date: Fri, 27 Sep 2013 09:34:42 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8

On 09/27/2013 08:54 AM, Sven Gehr wrote:
Am Donnerstag, 26. September 2013, 13:01:06 schrieb Vlad Yasevich:
On 09/26/2013 11:46 AM, Sven Gehr wrote:
Am Mittwoch, 25. September 2013, 10:30:15 schrieb Vlad Yasevich:

   From what I understand, routed mode is just that.  It depends

on ip forwarding being enabled for the interfaces and it will
try to route the packets from your bridge out through your designated
interface.

Exactly, all packets from/to the bridging should be routed to the
interface
eth0.

For that to happen, eth0 should have an IP address and you need to have
proper routes configured.  Also ip forwarding has to be enabled in the
interfaces.

ok, then that is my fault. eth0 should not have their own address.


[...]
brctl addif intern eth0


You can used libvirt to setup a bridged interface in the Network
Interfaces tab though.

I have no graphical interface on the system. What is missing in my
xml-file?
I think what you want to do is run:
        virsh iface-bridge eth0 br0

ok, I try:

virsh iface-bridge eth0 intern

and get the error:

Error: faild to get interface 'eth0'
Error: this function is not supportet by the connection driver:
virtInterfaceLookupByName

What does virsh iface-list show?  If it doesn't show eth0, that
means eth0 is already configured and probably managed by NetworkManager.
Bring eth0 down and see if iface-list shows it.

-vlad




You may then edit the xml using iface-edit command.
ok, note edit the xml-file with an standard editor.

Then change the vm xml to use the br0 interface instead of the default
network you crated.

I have not yet installed vm. That will come later if the bridge works :-)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]