This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-users] XEN ip translation issue

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] XEN ip translation issue
From: hai feng li <lihaifeng1980@xxxxxxxxx>
Date: Fri, 7 Jan 2011 08:48:40 +1100
Delivery-date: Tue, 11 Jan 2011 02:25:42 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=FWWE4FbdmJrMX1p1I0F+Xzyc0FyVBLbM996uktPxXMw=; b=W6aP1UumkuCH/m+kfNfyEKBWD1s4NHGYVOsCin6oQ97CNnZvDOuDHypQtZWY9pMgBl 9JjYODKlALEgbCZeZXlMCNltUsCOVsAzww9a0aemOCQ6Udu8I1HRk1Y3laoOhUmmfyni Rk9eIT+RyYna73ziWFfHEp033Noee7Mfg9mAM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ODUIWFb7Krg0lqnmY/jXrW4bDFFxJV+kB1+UydSjAHT/zJfqOvcY8UnffELh4raQau jLPf2hpjVxHwl7C0PRaxT6Ga48YpbTGB4fyBAxmemDjwXqK6qRR6AjSsryccThKcr2+R K2XX/Bv6aPNM10PZo5LX/BIp9UNo9Q1Pz1qcY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi, All,

I am a new comer to Xen. I met similar issue mentioned in below link:

After trying the command provided by Alan to set the MAC to the original one, my host machine can connect to the network. But my virtual machine still can not connect to the network. One of my colleague said the reason is that the ip address of the virtual machine is not translated rightly. The ip address of the virtual machine is like below:
[root@vnet125 ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:3E:3F:61:75
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::216:3eff:fe3f:6175/64 Scope:Link
          RX packets:48162 errors:0 dropped:0 overruns:0 frame:0
          TX packets:57709 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5544096 (5.2 MiB)  TX bytes:392594536 (374.4 MiB)

When I try to run "ping dirham" on the virtual machine, and tcpdump on dirham shows that the ip address is still, which should be the ip address of the host machine.
root@dirham:~# tcpdump ip proto \\icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
15:45:57.615963 IP > dirham: ICMP echo request, id 7443, seq 1, length 64
15:45:58.624726 IP > dirham: ICMP echo request, id 7443, seq 2, length 64
15:45:59.636707 IP > dirham: ICMP echo request, id 7443, seq 3, length 64
15:46:00.636724 IP > dirham: ICMP echo request, id 7443, seq 4, length 64

Does anybody know how to change the configuration to translate the ip address successfully?
Thanks in advance for you help.

Haifeng Li
Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] XEN ip translation issue, hai feng li <=