[comp.protocols.tcp-ip] Problems with internetwork routing in 4.2bsd

salzman@rdlvax.UUCP (Gumby) (07/09/87)

Does anyone know of any inherent problems/bugs in vanilla 4.2bsd
internetwork routing? Our machine has just been put on the ARPANET
via a 19.2K baud leased line to an imp off site (using an ACC HDH 
interface). We can't seem to connect to any site outside of the
ARPANET (i.e. any site that does not have an address of 10.?.?.?).
Every attempt times out. I realize there's the possibility of
the gateways being too loaded, but, I can get from another machine
that lies on another net (i.e. milnet) to our host without any
problems -- so it only effects outgoing attempts. Doing a netstat
shows that the state it's hung in is "SYN_SENT", and it seems to
never change that state. Doing a netstat -r shows that some attempt
has been made to connect on the gateway (there will be a number in
the "use" column for that gateway). 

Does anyone have any clue why this is happening? Are there any fixes
that can be obtained? This is a vanilla 4.2bsd system on a VAX 11/780.
We are planning an upgrade to 4.3bsd fairly soon, but not soon enough.
Any help would be greatly appreciated.... Thanks.
-- 
* Isaac Salzman - Systems Analyst/Admin.                      ----     
* Research Development Labs (RDL)                            /o o/  /  
* 5721 W. Slauson Ave., Culver City, CA. 90230               | v |  |  
* AT&T: +1 213 410 1244, x118                               _|   |_/   
* ARPA: salzman@rdlvax.RDL.COM                             / |   |
* UUCP: ...!{psivax,csun,sdcrdcf,ttidca}!rdlvax!salzman    | |   |     

ron@topaz.rutgers.edu (Ron Natalie) (07/14/87)

It's not a bug.  You must make routing table entries for nets other than
net 10.  You do this by using the "route" command (in /etc or /usr/etc
depending on where you got your software from).  The easiest thing to
do is to set a default route to point to one of the ARPANET-MILNET
gateways, they will send you back an ICMP redirect to set the route
to the correct gateway if they are not it.  The gateways to use for
this are available from SRI-NIC.ARPA in the file 
    <NETINFO>ARPA-MAILBRIDGE-HOMINGS.TXT
Since rdl appears to be on IMP22, use the gateways

    MILNET-GW.ISI.EDU         SRI-MILNET-GW.ARPA
    10.2.0.22			10.4.0.51

You set this up by saying

	route add 0 10.2.0.22 1

-Ron