Patrick Dung wrote:
 > Suppose I have mistype a command:
 > # route add 192.168.3.0 255.255.255.0 192.168.3.1

So you swapped gateway and netmask.  Nasty mistake.  :-)

It's usually better to use CIDR notation (with a slash
followed by the number of network bits), to avoid any
confusion.  It's also less typing.
# route add 192.168.3.0/24 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

How did you try to remove it (exact comand line, please),
and what was the error message that you got?  You should
enter exactly the same line you used to add the route,
only replace "add" with "delete".

It works fine for me, so I assume you did a syntax error
when trying to remove it.

Best regards
   Oliver

-- 
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"The last good thing written in C was
Franz Schubert's Symphony number 9."
        -- Erwin Dieterich
_______________________________________________
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