*BSD News Article 22106


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!uunet!emba-news.uvm.edu!aix5.emba.uvm.edu!wollman
From: wollman@aix5.emba.uvm.edu (Garrett Wollman)
Subject: Re: SLIP network problem
Message-ID: <1993Oct8.192453.19322@emba.uvm.edu>
Keywords: SLIP, routing
Sender: news@emba.uvm.edu
Organization: University of Vermont, EMBA Computer Facility
References: <kd.750077497@confucius> <293qla$ect@dlsn31> <kd.750099708@laotzu>
Date: Fri, 8 Oct 1993 19:24:53 GMT
Lines: 35

In article <kd.750099708@laotzu>, Kostis Dryllerakis <kd@doc.ic.ac.uk> wrote:
>	The problem can be more generally put as: what do you need
>	to do when you connect to a machine on a subnetwork A.B.C as
>	part of the same subnet (e.g. get assigned A.B.C.yoU) in order
>	to see the rest of the subnetwork (from the side of the machine
>	you connect to maybe?)

You can't.  Some other systems support a hack which allows you to make
this ``work'', but doing so definitely voids your warranty as far as
correct network operation goes.

Now that that's out of the way, here's what you can do (given the
caveat that I STRONGLY recommend against doing this, and instead do it
properly as IP was designed to operate):

- Make sure that your kernel is compiled with the GATEWAY option.  You
should probably also compile with SENDREDIRECTS set to zero, since
Net/2 doesn't even come close to meeting the Router Requirements.

- When the point-to-point link is up, you can do
	arp -s remote.ip.add.ress yo:ur:et:he:rn:et pub

on the well-connected host, and this will cause that host to proxy ARP
for the other.

(Thankfully, when we have IPng, you won't need to go through these
kinds of contortions.)

-GAWollman

-- 
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@emba.uvm.edu | Shashish is the bonding of hearts in spite of distance.
uvm-gen!wollman      | It is a bond more powerful than absence.  We like people
UVM disagrees.       | who like Shashish.  - Claude McKenzie + Florent Vollant