Date: Fri, 26 Nov 2010 11:07:41 -0200 From: "Tobias P. Santos" <tobias@ntelecom.com.br> To: freebsd-net@freebsd.org Subject: Remove route 0.0.0.0&0x1 Message-ID: <4CEFB11D.8070806@ntelecom.com.br>
next in thread | raw e-mail | index | archive | help
Hello, I was adding a static route and "accidentally" put an extra number 1 after the command, like this: route add -net 192.168.0.100 192.168.0.200 255.255.255.255 1 netstat -rn prints: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 0.0.0.0&0x1 192.168.0.200 UGS 0 0 bge0 I tried to remove this route without success, either with: route delete -net 192.168.0.100 192.168.0.200 255.255.255.255 1 or route delete -net 192.168.0.100 192.168.0.200 255.255.255.255 I had to run route flush to get rid of it. Anyone has any clues? And also, how come a route like this being interpreted as the default route? This happened on a 7.3-RELEASE and I also tested on an old 6.2-RELEASE without being able to remove the route. The only difference is that it shows as 0.0.0.0&0x1 on 7.3 and as 0&0x1 on 6.2. Thank you in advance, Tobias.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CEFB11D.8070806>