I've setup a router with the following IP, 192.168.1.254 and 160.1.4.1 which connect to computer A (192.168.1.200) and computer B (160.1.4.200). A is able to ping to B but B doesn't able to ping to A (not to mentioned, B also can't ping to 192.168.1.254). How to get it ping successfully?
Another question is, is the router can't ping address other than its own IP? Coz when i tried to ping the A, the message operation not permitted is given
Please help me. thanks
[old stuff deleted]
Are these questions asked in the context of a router running a VPN of some sort (as your continuing use of this Subject: line seems to suggest) or not? If they are, your description of the setup is extremely incomplete.
But my guess is that they do not involve a VPN, and this response is based on that guess.
First, is the router NATing the 192.168.1.0/24 network? Probably. If it is, the asymmetric ping results you report in your first question are normal. The only way to get B to "ping successfully" to A and the router's LAN-side IP address is not to use NAT. Since private-range addresses like 192.168.1.0/24 are meant for use with NAT (among other things, too much to go into in an e-mail reply), this seems like a bad idea, unless your circumstances are quite unusual.
(I am assuming that, since this exercise seems to be part of a class you are taking, you have been taught what NAT is and what it gets used for. If not, any modern text of routing will provide this information.)
As to your second question, an "operation not permitted" response (usually "sendto: operation not permitted") indicates that the outgoing ping is blocked by an ipchains (2.2.x kernels) or iptables (2.4.x kernels) rule. So check your rulesets.
For more help than this, we would need the details of your setup ...or you can refer to the Shorewall documentation (assuming you are using a LEAF variant that employs Shorewall) to see how to change your settings to permit pings from the router to the LAN (and the external network).
If you need to post again, please read the SR FAQ first, so you know what information to include in troubleshooting reports.
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
