IP Address Fields in OMAPI

Matt Causey matt.causey at gmail.com
Wed Nov 25 16:38:08 UTC 2009


On Nov 25, 2009, at 6:00, Jason Frisvold <frisvolj at lafayette.edu> wrote:

> On 11/25/2009 01:13 AM, Matt Causey wrote:
>> perl -e 'use Socket; print inet_ntoa( pack( "N", hex( f02fc509 ) ) );
>> print "\n";'
>>
>> Yields:
>>
>> 240.47.197.9
>
> Is 144.47.197.9 the local address?
>
No, sure isn't.  :(

>
> Your code above should suffice.  A bit slicker than what I was  
> using, so I might steal it..  :)
>
> I'm not 100% sure what these fields represent, though.  ie, I'd  
> venture a guess that partner-address is the address of the failover  
> peer, but I'm not 100% certain.  Regardless, your interpretation of  
> the hex code is correct.  At least, from what I've observed locally,  
> anyway.

Well, I wonder what I'm doing wrong then.  :/

Thanks,
Matt


>
> -- 
> ---------------------------
> Jason Frisvold
> Network Engineer
> frisvolj at lafayette.edu
> ---------------------------
> "What I cannot create, I do not understand"
>   - Richard Feynman
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20091125/ab68f6e5/attachment.html>


More information about the dhcp-users mailing list