Hi guys,
I�m trying to setup a connection from my house to the LAN in my office
using a linux 2.0.29 box with an Ethernet adapter and a modem as the
access point.
I managed to setup the modem, mgetty and /etc/ppp/* succesfully so
that at least I can login and start the ppp session remotelly.
Now, my problem is that I can't see any other host in the LAN but the
linux access host, so if want to telnet to some other host in the LAN,
I need to telnet first to the linux box and from there to the intended
host.
When I issue an "arp -a" in the linux box, it shows -as expected -
that the physical address of the ethernet interface is paired with the
IP address assigned to the serial port , so I don�t know why I cant
ping any other host in the LAN.
my /etc/ppp/options is :
asyncmap 0
crtscts
lock
modem
netmask 255.255.0.0
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
My options.ttyS0 is : (LAN-IP:Serial-IP)
140.1.1.254:140.1.1.252
And I start the session using "pppd -detach"
My pppd version is 2-2
When I get connected, this is the output of some commands:
#netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window
irtt Iface
140.1.1.252 0.0.0.0 255.255.255.255 UH 1500 0
0 ppp0
140.1.0.0 140.1.1.1 255.255.0.0 UG 1500 0
0 eth0
140.1.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 140.1.1.1 0.0.0.0 UG 1500 0
0 eth0
#ifconfig -a
eth0 Link encap:10Mbps Ethernet HWaddr 00:60:97:A9:C2:48 inet
addr:140.1.1.254 Bcast:140.1.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5487 errors:0 dropped:0 overruns:0
TX packets:3737 errors:0 dropped:0 overruns:0
Interrupt:10 Base address:0x310
ppp0 Link encap:Point-Point Protocol
inet addr:140.1.1.254 P-t-P:140.1.1.252 Mask:255.255.0.0
UP POINTOPOINT RUNNING MTU:1500 Metric:1
RX packets:22 errors:0 dropped:0 overruns:0
TX packets:13 errors:0 dropped:0 overruns:0
#arp -a
Address HWtype HWaddress Flags Mask
Iface
140.1.1.1 ether 08:00:02:1D:DE:B1 C *
eth0
140.1.1.252 ether 00:60:97:A9:C2:48 CMP *
eth0
I�ll appreciate any suggestion ...
Thanx,
Reinel Arias M
Telefonica de Pereira
Colombia S.A.
------------------------------------------------------
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]