LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Can't Ping External NIC on Gateway From Intranet Node (https://www.linuxquestions.org/questions/linux-networking-3/cant-ping-external-nic-on-gateway-from-intranet-node-273078/)

danfiggolfer 01-02-2005 06:30 PM

Can't Ping External NIC on Gateway From Intranet Node
 
I've setup a LINUX PC running SUSE 9.2 that has one leg in the Internet and the other on a 192.168.0.0 Intranet (home network). I have my a laptop also running the same OS as the gateway PC, which is connected directly to the 192.168.0.1 NIC via a crossover cable.

I can ping the 192.168.0.1 interface just fine. Could someone tell me please, why can I not ping the 64.x.x.x NIC that's going to my DSL modem and out to the Internet?

When I run tcpdump to show a ping action to my Intranet NIC via the laptop:
15:53:22.862725 IP fignux.site > 192.168.0.40: icmp 64: echo reply seq 2
15:53:23.862664 IP 192.168.0.40 > fignux.site: icmp 64: echo request seq 3
Versus the same way to the other NIC on the gateway going to the Internet:
15:53:42.017753 IP 192.168.0.40 > adsl-64-1xx-xx-1.dsl.pacbell.net: icmp64: echo request seq 2
I will not receive the echo reply sequence.

My routing on the gateway machine:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
64.1xx.xx.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 64.1xx.xx.1 0.0.0.0 UG 0 0 0 eth1
My routing on my laptop client connected via crossover cable to the gateway machine:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0

On the SuSEFirewall2 I have:
FW_ROUTE = yes
FW_MASQUERADE=yes

Everything else is set to the default in /etc/sysconfig Editor.
Once I can ping the external card, then I know I can get the clients attached to the
Gateway Firewall box to the Internet.

Thanks in advance,
danfiggolfer


All times are GMT -5. The time now is 07:19 AM.