Re: Bug in routing tables ?

From: Ruslan Ermilov (ru_at_freebsd.org)
Date: 11/24/05

  • Next message: John-Mark Gurney: "Re: Bug in routing tables ?"
    Date: Thu, 24 Nov 2005 21:08:23 +0200
    To: "Ricardo A. Reis" <ricardo_bsd@yahoo.com.br>
    
    
    

    On Thu, Nov 24, 2005 at 03:22:00PM -0200, Ricardo A. Reis wrote:
    > Hi Milan,
    >
    > I use route with /netmask[bits] GW, this work fine for me for
    > severals years, I erred in never read route(8) :-( but this
    > "136.16&0xac160181" is very strange for me, and for you ?
    >
    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:
    > >
    > >
    > >>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
    > >>
    > >>
    > >>
    > >
    > >man route:
    > >
    > > route [-n] command [-net | -host] destination gateway [netmask]
    > >
    > >so no, this ain't network bug, just screwed usage.
    > >Regards,
    > >Milan
    > >
    > >
    > >
    > >>Routing tables
    > >>
    > >>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
    > >>??????????????????????????
    > >>
    > >>
    > >>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"
    > >>
    > >>
    > >
    > >
    > >
    >
    > _______________________________________________
    > 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"

    -- 
    Ruslan Ermilov
    ru@FreeBSD.org
    FreeBSD committer
    
    



  • Next message: John-Mark Gurney: "Re: Bug in routing tables ?"