Re: [IPFIX] Initial review of draft-ietf-ipfix-mib-variable-export-03

Juergen Schoenwaelder <[email protected]>
Newsgroups gmane.ietf.ipfix
Message-ID <[email protected]>
On Thu, Nov 07, 2013 at 06:12:53AM -0800, Andrew Feren wrote:
 
> Actually, reading Juergen's comment I went looking for the InetAddress
> textual convention and was reminded that some textual conventions denote
> structure which we will need to represent.  Even looking at a simpler
> textual convention like InetPortNumber which is just a name for a
> unsigned16 I'm not sure what I should do with that if sent using IPFIX. 
> Is that:
> sourceTransportPort
> destinationTransportPort
> collectorTransportPort
> exporterTransportPort
> postNAPTSourceTransportPort
> postNAPTDestinationTransportPort
> 
> Perhaps it is possible to use other info in the various MIBs to map an
> InetPortNumber appropriately, but I'll need to do some more looking to
> really know.

I think you can't do such a mapping. The textual convention
InetPortNumber does not define what the port number represents. And
there is nothing machine readable which allows a machine to decide
whether a specific usage of InetPortNumber maps to those IPFIX
information elements. In general, you may not want to make IE specific
mappings since there are tons of MIB objects and data types out there.

> Juergen, just out of curiousity... What exactly is the "zone index" in
> the InetAddress?  I read some words in RFC3291, still wasn't clear how
> that is used.

Details in RFC 4007. In short, if you have scoped addresses such as
link local addresses, then you need additional information to
disambiguate them and this is called a zone index. An example from the
command line:

     inet6 fe80::217:f2ff:fed0:4c82%en0 prefixlen 64 scopeid 0x6

The %en0 is the zone index. It can be represented as a name or
numerically as an ifIndex value. The InetAddress TCs use the numeric
representation.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>
_______________________________________________
IPFIX mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/ipfix
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.