*BSD News Article 35009


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!swiss.ans.net!cmcl2!newsserv.cs.sunysb.edu!adam.cc.sunysb.edu!libws4!ralbuque
From: ralbuque@libws4.ic.sunysb.edu (Romolo Albuquerque)
Newsgroups: comp.os.386bsd.questions
Subject: Need help with TELNET
Date: 27 Aug 1994 00:28:40 GMT
Organization: State University of New York at Stony Brook
Lines: 35
Message-ID: <33m1bo$7fj@adam.cc.sunysb.edu>
NNTP-Posting-Host: libws4.ic.sunysb.edu
X-Newsreader: TIN [version 1.2 PL2]

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)

The problem occurs after I run 'ifconfig' to configure the FreeBSD machine.
It, somehow, assigns 2 addresses to the ethernet card 'ed0'. I don't know 
why since I only run the 'ifconfig' command one time.. Here is the output of 
" netstat -i"

>ed0   1500  <Link>0.40.33.21.32.70           286     0      279     0     0
>ed0   1500  130.245.150 130.245.150.1        286     0      279     0     0

I don't know where the first address comes from since I configured the card
as follows :
	" ifconfig ed0 130.245.150.1 netmask 255.255.255.0 "

After this I can ping the host machine but can't telnet or ftp to it.
When I try to telnet to the host machine, I get the following error message:

 Trying 130.245.150.0..
 telnet: unable to connect to remote host: permission denied

There is a route to the host but it just can't get there because of that first
address assigned to 'ed0'. 

Can someone please HELP

Thank you..

--rom.