Skip to contentSkip to conversation

VLAN connection issue between Qemu instances.

Qemu-devel Karel Gardas 2 participants 2 messages Apr 28, 2006 – Apr 29, 2006

lore
Share & tools
lore
#0 lore raw

Hello,

I'm trying to get qemu 0.8.0 working with two instances and VLAN between them. I'm using socket connections and options like:

qemu -hda openbsd-fw1.img -net nic,macaddr=22:33:77:55:66:00 -net socket,listen=:11234

qemu -hda openbsd-fw2.img -net nic,macaddr=11:22:33:44:55:66 -net socket,connect=silence:11234

once both OpenBSDs are started, I'm trying to ping from one to another, but it's not working. When using tcpdump on the host system I see some packets exchanged, but then suddenly after few packates (4-7) it stops (in tcpdump) and ping in guest complains about host down. Note that ping in guest lost 100% of packets.

Qemu is compiled with GCC 3.4 on Debian Sarge on AMD64 (64bit).

Any idea what to do to better debug this issue?

Thanks,
Karel
--
Karel Gardas [email protected]
ObjectSecurity Ltd. http://www.objectsecurity.com

#1 lore raw

Karel Gardas schreef:

Quoted 4 lines

qemu -hda openbsd-fw1.img -net nic,macaddr=22:33:77:55:66:00 -net socket,listen=:11234

qemu -hda openbsd-fw2.img -net nic,macaddr=11:22:33:44:55:66 -net

----------------------------------------------^

Quoted 1 line

socket,connect=silence:11234

The first part of your MAC-address is odd (11:...), this indicates that it is a multicast address.

Quoted 1 line

Any idea what to do to better debug this issue?

Don't use multicast addresses.

Greetings,
Mark.