[2553] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Gateway problem....

daemon@ATHENA.MIT.EDU (Mutluhan Oruncak)
Wed Apr 17 05:57:13 1996

Date: 	Wed, 17 Apr 1996 11:56:24 +0400 (MEDT)
From: Mutluhan Oruncak <c058933@orca.cc.metu.edu.tr>
To: linux-net@vger.rutgers.edu


Hi everybody,

I have linux-1.3.83 kernel, an ethernet board and a modem. With the 
ethernet I am connected to a local network and everything works fine with 
that. With the modem I establish a dial-up connection to one of my internet 
service providers. My aim is to use my computer as a gateway to our LAN.

I have compiled my linux kernel with "IP: forwarding/gatewaying" option 
enabled, included slip and ppp support.

One of my service providers offer only slip support and the other offers 
both slip and ppp. I have no problem in connection with Windows 95 in 
any. But for the linux case...

for slip: I establish connection succesfully with one of my service 
providers, do whatever I like in internet, however cannot be a gateway. 
The results of "ifconfig" and "netstat -rn" commands are given at the 
bottom. For the second service provider, it does not give me the remote 
ip number, so I give $remote my own ip, when I ping the hosts in 
internet, everything is OK, but when I say telnet, it says connected but 
cannot give me the login prompt.

for ppp: When I write pppd I receive "Sorry - PPP is not available on this 
system" message :-( I have read NET-2-HOWTO and tried to use chat as it 
says, "chat -v '' ATZ OK ATXDT9,2104300 CONNECT '' ogin: XXX word: XXX" 
and it does nothing. When I use dip to make the connection and write 
"mode PPP" everything seems different. Modem works, but I cannot do 
anything! I write pppd again but :-(

Any help will be greatly appreciated.

Mutluhan Oruncak

ifconfig
=====================================================================
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:29 errors:0 dropped:0 overruns:0
          TX packets:29 errors:0 dropped:0 overruns:0

eth0      Link encap:10Mbps Ethernet  HWaddr 00:AA:00:AC:2B:67
          inet addr:194.27.219.215  Bcast:194.27.219.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1617 errors:0 dropped:0 overruns:0
          TX packets:40 errors:0 dropped:0 overruns:0
          Interrupt:10 Base address:0x210
sl0       Link encap:VJ Serial Line IP
          inet addr:144.122.208.34  P-t-P:144.122.208.33  Mask:255.255.0.0
          UP POINTOPOINT RUNNING  MTU:576  Metric:1
          RX packets:704 errors:0 dropped:0 compressed:357
          TX packets:661 errors:0 dropped:0 compressed:290
=========================================================================


netstat -rn
=========================================================================
Kernel routing table
Destination     Gateway         Genmask         Flags Metric Ref Use    Iface
144.122.208.33  0.0.0.0         255.255.255.255 UH    0      0        0 sl0
194.27.219.0    0.0.0.0         255.255.255.0   U     0      0        1 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        2 lo
0.0.0.0         144.122.208.33  0.0.0.0         UG    1      0       11 sl0
0.0.0.0         0.0.0.0         0.0.0.0         U     1      0        1 eth0
=========================================================================





home help back first fref pref prev next nref lref last post