* [Qemu-devel] freebsd 7.0 + qemu-devel
@ 2008-04-08 8:25 Andrew Tsvetinskiy
0 siblings, 0 replies; only message in thread
From: Andrew Tsvetinskiy @ 2008-04-08 8:25 UTC (permalink / raw)
To: qemu-devel
I'm trying to link virtual machine with real one. Everything seems
must work, but don't ..
_ping 192.168.255.254 has no replies_ . tcpdump shows reqest and
reply with correct seq numbers
[HOST] tap0 (192.168.255.253/255.255.255.252) < ------ >
nic(192.168.255.254/255.255.255.252) [GUEST]
qemu -hda /tank/tools/qemu/linux.img -m 64 -net nic,vlan=0 -net
tap,vlan=0 -vnc:1
/usr/local/etc/qemu-ifup
====
#!/bin/sh
ifconfig tap0 192.168.255.253 netmask 255.255.255.252 up
====
ifconfig
=====
fxp0: flags=9943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,LINK0,MULTICAST>
metric 0 mtu 1500
options=8<VLAN_MTU>
ether 00:a9:40:1a:6a:94
inet 192.168.1.250 netmask 0xfffff800 broadcast 192.168.7.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
tap0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500
ether 00:bd:2c:aa:00:00
inet 192.168.255.253 netmask 0xfffffffc broadcast
192.168.255.255
Opened by PID 827
=====
tcpdump -i tap0
===========
17:06:13.154720 IP 192.168.255.253 > 192.168.255.254: ICMP echo
request, id 23811, seq 25, length 64
17:06:13.155534 IP 192.168.255.254 > 192.168.255.253: ICMP echo reply,
id 23811, seq 25, length 64
17:06:14.156277 IP 192.168.255.253 > 192.168.255.254: ICMP echo
request, id 23811, seq 26, length 64
17:06:14.157064 IP 192.168.255.254 > 192.168.255.253: ICMP echo reply,
id 23811, seq 26, length 64
17:06:15.157843 IP 192.168.255.253 > 192.168.255.254: ICMP echo
request, id 23811, seq 27, length 64
17:06:15.158655 IP 192.168.255.254 > 192.168.255.253: ICMP echo reply,
id 23811, seq 27, length 64
17:06:16.159389 IP 192.168.255.253 > 192.168.255.254: ICMP echo
request, id 23811, seq 28, length 64
===========
kernel config has't ipfiler ipfirewall ipdivert
-- follow your dream...
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-08 8:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-08 8:25 [Qemu-devel] freebsd 7.0 + qemu-devel Andrew Tsvetinskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).