Date: Fri, 25 Nov 2005 14:37:17 +0000 From: Brian Candler <B.Candler@pobox.com> To: "Ricardo A. Reis" <ricardo_bsd@yahoo.com.br> Cc: net@freebsd.org Subject: Re: Bug in routing tables ? Message-ID: <20051125143716.GA98953@uk.tiscali.com> In-Reply-To: <4385EA35.9080705@yahoo.com.br> References: <4385EA35.9080705@yahoo.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 24, 2005 at 02:28:37PM -0200, Ricardo A. Reis wrote: > I insert this route in my workstation for network test, > > #route add -net 200.144.xx.xx 255.255.254.0 172.22.x.x Linux user I bet ;-) For FreeBSD you need: #route add -net 200.144.xx.xx -netmask 255.255.254.0 172.22.x.x > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 200.144.xx.xxx UGS 1 13407 rl0 > 127.0.0.1 127.0.0.1 UH 0 46 lo0 > 136.16&0xac160181 255.255.254.0 UGS 0 34 rl0 As you can see, 255.255.254.0 was interpreted as the gateway, not the netmask.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051125143716.GA98953>