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

[EMAIL PROTECTED] ~]# 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
[EMAIL PROTECTED] ~]# route delete -net 192.168.3.0
route: writing to routing socket: No such process
delete net 192.168.3.0: not in table
[EMAIL PROTECTED] ~]# route delete -host 192.168.3.0
delete host 192.168.3.0

--- Nikos Vassiliadis <[EMAIL PROTECTED]> 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/
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to