From owner-freebsd-questions@FreeBSD.ORG Fri Jan 12 15:19:21 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 75D7516A403 for ; Fri, 12 Jan 2007 15:19:21 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from arwen.teledomenet.gr (arwen.teledomenet.gr [213.142.128.58]) by mx1.freebsd.org (Postfix) with ESMTP id DF09713C43E for ; Fri, 12 Jan 2007 15:19:20 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from iris ([192.168.1.71]) by arwen.teledomenet.gr (8.12.10/8.12.10) with ESMTP id l0CFJIm1007074; Fri, 12 Jan 2007 17:19:18 +0200 From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Fri, 12 Jan 2007 17:21:51 +0200 User-Agent: KMail/1.9.1 References: <755188.94085.qm@web54311.mail.yahoo.com> In-Reply-To: <755188.94085.qm@web54311.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701121721.51917.nvass@teledomenet.gr> Cc: Patrick Dung Subject: Re: How to clear strage route in routing table? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2007 15:19:21 -0000 On Thursday 11 January 2007 19:01, Patrick Dung wrote: > Hi > > Suppose I have mistype a command: > # route add 192.168.3.0 255.255.255.0 192.168.3.1 > > There is a strange routing table and I am unable to remove it unless > reboot: > > 192.168.0&0xc0a80301 255.255.255.0 UGS 0 86 fxp0 > > Any ideas? Use "route flush". And add your static routes again either by hand or with the help of "/etc/rc.d/routing start" Nikos