[svlug] RH6.2 on an HP LPr - NIC Problem

Bill Jonas bj at netaxs.com
Tue Aug 22 21:39:01 PDT 2000


On Tue, 22 Aug 2000, Tom Large wrote:

>How can removing the default router
>entry, which works (albeit VERY poorly) and entering specific routing paths
>resolve the problem?

I don't know, but there's always brute force:
-----Cut here-----
#!/bin/sh

a=0; b=0; c=0; d=0; while [ $a -lt 256 ]; do while [ $b -lt 256 ]; do
while [ $c -lt 256 ]; do while [ $d -lt 256 ]; do
route add -host $a.$b.$c.$d -gw 10.1.69.1; d=$[$d+1]; done; d=0; c=$[$c+1];
done; c=0; b=$[$b+1]; done; b=0; a=$[$a+1]; done
-----Cut here-----

Of course, those bootups would take a *lot* longer...

;)

Bill
-- 
>Ever heard of .cshrc?             | "Linux means never having to delete
That's a city in Bosnia. Right?    |  your love mail." -- Don Marti
(Discussion in comp.os.linux.misc  |  http://www.billjonas.com/
on the intuitiveness of commands.) |  http://www.harrybrowne.org/





More information about the svlug mailing list