Current-Users archive

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

Re: qemu-0.15.1 from pkgsrc/emulators/qemu does not work on recent NetBSD current



Hi,

From: David Young <dyoung%pobox.com@localhost>, Date: Mon, 12 Dec 2011 11:19:46 
-0600

> On Tue, Dec 13, 2011 at 12:34:58AM +0900, Ryo ONODERA wrote:
>> Hi,
>> 
>> From: Manuel Bouyer <bouyer%antioche.eu.org@localhost>, Date: Mon, 12 Dec 
>> 2011 11:56:14 +0100
>> 
>> > On Sat, Dec 10, 2011 at 11:17:11PM +0900, Ryo ONODERA wrote:
>> >> Setting up qemu is hard work...
>> >> 
>> >> I have the following problem.
>> >> 
>> >> On NetBSD current machine,
>> >> # /sbin/ifconfig tap0 create
>> >> # /sbin/ifconfig bridge0 create
>> >> # /sbin/brconfig bridge0 add msk0
> 
> Is msk0's PROMISC flag set here?
> 
>> >> # /sbin/ifconfig bridge0 up
> 
> Here?
> 
>> >> # /sbin/ifconfig tap0 0.0.0.0 up
> 
> Here?
> 
>> >> # /sbin/brconfig bridge0 add tap0
> 
> Here?
> 
>> >> # dhclient tap0
>> >> bound to 192.168.81.5
> 
> And here?

1) When msk0 has no IP address, PROMISC flag is never set.
2) When msk0 has IP address (assigned before "/sbin/ifconfig tap0 create"),
PROMISC flag is set just after "/sbin/brconfig bridge0 add msk0" (your
first question), and qemu tap and bridge networking works properly.

I always run above steps before assigning IP address(case 1),
and I have problem.

Thank you.

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3




Home | Main Index | Thread Index | Old Index