Re: netflow

Eddie Kohler <[email protected]>
Newsgroups gmane.network.routing.click
Message-ID <CAF0C5S+Oe9wdBqxx-McYB_E6o-W5OVHtSvDncUGm0FUFqnY9+g@mail.gmail.com>
Hi,

I just created a login for you; it should be in your email.

Eddie

On Mon, Feb 13, 2012 at 6:17 PM, Anthony Dempsey
<[email protected]> wrote:
> How do I add to the wiki is that just the main click site? Is there a
> special log in?
>
> On Wed, Jan 25, 2012 at 10:15 PM, Eddie Kohler <[email protected]> wrote:
>
>> Glad you got it working! It would be great if you could post some
>> information about these steps somewhere, such as the wiki.
>>
>> Eddie
>>
>>
>>
>> On 1/24/12 8:28 AM, Anthony Dempsey wrote:
>>
>>> Disregard previous I got it working, I hadn't set up a collector element
>>> on
>>> the ns3 node.
>>>
>>> On Tue, Jan 24, 2012 at 12:25 PM, Anthony Dempsey<anthonyjdempsey@gmail.*
>>> *com <[email protected]>
>>>
>>>> wrote:
>>>>
>>>
>>>  I've done a bit more work on this and realised I hadn't encapsulated the
>>>> netflow data in any packet type, I've now encapsulated it in UDP/IP
>>>> headers. So my netflow now looks like:
>>>>
>>>> Idle ->  NetflowExport(af0, VERSION 10, INTERVAL 1)
>>>>     ->  UDPIPEncap($myaddr3, 4739, 172.16.3.2, 4739)
>>>>     ->  CheckIPHeader2(INTERFACES 172.16.1.2/255.255.255.0
>>>> 172.16.2.1/255.255.255.0 172.16.3.1/255.255.255.0)
>>>>     ->  rt;
>>>>
>>>> I'm still having problems when I try to send to a node in my simulation.
>>>> The packets are ok, I've encapsulated them in ethernet headers and
>>>> dropped
>>>> them to a pcap file and they look fine and I can use IPEncp(4, ....)
>>>> giving
>>>> two IP headers and the simulation wont stop but does give me this
>>>> warning:
>>>>
>>>> expensive Packet::push; have 8 wanted 14
>>>>
>>>> but I don't want to have IP in IP. I'm adding some FEC to IPFIX so I need
>>>> to be able to encode, transfer, and decode the packets before they are
>>>> passed to NS-3. If I don't use a click config file on node 3 I can get
>>>> the
>>>> simulation to complete but I need to access the packets before they are
>>>> passed to NS-3. I can print the packets before they are passed to
>>>> [0]output
>>>> in the click files but the simulation crashes after that.
>>>>
>>>> Can anyone help me?
>>>> Cheers,
>>>> Anthony
>>>>
>>>> On Sat, Jan 21, 2012 at 4:43 PM, Anthony Dempsey<
>>>> [email protected]>  wrote:
>>>>
>>>>  Can anyone point me to something that will help me set up the netflow
>>>>> components correctly?
>>>>> I'm trying to set up a simple simulation using ns3 of 4 nodes. n1 sends
>>>>> to n2, the router should log details in the IPFIX format and export them
>>>>> out to n3.
>>>>>               n3
>>>>>                |
>>>>> n1--------router---------n2
>>>>>
>>>>> I have no idea if I'm setting the system up properly and no idea how to
>>>>> get netflow components to send the information correctly.
>>>>> I've taken the example ip routing config file in NS3 and modified it to
>>>>> bring in the third node and I have an AggregateIPFlow component sitting
>>>>> between the CheckIPHeader2 and the StaticIPLookup componenets
>>>>>
>>>>> ch2 :: CheckIPHeader2(...)
>>>>>  ->  af0::AggregateIPFlows()
>>>>>  ->  rt :: StaticIPLookup(....)
>>>>>
>>>>> For the netflow components I have the following set up
>>>>>
>>>>> Idle ->  NetflowExport(af0, VERSION 10, INTERVAL 1)
>>>>>     ->  NetflowPrint(RECORDS true, VERBOSE true, OUTFILE netflow)
>>>>>     ->  rt;
>>>>>
>>>>> And this produces nothing for me, if I change VERSION to 9 I get some
>>>>> output in the netflow file but nothing interesting.
>>>>> Can someone see what I've missed or show me where I can learn more about
>>>>> how to set up netflow components and have them send packets from the
>>>>> router
>>>>> to n3 while the simulation runs?
>>>>>
>>>>> Cheers,
>>>>> Anthony
>>>>>
>>>>>
>>>>
>>>>  ______________________________**_________________
>>> click mailing list
>>> [email protected]
>>> https://amsterdam.lcs.mit.edu/**mailman/listinfo/click<https://amsterdam.lcs.mit.edu/mailman/listinfo/click>
>>>
>>
> _______________________________________________
> click mailing list
> [email protected]
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click

_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click
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.