IPv6 Netowrk Device Numbering BP

Sander Steffann sander at steffann.nl
Thu Nov 1 14:27:05 UTC 2012


Hi Owen,

> You really shouldn't need to parse these and it's perfectly valid to reject them as invalid input. This really is an output only format [...]

I don't agree. I think it's actually the other way around. It's a valid representation of an IPv6 address so you be able to parse them. You don't need to be able to output them though.

> Finally, at this point, if you're feeling like you have to write your own IP address parser, you're probably doing something wrong. PLEASE PLEASE PLEASE use the standard
> libraries whenever possible.

Definitely +1 here!
Sander





More information about the NANOG mailing list