All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] How to configure a QEmu NIC in bridge mode?
@ 2011-09-28 14:48 Luiz Antonio Falaguasta Barbosa
  0 siblings, 0 replies; 3+ messages in thread
From: Luiz Antonio Falaguasta Barbosa @ 2011-09-28 14:48 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 249 bytes --]

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!

Please, does anybody know how to configure a QEmu NIC in bridge mode?

Thank you in advance!

Regards,

Luiz

[-- Attachment #2: Type: text/html, Size: 377 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] How to configure a QEmu NIC in bridge mode?
  2011-09-28 15:29 Ottavio
@ 2011-09-28 16:19 ` Luiz Antonio Falaguasta Barbosa
  0 siblings, 0 replies; 3+ messages in thread
From: Luiz Antonio Falaguasta Barbosa @ 2011-09-28 16:19 UTC (permalink / raw)
  To: Ottavio; +Cc: qemu-users, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 2327 bytes --]

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?

Regards,

Luiz

2011/9/28 Ottavio <pr0f3ss0r1492@yahoo.com>

> > From: Luiz Antonio Falaguasta Barbosa <lafbarbosa@gmail.com>
> > To: qemu-devel@nongnu.org
> > 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:
> http://tech.groups.yahoo.com/group/qemu-users/
>
> 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:
> http://qemu.weilnetz.de/qemu-doc.html#sec_005finvocation
> and:
> http://en.wikibooks.org/wiki/QEMU/Networking
>
> -net tap[,vlan=n][,name=name][,fd=h][,ifname=name]
> [,script=file][,downscript=dfile]
>    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
>
>
>
>
> --
> Ottavio
>
>
> 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?
>
>


-- 
[]s,

Luiz

[-- Attachment #2: Type: text/html, Size: 3400 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] How to configure a QEmu NIC in bridge mode?
@ 2011-09-28 15:29 Ottavio
  2011-09-28 16:19 ` Luiz Antonio Falaguasta Barbosa
  0 siblings, 1 reply; 3+ messages in thread
From: Ottavio @ 2011-09-28 15:29 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-users

> From: Luiz Antonio Falaguasta Barbosa <lafbarbosa@gmail.com>
> To: qemu-devel@nongnu.org
> 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:
http://tech.groups.yahoo.com/group/qemu-users/

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:
http://qemu.weilnetz.de/qemu-doc.html#sec_005finvocation
and:
http://en.wikibooks.org/wiki/QEMU/Networking

-net tap[,vlan=n][,name=name][,fd=h][,ifname=name]
[,script=file][,downscript=dfile]
    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




-- 
Ottavio


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?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-09-28 16:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-28 14:48 [Qemu-devel] How to configure a QEmu NIC in bridge mode? Luiz Antonio Falaguasta Barbosa
2011-09-28 15:29 Ottavio
2011-09-28 16:19 ` Luiz Antonio Falaguasta Barbosa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.