To get real help with routing problems, you need to provide some basic
diagnostic output. 

For the Linux host that is acting as a router, provide the output of:

        ifconfig -a
        netstat -nr
        ping <ip address of default gateway>
        ipchains -L -n 

For the host that (apparently) cannot route through the Linux host, provide
the routing table as well, and the addresses of the nameservers it uses (not
sure where they would be on a Win2K host). Can you ping or tracert to, **by
IP address**, the nameservers listed in the Win2K equivalent of resolv.conf?

Finally, when you say:

>So from this I can ping 212.1.135.14(IP assigned by
>ISP)
>but none of the other IP's.

what exactly do you mean? That the LAN host can ping the Linux host's
external IP address, but not any address beyond that? If so, I'd *guess*
either you are not NAT'ing a private-address LAN properly or not
proxy-arp'ing a public address properly (depending on which address range
the LAN uses). Only a guess, though, without the details.

At 12:59 PM 3/22/01 -0800, Shane McKeown wrote:
>Hi all
>
>I have just finished setting up my linux box to 
>provide ip_forwarding, and have confirmed that 
>ip_forwarding is active
>
>cat /proc/sys/net/ipv4/ip_forward returns a '1'.
>
>My system is Linux Mandrake 7.1, 2.2.19
>
>I can dial up to the internet from the linux box, a
>and when I ping both the linux boxes' internal and
>external IP's from another computer on my LAN
>I get replies that I can see both.
>I.e. I can ping both addresses.
>
>The problem occurs when I try to ping an external 
>internet address such as www.altavista.com from 
>a PC other than the Linux box.  Using tracert(its 
>a Win2000 PC), I can only ping as far as the linux 
>box, no further.
>
>What have I missed?
>
>This is the listing from syslog:
>Mar 22 19:53:53 linux1 pppd[1125]: pppd 2.4.0 started
>by root, uid 0
>Mar 22 19:53:53 linux1 pppd[1125]: Using interface
>ppp0
>Mar 22 19:53:53 linux1 pppd[1125]: Connect: ppp0 <-->
>/dev/ttyS1
>Mar 22 19:53:57 linux1 kernel: PPP BSD Compression
>module registered
>Mar 22 19:53:57 linux1 kernel: PPP Deflate Compression
>module registered
>Mar 22 19:53:57 linux1 pppd[1125]: local  IP address
>212.1.135.14
>Mar 22 19:53:57 linux1 pppd[1125]: remote IP address
>212.1.128.21
>Mar 22 19:53:57 linux1 pppd[1125]: primary   DNS
>address 212.1.128.157
>Mar 22 19:53:57 linux1 pppd[1125]: secondary DNS
>address 212.1.128.156
>
>
>So from this I can ping 212.1.135.14(IP assigned by
>ISP)
>but none of the other IP's.
>
>Shane



--
------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA                                    [EMAIL PROTECTED]        
----------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to