How to clear strage route in routing table?

Nikos Vassiliadis nvass at teledomenet.gr
Fri Jan 12 15:19:21 UTC 2007


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


More information about the freebsd-questions mailing list