ppp Dialin Server

ppp Dialin Server

Post by Thomas Forlenz » Sat, 28 Nov 1998 04:00:00



Okay, how is this done?

I think what I am trying to do is configure a linux box as a router.

Being network challenged I am not sure exactly what I am doing.

I have a small local LAN (3 machines) running various Linux and windows
(or both) OS's.  I want my linux server to be able to accept a ppp
dialin so that a remote user can dial in and see the server and the
other machines on the local LAN.

Confused?  So am I cuz I can't get it to work.  Here is where I am at.

The local LAN works fine.  I dial in from a remote and the local LAN
still works fine.  The ppp server can ping anyone on the LAN and the
remote.  Anyone on the LAN can ping the server.  The remote can ping the
server.  But the remote cannot ping the other machines on the LAN and
visa-versa.  The remote and the LAN clients all have a default route set
for the server.

Here is the setup.

Linux PPP server:
ppp0: 129.210.10.1
eth0: 129.200.10.1

LAN Client:
129.200.10.2

ppp client:
129.210.10.2

netstat -rn on the server:
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
129.210.10.2    0.0.0.0         255.255.255.255 UH     1500 0          0
ppp0
129.200.0.0     0.0.0.0         255.255.0.0     U      1500 0          0
eth0
127.0.0.0       0.0.0.0         255.0.0.0       U      3584 0          0
lo
0.0.0.0         129.210.10.2    0.0.0.0         UG     1500 0          0
ppp0

ifconfig -a on the server:
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
          RX packets:46778 errors:0 dropped:0 overruns:0
          TX packets:46778 errors:0 dropped:0 overruns:0

eth0      Link encap:Ethernet  HWaddr 00:40:05:2C:5A:F5
          inet addr:129.200.10.1  Bcast:129.200.255.255
Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:405553 errors:0 dropped:7 overruns:0
          TX packets:442927 errors:0 dropped:0 overruns:0
          Interrupt:9 Base address:0x300

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:129.210.10.1  P-t-P:129.210.10.2  Mask:255.255.0.0
          UP POINTOPOINT RUNNING  MTU:1500  Metric:1
          RX packets:120 errors:0 dropped:0 overruns:0
          TX packets:118 errors:0 dropped:0 overruns:0

Now the ppp client and the lan client are both running Windows:
The ultimate goal is to share the files from the lan client to the ppp
client.
But I can't even get them to ping each other.

Also, when I built my kernel  2.0.34.  I built it to include all of the
ip stuff.
i.e.  forwarding, masquerading, etc...

I have been playing around with the routing tables on all machines for a
weeks now, still to no avail. I think I am chasing my tail.  There must
be something I am missing.  I have read then NET and PPP howto's, tcpip
admin books and various email from colleagues.  Now I am turning to the
wisdom of USENET.  

Thanks for your help.

--
- TPF    http://www.eclipse.net/~tpf

                "Ah! Hahahahahahahaha!"

 
 
 

ppp Dialin Server

Post by Thomas Forlenz » Tue, 01 Dec 1998 04:00:00


Okay, I figured out my problem (well, my ppp dialin problem anyway).

I don't know if I just overlooked it or if it is not documented.  But
when I installed my RH5.1 I must have selected to disable
ip_forwarding.  It seems the
config files had it set for disable.

Evidently the file /proc/sys/net/ipv4/ip_forward can have a single value
in it ; 0 or 1.  This disables or enables ip_forwarding at the kernel
level.  
Well, just setting the /etc/sysconfig/network file to have FORWARD_IPV4
set to yes allows the boot up sequence to set the ip_forward file to 1.

Well, now I can have remote users dial in and access the local LAN.

Thanks to all those who have responded to this and my previous requests
for assistance.

--
- TPF    http://www.eclipse.net/~tpf

                "Ah! Hahahahahahahaha!"

 
 
 

1. slip/ppp dialin server with dhcp server

Would someone point me to the right direction and reference material?  I
want to setup a small slip/ppp dialin server using Linux.  I read the
NET-3-HOWTO.  It has details on accomplishing this.  But I want to know
if it is possible to do this with dhcpd instead of a static file.  As I
understand the doc, dynamic IP assignment still binds the IP address to a
specific ttyS? port.  Is it possible to have the dialin server to make
request to an existing dhcp server then pass this onto the caller?  It
is my understanding that dhcp server could inform the dhcp client the
change of IP assignment.  How could this be accomplished in the
mentioned scenario?  I appreciate any idea and suggestion.

2. problems with multi-boot (NT4/win95/FBSD3.1

3. PPP dialin server problem

4. Nvidia 0.95 on RH 7.0, agpgart problem

5. ppp dialin server -- Please Help!!!

6. Ultra-Wide SCSI 4.3 GB and SCO Open Desktop 3.0

7. 2.5 PPP dialin server IP number assignment question

8. Imake-Problem

9. ppp dialin server

10. PPP Dialin Server Authentication problems.

11. PPP dialin server

12. solaris 2.6 ppp dialin server setup