Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site oddjob.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!oddjob!matt
From: matt@oddjob.UUCP (Matt Crawford)
Newsgroups: net.unix-wizards
Subject: Re: help with DMR link, please
Message-ID: <1042@oddjob.UUCP>
Date: Thu, 7-Nov-85 14:49:04 EST
Article-I.D.: oddjob.1042
Posted: Thu Nov  7 14:49:04 1985
Date-Received: Sun, 10-Nov-85 06:28:08 EST
References: <183@pwa-b.UUCP>
Reply-To: matt@oddjob.UUCP (Matt Crawford)
Organization: U. Chicago, Astronomy & Astrophysics
Lines: 36

In article <183@pwa-b.UUCP> miorelli@pwa-b.UUCP (Bob Miorelli) writes:
>I need help setting up a Unix network using a pair of DMR's.

I am answering this not because I know how to do it, but because
next month I will have to know how.  I looked at thevaxif/if_dmc.c
code and it looks like it's no good.  dmcinit() installs a route
(via rtinit()) which has destination == gateway == address of
the dmc interface.  The only other point-to-point interface I
have to compare this with is Rick Adams' if_sl.c, which I have
been using for well over a year.  The initialization sequence
for that does not use /etc/ifconfig, but another program which
does first a SIOCSIFDSTADDR, then a SIOCSIFADDR, causing a route
to be installed with destination == other host, gateway == this
host. 

>    Now what?? I'm not sure what goes in the /etc/hosts
>file (including how to specify the lopback).  I did add a line
>to my rc.local of the form "/etc/ifconfig dmc0 `hostname`".

I think that if it can be made to work at all, it will be by
doing
		/bin/hostname this-host-name
		/etc/ifconfig dmc0 other-host-name

Yuck.  Ifconfig ought to take another argument for point-to-point
interfaces. The host table should look like:

	127.1		localhost loghost	# sendmail wants loghost
	125.1		this-host-name		# or whatever number
	125.2		other-host-name		# or whatever number

Make sure that the output of "netstat -i" shows the dmc0 before
the lo0.  Feedback is solicited.
_____________________________________________________
Matt		University	crawford@anl-mcs.arpa
Crawford	of Chicago	ihnp4!oddjob!matt