[Top][All Lists]

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

Re: [Qemu-devel] How to configure a QEmu NIC in bridge mode?

From: Luiz Antonio Falaguasta Barbosa
Subject: Re: [Qemu-devel] How to configure a QEmu NIC in bridge mode?
Date: Wed, 28 Sep 2011 13:19:32 -0300

Hi Ottavio,

Thanks for your reply!

Sorry, but I didn't ask in a right way. Actually, what I have to know is how to connect my QEMU to a bridge (already configured in the host computer).

What I want to do is to connect my QEMU (with an Android SDK into) to a bridge configured in host computer that runs the ns-3. I'll make some tests between Android applications (running since Android SDK) and ns-3.

Do you (or anybody else) know how to do this?



2011/9/28 Ottavio <address@hidden>
> From: Luiz Antonio Falaguasta Barbosa <address@hidden>
> To: address@hidden
> Date: Wed, 28 Sep 2011 11:48:05 -0300
> Subject: [Qemu-devel] How to configure a QEmu NIC in bridge mode?
> Hi guys,
> I know this is not a list of QEmu users, but how it doesn't exist, I'll ask it here. If antbody could help me, I'll be greatful!

An unofficial qemu-users mailing list is here:

You won't find much there yet.

> Please, does anybody know how to configure a QEmu NIC in bridge mode?
> Thank you in advance!

Have you looked at the qemu-doc.html file:

-net tap[,vlan=n][,name=name][,fd=h][,ifname=name]
   Connect the host TAP network interface name to VLAN n, use the
network script file to configure it and the network script dfile to
deconfigure it. If name is not provided, the OS automatically provides
one. fd=h can be used to specify the handle of an already opened host
TAP interface. The default network configure script is /etc/qemu-ifup
and the default network deconfigure script is /etc/qemu-ifdown. Use
script=no or downscript=no to disable script execution. Example:

        qemu linux.img -net nic -net tap

   More complicated example (two NICs, each one connected to a TAP device)

        qemu linux.img -net nic,vlan=0 -net tap,vlan=0,ifname=tap0 \
        -net nic,vlan=1 -net tap,vlan=1,ifname=tap1


A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



reply via email to

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