From owner-freebsd-questions@FreeBSD.ORG Thu Jun 12 12:02:41 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5218E37B401 for ; Thu, 12 Jun 2003 12:02:41 -0700 (PDT) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1b-217.pit.adelphia.net [24.53.161.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84B7443F85 for ; Thu, 12 Jun 2003 12:02:40 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) h5CJ2dOg002300; Thu, 12 Jun 2003 15:02:39 -0400 (EDT) (envelope-from wmoran@potentialtech.com) Message-ID: <3EE8CE4F.7030408@potentialtech.com> Date: Thu, 12 Jun 2003 15:02:39 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030429 X-Accept-Language: en-us, en MIME-Version: 1.0 To: warren maxwell References: <000801c33110$6c0af100$016f8798@warrenma> In-Reply-To: <000801c33110$6c0af100$016f8798@warrenma> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Help routing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 19:02:41 -0000 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. -- Bill Moran Potential Technologies http://www.potentialtech.com