|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] XEN ip translation issue
Hi, All,
I am a new comer to Xen. I met similar issue mentioned in below link: http://www.mail-archive.com/centos@xxxxxxxxxx/msg39805.html
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
192.168.122.25 like below:
[root@vnet125 ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:16:3E:3F:61:75 inet addr:192.168.122.25 Bcast:192.168.122.255 Mask:255.255.255.0 inet6 addr: fe80::216:3eff:fe3f:6175/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 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 192.168.122.25, 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 192.168.122.25 > dirham: ICMP echo request, id 7443, seq 1, length 64
15:45:58.624726 IP 192.168.122.25 > dirham: ICMP echo request, id 7443, seq 2, length 64 15:45:59.636707 IP 192.168.122.25 > dirham: ICMP echo request, id 7443, seq 3, length 64 15:46:00.636724 IP 192.168.122.25 > 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.
Regards, Haifeng Li
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-users] XEN ip translation issue,
hai feng li <=
|
|
|
|
|