Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2003 17:00:38 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        warren maxwell <wmaxwell@ix.netcom.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Help routing
Message-ID:  <3EE8E9F6.3050908@potentialtech.com>
In-Reply-To: <000d01c33123$793d9040$016f8798@warrenma>
References:  <000801c33110$6c0af100$016f8798@warrenma> <3EE8CE4F.7030408@potentialtech.com> <000d01c33123$793d9040$016f8798@warrenma>

next in thread | previous in thread | raw e-mail | index | archive | help
[Please keep freebsd-questions in the CC]

warren maxwell wrote:
> ----- Original Message -----
> From: "Bill Moran" <wmoran@potentialtech.com>
> 
>>warren maxwell wrote:
>>
>>>Im setting up a serial line connection and i am unable to ping because
> 
> it says no host. How do i set up my base local address to be 192.168.2.1?
> The commands i am running are as follows,
> 
>>>slattach -h -l -n -s 19200 /dev/cuaa0
>>>ifconfig sl0 192.168.2.2 192.168.2.3 up
>>>
>>>Do i need to add a route command like this?
>>>route add -net 192.168.2 192.168.2.0 255.255.255.0
>>>
>>>Thanks for all the help in advance guys, much appreciated.
>>>Bryan
>>
>>Check 'netstat -rn' and see if an appropriate route is in
>>there, if not you'll probably have to add it manually each
>>time you connect.  It seems that some types of interfaces
>>create a route automatically (ethernet, for example) while
>>others don't.
> 
> Well i added the route command like this,
> route add -net 192.168.2 localhost 255.255.255.0, this allowed me to ping
> the 192.168.2.2 side of things but the 192.168.2.3 gave me this error, ping:
> sendto: Network dropped connection on reset
> Any ideas? Thanks once again in advance, I am a newbie at this linux stuff,
> but the one thing I love about is all the help from the community. Thanks :)
> Bryan

Please send the complete output of 'ifconfig' and 'netstat -rn'.  I'm wondering
if there is a config problem elsewhere that is causing problems with the
routing.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EE8E9F6.3050908>