Ok, here are the outputs from each of the commands:
ifconfig -a:>
eth0 Link encap:Ethernet HWaddr
00:10:4B:1E:93:EF
inet addr:132.158.132.2
Bcast:132.158.132.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1
RX packets:68 errors:0 dropped:0 overruns:0
frame:0
TX packets:72 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:100
Interrupt:10 Base address:0x300
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0
frame:0
TX packets:2 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:0
ppp0 Link encap:Point-to-Point Protocol
inet addr:212.1.141.149 P-t-P:212.1.128.25
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST
MTU:1500 Metric:1
RX packets:21 errors:0 dropped:0 overruns:0
frame:0
TX packets:21 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:10
''''''''''''''''''''''''''''''''''''''''''''''''''''
netstat -nr:>
Kernel IP routing table
Destination Gateway Genmask Flags
MSS Window irtt Iface
212.1.128.25 0.0.0.0 255.255.255.255 UH
0 0 0 ppp0
132.158.132.0 0.0.0.0 255.255.255.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 212.1.128.25 0.0.0.0 UG
0 0 0 ppp0
'''''''''''''''''''''''''''''''''''''''''''''''''''
ipchains -L -n:>
Chain input (policy ACCEPT):
Chain forward (policy DENY):
target prot opt source
destination ports
MASQ all ------ 132.158.132.0/24 0.0.0.0/0
n/a
Chain output (policy ACCEPT):
''''''''''''''''''''''''''''''''''''''''''''''''''''
The internal IP addresses are as follows:-
The IP of the Win2K PC is : 132.158.132.1
The IP of the Linux Box is : 132.158.132.2
Shane
--- Ray Olszewski <[EMAIL PROTECTED]> wrote:
> 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]
>
>
----------------------------------------------------------------
>
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
-
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