🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.acsnet
Article #62

costs vs. delays explained

#62
From: Piers Lauder
Date: Mon, 13 Jul 1992 06:56
53 lines
2668 bytes
ggm@brolga.cc.uq.oz.au (George Michaelson) writes:

 > Dear Piers. please save myself and other sysops a lot of trouble by
 > explaining by example how we do this. The values shown by your automatically
 > generated table do not equate to values present in my commandsfile and I
 > am unwilling to stir the entrails without a better understanding of whats
 > required.
 > 
 > Take
 > 	bunyip<->qdpii as an instance.
 > 
 > you state:
 > 
 > unequal link costs:
 >         bunyip.cc.uq.oz.au to qdpii.comp.qdpi.oz.au => 0
 >         qdpii.comp.qdpi.oz.au to bunyip.cc.uq.oz.au => 1
 > 
 > I have this in commandsfile:
 > 
 > delay           bunyip.D=cc.O=uq.oz.au,
 >                         N=stallion.D=sw.O=stallion.oz.au        86400
 > delay           N=stallion.D=sw.O=stallion.oz.au,
 >                         bunyip.D=cc.O=uq.oz.au          86400
 > 
 > 
 > Now tell me what I should have.

First thing to do is read the relevant section of "netstate(8)" :-)

You will notice that "delay" and "cost" are different commands.  You
should only set costs on links _from_ your site to a link, (that is,
your site only `owns' the cost parameter in the outbound directions),
conversely, you should only set delays from a link _to_ your site.

Of course you _can_ set both directions, but that will only affect your
local routing, will not be believed by other sites, and netstate will warn
you the first time you try it.  (Because it may cause routing loops
between you and another site who believes what your link tells it about
the parameters that it `owns'.)

So, to change the "cost" inequality above, should you feel it to be
incorrect, "bunyip" can use the command:
	cost	N=bunyip.D=cc.O=uq.P=oz.C=au,
		N=qdpii.D=comp.O=qdpi.P=oz.C=au
		1
OR, "qdpii" can use:
	cost	N=qdpii.D=comp.O=qdpi.P=oz.C=au,
		N=bunyip.D=cc.O=uq.P=oz.C=au
		0
--

Computer Science, Sydney University, Madsen Bldg F09, Sydney NSW 2006
Phone: +61 2 692 3423				  Fax: +61 2 692 3838
Technical Details
Message-ID: <1992Jul13.065625.22252@cs.su.oz.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!west.West.Sun.COM!sunaus!metro!basser.cs.su.oz.au!basser.cs.su.oz.au!piers

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1057be,1f978e7cac6a7783
X-Google-Attributes: gid1057be,public
X-Google-ArrivalTime: 1992-07-13 08:12:20 PST
Newsgroups: aus.acsnet
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!west.West.Sun.COM!sunaus!metro!basser.cs.su.oz.au!basser.cs.su.oz.au!piers
From: piers@basser.cs.su.oz.au (Piers Lauder)
Subject: costs vs. delays explained
Reply-To: piers@basser.cs.su.oz.au (Piers Lauder)
Organization: Basser Dept of Computer Science, University of Sydney, Australia
Distribution: aus
Date: Mon, 13 Jul 1992 06:56:25 GMT
Message-ID: <1992Jul13.065625.22252@cs.su.oz.au>
Sender: @cs.su.oz.au
Lines: 53