Re: Bug in routing tables ?
From: Brian Candler (B.Candler_at_pobox.com)
Date: 11/25/05
- Previous message: Anton Yuzhaninov: "Re: ifconfig description"
- In reply to: Ricardo A. Reis: "Bug in routing tables ?"
- Next in thread: Ricardo A. Reis: "Re: Bug in routing tables ?"
- Reply: Ricardo A. Reis: "Re: Bug in routing tables ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 25 Nov 2005 14:37:17 +0000 To: "Ricardo A. Reis" <ricardo_bsd@yahoo.com.br>
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.
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
- Previous message: Anton Yuzhaninov: "Re: ifconfig description"
- In reply to: Ricardo A. Reis: "Bug in routing tables ?"
- Next in thread: Ricardo A. Reis: "Re: Bug in routing tables ?"
- Reply: Ricardo A. Reis: "Re: Bug in routing tables ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|