[comp.protocols.tcp-ip.ibmpc] SLIP AND KA9Q - THE OUTCOME

t_anstey@darwin.ntu.edu.au (11/21/90)

Hello Out There,



As an educational exercise, but with a very definite purpose in mind, I set up
a small system using KA9Q to institute a SLIP service with a PC acting as a
router between an ethernet and another PC across a serial line. The set up
is given in the following diagram along with the contents of the files
AUTOEXEC.NET on both PCs'.

I had trouble and broadcast a request for assistance to NEWS. I received really
excellent help, almost immediately and managed to get it going. The problem was
that I had omitted to advise Multinet of how to get to PC2 via PC1. The best 
solution for me was to iclude a "rip" command, and now it all works well.

I have since had a number of MAIL requests to share the solution. I am only to
pleased to do so, but I stress, this is really a joint effort with other people
especially Phil Karn who authored KA9Q and was one of those who replied to me 
directly with suggestions and guidance and all the others who responded to my 
request for help.

An aside: There are some GREAT people out there !!!

The following is the working solution (E&OE), with the amendments included. For
what I am trying to do it is needlessly complicated and using the "route add 
default" and ommitting the IFCONFIG would simplify it. Even so I was trying to
learn so took a complicated approach to try things out.


+
+
+  ethernet
+
+
+=VAX Multinet
+     (138.80.128.3)
+
+
+=======PC1	KA9Q
	|	
	|	ip address [138.80.128.7]
	|	hostname 80386sx.ntu.edu.au
    	|	attach packet 0x61 ec0 5 1500
	|	attach asy 0x3f8 4 slip cm1 2048 256 9600
	|	ifconfig cm1 ipaddr [138.80.200.1] netmask 0xffffff00
        |                                          broadcast 255.255.255.255
serial  |	ifconfig ec0 ipaddr [138.80.128.7] netmask 0xffffff00
null	|					   broadcast 255.255.255.255
cable	|	route add [138.80.200.3] cm1
	|	route add [138.80.128/24] ec0
	|	rip add [138.80.128.255] 300 1
	|	domain addserver [138.80.128.3]
	|	domain suffix ntu.edu.au
	|	ip ttl 100
	|	ip rtimer 100
	|	tcp mss 200
	|	tcp window 1024
	|	tcp irtt 500
	|	start telnet
	|	start ftp
	|
	|
	|
	PC2	KA9Q

		ip address [138.80.200.3]
		hostname ps230.ntu.edu.au
		attach asy 0x3f8 4 slip cm1 2048 256 9600
		ifconfig cm1 ipaddr [138.80.200.3] netmask 0xffffff00
						   broadcast 255.255.255.255
		route add [138.80.128.7] cm1
		route add [138.80.128.3] cm1
		domain addserver [138.80.128.3]
		domain suffix ntu.edu.au
		ip ttl 100
		ip rtimer 100
		tcp mss 200
		tcp window 1024
		tcp irtt 500
		start telnet
		start ftp


Without the "rip add" the situation is as follows:

	From PC1 I can contact the VAX and TELNET, FTP, PING etc. From PC2 
	I can FTP and PING PC1 but I cannot contact with the VAX.

	From the VAX I can PING and FTP PC1, but cannot PING PC2 and the 
	FTP returns "Unreachable Host". (This should have alerted me !!!)


With the "rip add", it works fine.


I hope this is of some use to others.

Regards


Tery Anstey
Northern Territory University
Darwin, NTU
Australia

INTERNET: T_ANSTEY@DARWIN.NTU.EDU.AU
VOICE:    061-89-466-108
FAX:      061-89-570-612