Newsgroup: it.comp.hardware
Titolo: AIUTO PPP



 Salve a tutti,

Ho un Pc linux redhat6.2 con un modem senza scheda di rete (con indirizzo

fittizio 192.168.11.10 )da cui stabilisco un collegamento ppp0 con
un altro

Pc linux redhat6.2  con scheda di rete e modem da cui si arriva
in internet.

Stabilito il collegamento ppp0, se dal client faccio ping ad un indirizzo

diverso dal PPP server non ottengo nessuna risposta.

Il netstat -r  del pc client e':

Destination     Gateway        
Genmask         Flags  
MSS Window  irtt Iface

131.114.83.181   *            
255.255.255.255 UH         0 0         
0 ppp0

127.0.0.0            
*                    
255.0.0.0       U         
0 0          0 lo

default         131.114.83.181      
0.0.0.0         UG       
0 0          0 ppp0

Il ifconfig del pc client e':

ppp0      Link encap:Point-to-Point Protocol

          inet addr:192.168.11.10 
P-t-P:131.114.83.181  Mask:255.255.255.255

          UP POINTOPOINT
RUNNING NOARP MULTICAST  MTU:1500

Metric:1

          RX packets:6
errors:0 dropped:0 overruns:0 frame:0

          TX packets:6
errors:0 dropped:0 overruns:0 carrier:0

          collisions:0
txqueuelen:10

Se faccio ping 131.114.83.181

PING 131.114.83.181 (1131.114.83.181) from 192.168.11.10 : 56(84) bytes
of data.

64 bytes from 
131.114.83.181
: icmp_seq=0 ttl=255 time=276.3 ms

64 bytes from 
131.114.83.181
: icmp_seq=1 ttl=255 time=160.1 ms

 Pero' se faccio ping 131.114.83.199 non ottengo risposta

Il netstat -r e ifconfig del pc server e':

Destination     Gateway        
Genmask         Flags  
MSS Window  irtt Iface

131.114.83.181  *              
255.255.255.255 UH        0 0         
0 eth0

dolly.localhost *              
255.255.255.255 UH        0 0         
0 ppp0

131.114.80.0    *              
255.255.252.0   U        
0 0          0 eth0

127.0.0.0       *              
255.0.0.0       U        
0 0          0 lo

default         131.114.80.1   
0.0.0.0         UG       
0 0          0 eth0

ppp0      Link encap:Point-to-Point Protocol

          inet addr:131.114.83.181 
P-t-P:192.168.11.10  Mask:255.255.255.255

          UP POINTOPOINT
RUNNING NOARP MULTICAST  MTU:1500

Metric:1

          RX packets:386
errors:0 dropped:0 overruns:0 frame:0

          TX packets:303
errors:0 dropped:0 overruns:0 carrier:0

          collisions:0
txqueuelen:10

Sul Pc server ho impostato ad 1 ip_forward e messo proxyarp nel file
options

Il file messages del server contiene:

Using interface ppp0

Sep 13 19:39:54 rcsapc pppd[1687]: Connect: ppp0 <--> /dev/ttyS1

Sep 13 19:39:55 rcsapc kernel: PPP BSD Compression module registered

Sep 13 19:39:55 rcsapc pppd[1687]: Deflate (15) compression enabled

Sep 13 19:39:58 rcsapc pppd[1687]: Cannot determine ethernet address
for proxy A

RP

Sep 13 19:39:58 rcsapc pppd[1687]: local  IP address 131.114.83.181

Sep 13 19:39:58 rcsapc pppd[1687]: remote IP address 192.168.11.10

Il file messages del client contiene:

Sep 13 19:29:46 dolly pppd[1018]: Using interface ppp0

Sep 13 19:29:46 dolly pppd[1018]: Connect: ppp0 <--> /dev/ttyS1

Sep 13 19:29:47 dolly kernel: PPP BSD Compression module registered

Sep 13 19:29:47 dolly pppd[1018]: Deflate (15) compression enabled

Sep 13 19:29:50 dolly pppd[1018]: local  IP address 192.168.11.10

Sep 13 19:29:50 dolly pppd[1018]: remote IP address 131.114.83.181

In pratica cosa devo fare affinche' dal client possa arrivare ad internet?

Sarei molto grato se qualcuno mi potesse aiutare.

Grazie molte.

Giancarlo Bartoli

-- 
=========================================================================       
Giancarlo Bartoli                 Phone:  +39-50-315-2959                       
                                  Phone:   0348-3962643

National Research Council         Fax:    +39-50-3138091 (G3-NORMAL SPEED)
of Italy - CNUCE - Istitute               +39-50-3138092 (G4-MODE)      
Via V. Alfieri, 1                 
E-Mail:Giancarl...@cnuce.cnr.it
                                      
I-56010 Ghezzano Pisa (PI)                                                                                    
=========================================================================

 


 
  wrote in message 
39CDA817...@cnuce.cnr.it
...
