🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #2311

Re: Solution to -NXHost re-directs with SLIP

#2311
From: Dmitri Linde
Date: Sun, 10 Jan 1993 17:33
45 lines
3128 bytes
>I would really like to hear if s.o. actually succeeded to do both at the same  
>time: use -NXHost over SLIP and also use, say telnet, over the ethernet (en0)  
>interface of the same machine.
Actually it is possible and very easy. Here is my setup:
linde (home machine) 36.92.0.118 running Marble SLIP as client
physics (machine at Stanford U.) 36.92.0.18 running Marble SLIP as server with du0 (slip0) ip address=147.135.1.184
elrond (another machine at home which is connected to linde using ethernet) 36.92.0.19

Here are routing tables for linde:
linde> netstat -rn
Routing tables
Destination      Gateway            Flags     Refs     Use  Interface
147.135.1.184    36.92.0.118        UH          3     8913  du0
127.0.0.1        127.0.0.1          UH          2     2652  lo0
36.92.0.18       147.135.1.184      UGH         2      515  du0
36.92.0.19       36.92.0.19         UGH         0      138  en0
36.92.0.118      127.0.0.1          UH          9    11745  lo0
default          147.135.1.184      UG          0     1400  du0
linde> 
Notice: 36.92.0.19       36.92.0.19 means that when linde wants to connect to elrond it will not use the default route to physics (147.135.1.184) but instead it will use 36.92.0.19 thu en0 (ethernet).

On both linde and physics I have the file /etc/resolv.conf contain the following
domain stanford.edu
nameserver 36.56.0.151
nameserver 36.21.0.20
nameserver 36.8.0.47
It specifies my domain and the nameservers to use. Make sure you have something like this otherwise you will not be able to connect to hosts by name rather than ip address. (you must get your own nameservers)

Now, on physics I have to use arp command. Here is the command I use in rc.local
sleep 15;arp -s linde 0:0:0f:00:9b:00 pub&
This will advertize linde to the local net.


The result is that from linde I can telnet (or connect in any other way) to/from any other Internet connected machine in the world. From linde I can also connect to elrond by simply
telnet elrond
(elrond and linde and physics are defined in NetInfo database so it does not have to find out the address of elrond. If it did try to find out the address of elrond it would not get 36.92.0.19 from the nameserver, and it would probably get 'host unknown')
And it works!

Also the -NXHost from physics to linde works perfectly:
physics> Date -NXHost linde
This makes the Date application pop up on linde and lets me use it. (It is however slow...)

Regards,
Dmitri Linde
dmitri@physics.stanford.edu
Technical Details
Message-ID: <1993Jan10.173320.10113@sol.ctr.columbia.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!doc.ic.ac.uk!agate!spool.mu.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!physics!dmitri
References: <C0n41o.16s@ccu.umanitoba.ca> <C0nBHq.49x@news.cso.uiuc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!doc.ic.ac.uk!agate!spool.mu.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!physics!dmitri
From: dmitri@physics (Dmitri Linde)
Newsgroups: comp.sys.next.sysadmin
Subject: Re: Solution to -NXHost re-directs with SLIP
Message-ID: <1993Jan10.173320.10113@sol.ctr.columbia.edu>
Date: 10 Jan 93 17:33:20 GMT
References: <C0n41o.16s@ccu.umanitoba.ca> <C0nBHq.49x@news.cso.uiuc.edu>
Sender: nobody@ctr.columbia.edu
Organization: Stanford U.
Lines: 45
X-Posted-From: physics.stanford.edu
NNTP-Posting-Host: sol.ctr.columbia.edu