Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!constellation!convex!hermes.oc.com!news.kei.com!eff!wariat.org!malgudi.oar.net!bronze.coil.com!bronze.coil.com!not-for-mail
From: mike@bronze.coil.com (Mike Fidler)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Need help with TELNET
Date: 27 Aug 1994 23:52:17 -0400
Organization: Central Ohio Internet Link (614-538-8294 login: guest)
Lines: 46
Message-ID: <33p1lh$qk5@bronze.coil.com>
References: <33m1bo$7fj@adam.cc.sunysb.edu> <33opco$9jq@rivendell.apana.org.au>
NNTP-Posting-Host: localhost.coil.com
>Romolo Albuquerque (ralbuque@libws4.ic.sunysb.edu) wrote:
>: Hi. I'm trying to network 2 machines with FreeBSD-1.1-B. I'm having problems
>: trying to use servies like 'telnet, ftp, etc..'. I can ping the host machine
>: but can't telnet there. My IP addresses are as follows:
>
>: 1) FreeBSD machine ( 130.245.150.1 netmask 255.255.255.0)
>: 2) Host machine ( 130.245.150.0 netmask 255.255.255.0)
>
>This might be a problem - x.x.x.0 is usually a network address,
>not a host address. Methinks your routing is confused somewhere
>because of this one.
>
Right. You can not have a host address set as 0. addressing in a
class C network starts at xxx.xxx.xxx.1 with 0 being used to define
default routes and such.
A typical routing table would look like...
destination gateway interface etc etc etc...
127.0.0.1 127.0.0.1 lo0
default 198.4.94.1 le0
198.4.94.0 198.4.94.5 le0
Note that this shows that the loopback address is configured as usuall
at 127.0.0.1.
the third line shows the ethernet (lance ethernet device on a Sun in
this case) and that the entire 198.4.94.1-255 class C address is
available from that route.
198.4.94.1 is in this case a route to "anything not shown" as a defualt
route. This is a router connected to the internet.
In other words..." route everything on this network on the ethernet and
shove everything else over to 198.4.94.1 and let that gateway worry about
it".
Hope I've been helpfull.
--
Mike Fidler -- Techie for coil. Mike@bronze.coil.com |
------------------------------------------------------------+ this space
Suburban robots who monitor reality. | intentionaly
-DeVo "Smart Patrol" | left blank