From owner-freebsd-questions@FreeBSD.ORG Tue Jun 10 12:50:16 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 A316037B401 for ; Tue, 10 Jun 2003 12:50:16 -0700 (PDT) Received: from bengal.ecst.csuchico.edu (bengal.ecst.csuchico.edu [132.241.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 724CB43FCB for ; Tue, 10 Jun 2003 12:50:15 -0700 (PDT) (envelope-from bryanm@ecst.csuchico.edu) Received: from ecst.csuchico.edu (bengal [132.241.6.19]) h5AInkJu025087 for ; Tue, 10 Jun 2003 11:49:46 -0700 (PDT) From: "Bryan W. Maxwell" Received: from 165.247.204.141 (SquirrelMail authenticated user bryanm) by webmail.ecst.csuchico.edu with HTTP; Tue, 10 Jun 2003 11:49:46 -0700 (PDT) Message-ID: <1278.165.247.204.141.1055270986.squirrel@webmail.ecst.csuchico.edu> Date: Tue, 10 Jun 2003 11:49:46 -0700 (PDT) To: X-Mailer: SquirrelMail (version 1.1.2) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Add routing for serial line connection 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: Tue, 10 Jun 2003 19:50:16 -0000 I am not doing a serial line client as you may guess from the subject. I am doing a serail line connection to a small pic based webserver. It runs over a serail line connection. Ive tried the command route add -net 192.168.2.0 netmask 255.255.255.0 and get a bad netmask error. I was wondeirng how i could correct this. I have already run the command slattach -h -l -n -s 19200 /dev/cuaa0 and ifconfig sl0 192.168.2.2 192.168.2.3 up, both run with out errors. Please help. Thank you in advance. Bryan Maxwell