RE: Setup a network without network
Oops, I thought I had "learned" that using "-net" in combination
with a host IP address (not a network address) would cause the
network address of that host to be added to the routing table. I
experimented, and this is not the case. Guess I'll have to "unlearn"
it. Don't use "route add 127.0.0.1", use the other one. Thanks,
David.
Marc
>>> "David Karlin" <funk48@travelin.com> 05/21 2:48 PM >>>
Hello,
I believe that "route add -net 127.0.0.0" and "route add 127.0.0.1"
were what Mark meant.
--David
> >>> José_L._Redrejo_-_ITAIS <itais@correo.nu> 05/21 12:09 PM >>>
>
> > If I type : "route add loopback" the answer is "loopback:host
> name lookup
> > failure"
>
> > and if i type "route add 127.0.0.1" the answer is "SIOCADDRT
> Operation not
> > supported by device"
>
> Try "route add -net 127.0.0.1" or "route add 127.0.0.0"
>
> You should get a routing table with an entry like this (type
> "route" with no
> arguments):
>
> Destination Gateway Genmask Flags Metric Ref
> Use Iface
> 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
>
----------
Marc Mongeon <mongeon@bankoe.com>
Unix Specialist
Ban-Koe Systems
9100 W Bloomington Fwy
Bloomington, MN 55431-2200
(612)888-0123, x417 | FAX: (612)888-3344
----------
"It's such a fine line between clever and stupid."
-- David St. Hubbins and Nigel Tufnel of "Spinal Tap"
Reply to: