Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2005 21:08:23 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        "Ricardo A. Reis" <ricardo_bsd@yahoo.com.br>
Cc:        Milan Obuch <milan@dino.sk>, net@freebsd.org
Subject:   Re: Bug in routing tables ?
Message-ID:  <20051124190823.GB37187@ip.net.ua>
In-Reply-To: <4385F6B8.1020605@yahoo.com.br>
References:  <4385EA35.9080705@yahoo.com.br> <200511241753.42330.milan@dino.sk> <4385F6B8.1020605@yahoo.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051124190823.GB37187>