Networking Forums

Networking Forums > Computer Networking > Linux Networking > pppd server to internet problem

Reply
Thread Tools Display Modes

pppd server to internet problem

 
 
Hellotalktome13@hotmail.com
Guest
Posts: n/a

 
      05-13-2005, 03:58 PM
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

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.
I'm able to load a web page on the linux box and browse the net.

Why am I unable to load a web page on the win98 machine??
Why am I unable to send a SMTP email from a dial in device??

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

 
Reply With Quote
 
 
 
 
Clifford Kite
Guest
Posts: n/a

 
      05-14-2005, 05:57 PM
(E-Mail Removed) 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-(E-Mail Removed)|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. */
 
Reply With Quote
 
Bill Marcum
Guest
Posts: n/a

 
      05-14-2005, 09:51 PM
On 13 May 2005 08:58:29 -0700, (E-Mail Removed)
<(E-Mail Removed)> 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
>
> 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.
> I'm able to load a web page on the linux box and browse the net.
>
> Why am I unable to load a web page on the win98 machine??
> Why am I unable to send a SMTP email from a dial in device??
>
> Thanks in advance, I bet the setting is really easy.
>

Turn on ip forwarding. echo 1 >/proc/sys/net/ipv4/ip_forward

If you are going to run a server, you should not be using a system as
ancient as RH 9. Get Fedora Core 3 (4?), or Debian Sarge. Or at least
get the latest updates from fedoralegacy.org

--
Test-tube babies shouldn't throw stones.
 
Reply With Quote
 
Hellotalktome13@hotmail.com
Guest
Posts: n/a

 
      05-15-2005, 02:23 PM
Sorry guys I tryed all that easy stuff already.

All this box has to do is #1 Answer the phone. #2 Allow the
connecting device PAP login. #3 forward the device's SMTP packets to
our local SMTP server on the LAN.

Later it would be blocked from the outside world to prevent any
security issues. Only act as a relay from the dial in client to the
SMTP server.

Shoot it can't even handle a win98 box with all the security wide open.
Just because something is quote "OLD" is should still work as
specified.

Any other ideas? Really would like to use linux at work for this new
projct but I want to keep my job too.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
pppd connection problem Johny Franslay Linux Networking 2 10-07-2004 06:23 PM
pppd problem again???? Theophanis Kontogiannis Linux Networking 3 05-30-2004 01:54 PM
PPPD server routing problem? Mandrake/mgetty/pppd/D-link router martin02 Linux Networking 17 10-06-2003 03:06 PM
Problem with null-modem PPPd server Morten Trab Linux Networking 4 09-21-2003 01:42 PM
Re: pppd is up, but cannot ping/traceroute/connect to internet - help please Bill Unruh Linux Networking 7 07-05-2003 03:22 AM



1 2 3 4 5 6 7 8 9 10 11