Hello All,

You will have to excuse my language regarding Linux but it is my 1st 
attempt at a *nix OS.

Product:
    
       Redhat 6.2 (Zoot) - Kernel: 2.2.14-5.0

Issue:

I have setup a dial-in Server to allow windows 9x,NT machines to dial 
in and get access to the Apache server based on the dial-in server and 
I also want to allow access to a few hosts on the local lan. When a Win 
machine dials into the server it can ping and view the HTML page on the 
server it is dialed into. When I try and ping from the Win machine to 
other IP addresses on the lan they time out. I am using the IP 
addresses too not machine names. NB: When I ping from the local console 
of the server to the same IP address it all works fine.

It appears that the pppd is not forwarding/allowing packets to be 
forwarded to the eth0 device.

I setup the dial-in server using the following document located at;

http://www.swcp.com/~jgentry/pers.html

I am using the AutoPPP option located 
in /etc/mgetty+sendfax/login.config
It calls pppd using the config file /etc/ppp/options.server 

/etc/ppp/options.server     file contents
   -detach
   asyncmap 0
   modem
   crtscts
   lock
   require-pap
   refuse-chap
   login
   allow-ip 192.168.0.1
   proxyarp
   ms-dns 192.168.0.1

I am using PAP to auth from the /etc/passwd file.
I am also utilising /etc/ppp/options.ttyS1 (the inbound serial line 
specific config file)

/etc/ppp/options.ttyS1     file contents

  192.168.0.222:192.168.0.223
  allow-ip 192.168.0.1

The route table looks like this when the Win machine is connected to 
the server.

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
192.168.0.223   *               255.255.255.255 UH    0      0        0 
ppp0
192.168.0.200   *               255.255.255.255 UH    0      0        0 
eth0
192.168.0.0     *               255.255.255.0   U     0      0        0 
eth0
127.0.0.0       *               255.255.255.0   U     0      0        0 
sl0
127.0.0.0       *               255.0.0.0       U     0      0        0 
lo
default         192.168.0.254   0.0.0.0         UG    0      0        0 
eth0

Ifconfig looks like this

eth0      Link encap:Ethernet  HWaddr 00:C0:58:21:43:B1  
          inet addr:192.168.0.200  Bcast:192.168.0.255  
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5730 errors:0 dropped:0 overruns:0 frame:0
          TX packets:739 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:9 Base address:0x320 

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:18 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:192.168.0.222  P-t-P:192.168.0.223  
Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:14 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10 

sl0       Link encap:Serial Line IP  
          inet addr:127.0.0.11  P-t-P:127.0.0.10  Mask:255.255.255.0
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10 

Other information:

All machines are on the same subnet (255.255.255.0)

The server IP address is; 192.168.0.200

I also have packet forwarding turned on and the Gateway host is set to 
192.168.0.254

Can anyone shed some light on this issue for me????


Thanking you all in advance,


Mark Bayles
[EMAIL PROTECTED]



-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to