comp.os.linux.networking
[Top] [All Lists]

Re: pppd server to internet problem

Subject: Re: pppd server to internet problem
From: Clifford Kite
Date: Sat, 14 May 2005 12:57:25 -0500
Newsgroups: comp.os.linux.networking
Hellotalktome13@xxxxxxxxxxx wrote:
> I have linux redhat 9 setup and installed w/ pppd server.

> I can connect with windows 98 and get an IP.

> IP: 192.168.1.8
> Subnet: 255.255.255.255
> Gateway:  192.168.1.8

> I have the DNS server hard coded in on the win98 machine 192.168.1.10

> I am able to ping other clients on my network like:
> 192.168.1.158   Linux box pppd server
> 192.168.1.10   DNS server
> 192.168.1.19   email server
> 192.168.1.1  router to wan internet

> My routing table looks like the following with ppp0 up.

> Destination         Gateway            Genmask          Flags    MSS
> Window   irtt Iface

> 192.168.1.8            0.0.0.0       255.255.255.255   U     0     0
>    0      ppp0

> 198.168.1.0     0.0.0.0   255.255.255.0   U     0   0      0    wlan0

The comments below assume that 198.168.1.0 in the line just above
should really be 192.168.1.0, the router (192.168.1.1) is doing (S)NAT
for 192.168.1.0/24, and the router uses proxy arp in the same way Linux
apparently does (man 7 arp).  If any one of these assumptions is not
true then you can stop reading now.

> 127.0.0.0       0.0.0.0     255.0.0.0       U     0  0      0    lo

> Again,
> I'm able to ping SMTP server and DNS server from win98.

Because the SMTP and DNS servers are on the network 192.168.1.0/24.

> I'm able to load a web page on the linux box and browse the net.

Which is as it should be.

> Why am I unable to load a web page on the win98 machine??

If the web page is out on the Internet then it's most likely because
outgoing IP packets from the Windows host do not reach the router
or IP packets received by the router do not reach the Windows host.
;)

> Why am I unable to send a SMTP email from a dial in device??

There is not enough information given for a meaningful response to
the question.

You do need:

1)  The pppd proxyarp option.

Check options with "pppd dryrun" at the command line.  If the proxyarp
option is missing then add it.

2)  IP forwarding support in the kernel and enabled.

Check that with "cat /proc/sys/net/ipv4/ip_forward" which should show a
"1".  If it shows "0" then add the pppd ktune option.  If the ip_forward
file doesn't exist then the kernel doesn't support IP forwarding.

3)  A default route on the Windows host through it's PPP interface.

I don't do windows and so can't help investigate/correct that.

As an aside, I don't run RH and can't help with anything RH-specific.

> Thanks in advance, I bet the setting is really easy.

Maybe, but finding what "setting" and how to set it is often not.

-- Clifford Kite            Email: "echo xvgr_yvahk-ccc@xxxxxxx|rot13"
PPP-Q&A links, downloads:                      http://ckite.no-ip.net/
/* The wealth of a nation is created by the productive labor of its
 * citizens. */

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy