From: "Andrew Tsvetinskiy" <andrew.tsvetinskiy@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] freebsd 7.0 + qemu-devel
Date: Tue, 8 Apr 2008 08:25:46 +0000 [thread overview]
Message-ID: <bfe23ee30804080125w634d4bd9x93202c5284ac8774@mail.gmail.com> (raw)
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...
reply other threads:[~2008-04-08 8:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bfe23ee30804080125w634d4bd9x93202c5284ac8774@mail.gmail.com \
--to=andrew.tsvetinskiy@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).