VLAN connection issue between Qemu instances.
Karel,
Try:
qemu -hda openbsd-fw1.img -net nic,macaddr=22:33:77:55:66:00 -net socket,listen=127.0.0.1:11234
qemu -hda openbsd-fw2.img -net nic,macaddr=11:22:33:44:55:66 -net socket,connect=127.0.0.1:11234
Ben
Quoted 1 line
Quoted 1 line
Quoted 1 line
[email protected] 04/28/06 5:04 PM >>>
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
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Ben,
thanks for fast reply, but unfortunately this does not help. Interesting that now ping in guest "works" forever, which means it's not complaining about host down, but also loses 100% packets. What I see in tcpdump on host are good packets from server side qemu, but wrong (TCP checksum invalid) packets from the client side qemu.
E.g.
00:41:12.470887 IP (tos 0x0, ttl 64, id 42317, offset 0, flags [DF], length: 56) localhost.localdomain.32960 > localhost.localdomain.11234: P [bad tcp cksum fe2c (->b649)!] 2448:2452(4) ack 2449 win 8192 <nop,nop,timestamp 4101291 4101048> 00:41:12.510409 IP (tos 0x0, ttl 64, id 10538, offset 0, flags [DF], length: 52) localhost.localdomain.11234 > localhost.localdomain.32960: . [tcp sum ok] ack 2452 win 8192 <nop,nop,timestamp 4101301 4101291>
Is there anything other I might try to better debug this issue?
Thanks a lot!
Karel
Quoted 50 lines · Ben Dailey
Karel,
Try:
qemu -hda openbsd-fw1.img -net nic,macaddr=22:33:77:55:66:00 -net socket,listen=127.0.0.1:11234qemu -hda openbsd-fw2.img -net nic,macaddr=11:22:33:44:55:66 -net socket,connect=127.0.0.1:11234
Ben
Quoted 1 line
Quoted 1 line
Quoted 1 line
[email protected] 04/28/06 5:04 PM >>>
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_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Quoted 5 lines
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
--
Karel Gardas [email protected]
ObjectSecurity Ltd. http://www.objectsecurity.com