Date: Fri, 7 Sep 2007 21:57:57 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: "Bruce M. Simpson" <bms@freebsd.org> Cc: Tom Judge <tom@tomjudge.com>, freebsd-net@freebsd.org Subject: Re: Strange behaviour of route command Message-ID: <20070907185757.GA25624@kobe.laptop> In-Reply-To: <46E174DB.8070004@FreeBSD.org> References: <46E11515.8090007@tomjudge.com> <46E174DB.8070004@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2007-09-07 16:57, "Bruce M. Simpson" <bms@freebsd.org> wrote: > Tom Judge wrote: >> Hi, >> While making some changes to the routing table on one of our routers >> today I noticed that "route add" was showing some strange >> behaviour. When adding a route for 128/8 to the table rather than >> adding 128.0.0.0/8 it would add 0.0.0.0/8, however adding 10/9 works >> correctly. >> >> Is this a bug in route or the routing table? > > Run 'route -nv monitor' in another shell while you do this and post the > output to this list so someone can get more of a handle on it. I can reproduce what Tom describes, and route -nv monitor shows: got message of size 132 on Fri Sep 7 21:55:29 2007 RTM_ADD: Add Route: len 132, pid: 25766, seq 1, errno 0, flags:<UP,GATEWAY,DONE,STATIC> locks: inits: sockaddrs: <DST,GATEWAY,NETMASK> 0.128.0.0 10.8.1.100 (0) 0 ff This is with a userland and kernel from around 15:00:00 UTC, built at: FreeBSD kobe 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Sep 6 21:06:38 EEST 2007
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070907185757.GA25624>