How to clear strage route in routing table?
Patrick Dung
patrick_dkt at yahoo.com.hk
Fri Jan 12 18:38:09 UTC 2007
Thanks Nikos for reply
I have figure out how to remove that route
It was consider 192.168.3.0 as host instead of net
[root at fbsd2 ~]# route add 192.168.3.0 255.255.255.0 192.168.3.1
add net 192.168.3.0: gateway 255.255.255.0
[root at fbsd2 ~]# route delete -net 192.168.3.0
route: writing to routing socket: No such process
delete net 192.168.3.0: not in table
[root at fbsd2 ~]# route delete -host 192.168.3.0
delete host 192.168.3.0
--- Nikos Vassiliadis <nvass at teledomenet.gr> wrote:
> 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
>
____________________________________________________________________________________
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/
More information about the freebsd-hackers
mailing list