HELP: DIP, SLIP Servers, and IP Forwarding

HELP: DIP, SLIP Servers, and IP Forwarding

Post by Christopher O'Mall » Tue, 01 Aug 1995 04:00:00



        Hi everyone.  I know this is a pretty common problem and there are FAQ
materials
concerning it, but I'm still stuck.

        I'm running a Linux 1.1.59 box as a SLIP server which is connected to our
local
Ethernet subnet.  Its got a standard 14.4k modem on one of the COM ports with a
test
SLIP client (regular old PC w/ WFW311 and Chameleon's TCP/IP stack) on the
other end.
        The client connects to the server fine, and you can ping/telnet/ftp/etc to
and from
the client/server.  You cannot, however, do the same from the client to any other
machine on
our Ethernet or from any other machine on the Ethernet to the client.  I have
compiled in IP
Forwarding on the server (but I don't know how to check to make sure its working).  
And I am
using ProxyARP (I think).  Still, no dice.  I can't get past the Linux box in either
direction.
So, things look like this:

   Ethernet                           eth0  SLIP Server  sl0                                             SLIP
Client
   |---------------------------------------------|                   |--------------------------------------------|      
          |
   164.179.103.192        164.179.103.219        164.179.103.232        
164.179.103.233
   subnet 255.255.255.192

   So, the Ethernet is 164.179.103.192 subnet 255.255.255.192
        Slip Server's eth0 is 164.179.103.219
        Slip Server's sl0   is  164.179.103.232
        Slip Client's           is  164.179.103.233
        Subnet Router      is   164.179.103.252

  Server's routing table:
    Destination      GW         Genmask         Flags   Iface
    164.179.103.233         *           255.255.255.255   UH            sl0
    164.179.103.232         *           255.255.255.255        UH            sl0
    164.179.103.192            *                          *               U     eth0
    loopback           *                255.0.0.0                 U      lo
    default               164.179.103.252                 *               UG    eth0

  arp -a
   164.179.103.232  00:00:C0:49:9A:73
   164.179.103.233  00:00:C0:49:9A:73
   164.179.103.252  00:00:A2:00:1A:FD

  ifconfig
    sl0 Link encap: VJ Serial Line IP
    inet addr: 164.179.103.232  P-t-P: 164.179.103.233  Mask: 255.255.255.192
    UP POINTOPOINT RUNNING      MTU:1006        Metric: 1
    etc...

    eth0        Link encap: 10MBs Ethernet      HW Addr: 00:00:C0:49:9A:73
    inet addr: 164.179.103.219  Bcast: 164.179.103.255   Mask:255.255.255.192
    UP BROADCAST RUNNING
    etc...

        I have the Client pointing to 164.179.103.232 as its default Gateway.  
Anyone see
any outright mistakes?  Please respond to this group or send email to:


 
 
 

HELP: DIP, SLIP Servers, and IP Forwarding

Post by Terry Dawso » Tue, 08 Aug 1995 04:00:00



>    I have the Client pointing to 164.179.103.232 as its default Gateway.  
> Anyone see
> any outright mistakes?  Please respond to this group or send email to:

heh, the first one is not restricting your posting to 80 columns
but that is a nitpick.

I'm basing my response on what I understood of your diagram, it
got lost in screen overlap.

In this situation you probably shouldn't use proxy arp. You should
either run a routing daemon like gated/routed to advertise the
subnet to the hosts on the big ethernet, or have the machines on
the other side manually route to the subnet using your linux server
as the gateway. How you do this is going to be dependent on the
nature of the machines on the other side.

Terry

 
 
 

1. SLIP, DIP and Ip forwarding

I'm trying to use my desktop machine as a SLIP server for my laptop.  I've
built cslip and slip in to both kernels as well as ipforwarding on the desktop
machine.  I can successfully get a cslip connection from the laptop to the
desktop but if I try to contact machine beyond the server, my packets don't
appear to be forwarded.  

I'm using diplogin which should handle proxy arps.  My understanding is that
I shouldn't need to use gated or whatever.  What am I missing?  Can I probe a
kernel to check what's built in, say Ip forwarding?  I'm wondering if my
config file might be lying to me about what is in the kernel Alternatively,
where abouts in /proc would the userful information be.

Any useful information gratefully received.  Wife, daughter and several hundred
computers to support.  Insufficient time, insufficient money.

                Many thanks,

                        Chris Cook - Postmaster

_____________________________________________________________________________
| Chris Cook - Postmaster, UNIX and Athena Administrator                    |

|   College of Cardiff,                    Phone      : +44 1222 874875     |
|    40-41 Park Place,                     (Direct)   : +44 1222 874219     |
|     Cardiff, UK                          Fax        : +44 1222 874285     |
|___________________________________________________________________________|

"Me and my employers seldom see eye to eye over opinions..."

2. PATCH: 2.5.27 port thunderlan to the new DMA API

3. help dip SLIP wil dynamic IP server

4. HELP: configuring audio device on Solaris 2.7

5. SLIP and DIP only reaches slip server, help!

6. Installing linux sig's on Sparcstation 2

7. DIP, SLIP, Unknown Server Error HELP!

8. Trouble upgrading Tcl/Tk - RedHat

9. help wanted on seting up a DIP server for ppp/slip

10. Help with SLIP server setup in Linux using DIP

11. Linux Slip Server and Dip, please help with route problem

12. SLIP, with DIP get "Unknown server error" - help

13. Setting up SLIP server, Dip hangs. Pls. help.