Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2007 17:21:51 +0200
From:      Nikos Vassiliadis <nvass@teledomenet.gr>
To:        freebsd-questions@freebsd.org
Cc:        Patrick Dung <patrick_dkt@yahoo.com.hk>
Subject:   Re: How to clear strage route in routing table?
Message-ID:  <200701121721.51917.nvass@teledomenet.gr>
In-Reply-To: <755188.94085.qm@web54311.mail.yahoo.com>
References:  <755188.94085.qm@web54311.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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