Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Aug 2007 23:13:20 +0100
From:      Adam J Richardson <fatman.uk@gmail.com>
To:        Modulok <modulok@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Bizzare routing table entry.
Message-ID:  <46B8EE80.7000905@crackmonkey.us>
In-Reply-To: <64c038660708071210w1950ccccwda1bb8464587d1de@mail.gmail.com>
References:  <64c038660708071210w1950ccccwda1bb8464587d1de@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Modulok wrote:
>   0&0xc0a80132       link#1             UCS         0        0   bge0
<snip>
> 1. The first entry, it's not IPv4, IPv6 or a MAC address that I've
> ever seen, what format is it?

Hi Modulok,

It's possible to represent IPv4 addresses as a single number. I don't 
recall the algorithm for converting that four byte dot-delimited group 
into an integer, though, so I can't tell you what number it is. Perhaps 
you can Google the algorithm and do the math to figure out what it is.

HtH,
Adam J Richardson



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?46B8EE80.7000905>