Re: How to clear strage route in routing table?
- From: Oliver Fromme <olli@xxxxxxxxxxxxxxxxx>
- Date: Thu, 11 Jan 2007 19:12:35 +0100 (CET)
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@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: How to clear strage route in routing table?
- From: Patrick Dung
- Re: How to clear strage route in routing table?
- References:
- How to clear strage route in routing table?
- From: Patrick Dung
- How to clear strage route in routing table?
- Prev by Date: Re: is THIS why the 6.2 release seems stalled ?
- Next by Date: Re: /pub/FreeBSD/ports/i386/packages-5-stable/All
- Previous by thread: How to clear strage route in routing table?
- Next by thread: Re: How to clear strage route in routing table?
- Index(es):
Relevant Pages
|