qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] Qemu networking with olive(Freebsd)


From: Mike Lovell
Subject: Re: [Qemu-discuss] Qemu networking with olive(Freebsd)
Date: Tue, 03 Apr 2012 14:12:28 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.28) Gecko/20120313 Lightning/1.0b2 Thunderbird/3.1.20

On 04/03/2012 02:06 AM, Nikolay Abromov wrote:
Hi Mike,

Thanks for commenting. I found the problem and were right about the vlans. The problem was that the -net,nic vlan_id must match the -net tap vlan_id (example below).

Thank you once again for replying!



qemu -m 512 -no-acpi -hda r1/Olive11.1R1.14.img -nographic -daemonize -serial telnet::2001,server,nowait -localtime -net nic,vlan=11,macaddr=00:01:00:60:01:01,model=e1000 -net tap,vlan=11,ifname=tap0 -net nic,vlan=12,macaddr=00:01:10:60:01:02,model=e1000 -net tap,vlan=12,ifname=tap1 -net nic,vlan=13,macaddr=00:01:00:60:11:03,model=e1000 -net tap,vlan=13,ifname=tap2 -net nic,vlan=14,macaddr=00:01:00:70:01:04,model=e1000 -net tap,vlan=14,ifname=tap3

qemu -m 512 -no-acpi -hda r2/Olive11.1R2.14.img -nographic -daemonize -serial telnet::2002,server,nowait -localtime -net nic,vlan=21,macaddr=00:01:03:61:01:01,model=e1000 -net tap,vlan=21,ifname=tap4 -net nic,vlan=22,macaddr=00:01:20:60:01:02,model=e1000 -net tap,vlan=22,ifname=tap5 -net nic,vlan=23,macaddr=00:01:00:60:21:03,model=e1000 -net tap,vlan=23,ifname=tap6 -net nic,vlan=24,macaddr=00:01:00:71:01:04,model=e1000 -net tap,vlan=24,ifname=tap7


glad to hear that it worked. just one additional note. you do not need to use unique vlan number between all qemu processes. just unique vlan numbers on the same qemu process. so you could have re-used vlan numbers 11, 12, 13, and 14 on r2. just pointing that out in case it wasn't clear before. but it doesn't hurt to do it the way you did. have fun with your junos/olive learning.

mike



reply via email to

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