About packet forwarding...
hey dudes!
I got some problemes about packet forwarding.
Actually, I installed win xp and centos6(64bit-based) on Vmware9.
And I schemed netowrk environment followings.
win xp----|vmnet3|----eth0_centos_eth1----|bridge|----Router
more details,
win xp's IP adress : 192.168.128.130
eth0 on centos's IP address : 192.168.128.131
eth1 on centos's IP address : 192.168.0.16
Router's internal gateway's IP address : 192.168.0.1
anyway, here's my goal
-> win xp shoulde be able to connect any external network clients.
So, I configured centos's network Interface-eth1 to follwoings.
/etc/sysctl.conf
net.ipv4.ip_forwarding=1
At last, I made centos forward packet which is input from win xp
to external network.
then I did a ping test on win xp to router's internal gateway
first.
But it couldn't make it .....yea it also couldn't suceed ping
external clients out of router.
you know, I had got message from centos' eth0.
In win_xp's cmd, I can see following message
->reply from 192.168.127.131 : Destination hsot unreachable.
and in centos, I used tcpdump to confrim what message apears.
centos' eth0 says,
->192.168.128.131.>192.168.128.130: ICMP host 192.168.0.1 unreachable - admin prohibitted
and then I thoght centos' firewall have problems.
so, I disabled firewall. I did ping test on win xp again.
but, I couldn't get any message....
what's the problem in this situation?
Please help me sove this matter. wating for your helps.
Last edited by MCLee; 02-11-2013 at 10:27 AM.
|