From owner-freebsd-net@FreeBSD.ORG Thu Nov 24 19:12:52 2005 Return-Path: X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8EE316A41F for ; Thu, 24 Nov 2005 19:12:52 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D49CD43D5D for ; Thu, 24 Nov 2005 19:12:43 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id jAOJC4LL098158; Thu, 24 Nov 2005 21:12:04 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 69740-01; Thu, 24 Nov 2005 21:12:02 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id jAOJ8Dav098052 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Nov 2005 21:08:13 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id jAOJ8Nuc038982; Thu, 24 Nov 2005 21:08:23 +0200 (EET) (envelope-from ru) Date: Thu, 24 Nov 2005 21:08:23 +0200 From: Ruslan Ermilov To: "Ricardo A. Reis" Message-ID: <20051124190823.GB37187@ip.net.ua> References: <4385EA35.9080705@yahoo.com.br> <200511241753.42330.milan@dino.sk> <4385F6B8.1020605@yahoo.com.br> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bCsyhTFzCvuiizWE" Content-Disposition: inline In-Reply-To: <4385F6B8.1020605@yahoo.com.br> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: Milan Obuch , net@freebsd.org Subject: Re: Bug in routing tables ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2005 19:12:52 -0000 --bCsyhTFzCvuiizWE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 24, 2005 at 03:22:00PM -0200, Ricardo A. Reis wrote: > Hi Milan, >=20 > I use route with /netmask[bits] GW, this work fine for me for=20 > severals years, I erred in never read route(8) :-( but this=20 > "136.16&0xac160181" is very strange for me, and for you ? >=20 Non-contiguous netmasks are shown like this. 0xac160181 is 172.22.1.129 136 is 200 ANDed with 172 16 is 144 ANDed with 22 > >On Thursday 24 November 2005 17:28, Ricardo A. Reis wrote: > >=20 > > > >>Hi all, > >> > >> 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 > >> > >> =20 > >> > > > >man route: > > > > route [-n] command [-net | -host] destination gateway [netmask] > > > >so no, this ain't network bug, just screwed usage. > >Regards, > >Milan > > > >=20 > > > >>Routing tables > >> > >>Internet: > >>Destination Gateway Flags Refs Use Netif Exp= ire > >>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 > >>?????????????????????????? > >> > >> > >>The question is ........................ this is a network bug? > >> > >> > >> > >>OBS: using /23 this work perfectly!! > >> > >> > >> > >>Ricardo A. Reis > >>UNIFESP > >>Unix and Network Admin > >> > >> > >> > >>_______________________________________________ > >>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" > >> =20 > >> > > > >=20 > > >=20 > _______________________________________________ > 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" --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --bCsyhTFzCvuiizWE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDhg+nqRfpzJluFF4RAoPdAJ4rLi83rjr55mNdP/kL/XL5bR7l3ACffBni 62LW8yPVRfsWITCeP4rPO/U= =4uAv -----END PGP SIGNATURE----- --bCsyhTFzCvuiizWE--