if need arp server
jiangtao
jiangtao@neu.edu.cn
Thu, 25 Nov 1999 08:54:45 +0800
Thanks your help very much.
I config rule as you said ,I can ping 10.0.0.88 success in Linux box,but in
pc1, I ping 10.0.0.88 failed as before and wrong message is same,How can i
solve the problem
Greg Lee wrote:
> You want to have pc2 apear to have an ip of 10.0.0.88 when you look from
> pc1?
>
> you need to have a rule like:
> ipnatctl -d 10.0.0.88 -b dest -t 192.168.0.2
> this would be in addition to what you already have.
>
> On Wed, 24 Nov 1999, jiangtao wrote:
>
> -Hello everyone:
> - I hava a question.I do a test, my config is:
> -
> -(pc1)--------(eth0 eth1)--------(pc2)
> - Linux box
> -
> -pc1--10.0.0.2
> -pc2--192.168.0.2
> -
> -Linux box:
> -eth0--10.0.0.1
> -eth1--192.168.0.1
> -
> -in Linux box,my nat rule is:
> -ipnatctl -I -s 192.168.0.2 -b source -t 10.0.0.88
> -in pc1, I run command: ping 10.0.0.88
> -but I can not ping 10.0.0.88 success, run tcpdump,it tell us:
> -
> -Linux Box:~# tcpdump -i eth0
> -15:57:42.068279 arp who-has 10.0.0.88 tell 10.0.0.1
> -15:57:43.068095 arp who-has 10.0.0.88 tell 10.0.0.1
> -15:57:44.068077 arp who-has 10.0.0.88 tell 10.0.0.1
> -
> <snip>
> -who can tell me why, and how can ping success or how to verfiy
> -nat translation success. Thanks very much
> -
> -
>
> ////////////////////////////////////////////////
> E-mail : tatsu@tatsu.dynip.com
> Web Page: http://tatsu.dynip.com/
> Uptime : 6 days 23:43
> Load : 2.00 2.02 2.00
> ////////////////////////////////////////////////