11.2.3.10 Packet Tracer - Explore A NetFlow Implementation Instruc
11.2.3.10 Packet Tracer - Explore A NetFlow Implementation Instruc
Topology
Objectives
Part 1: Observe NetFlow Flow Records - One Direction
Part 2: Observe NetFlow Records for a Session that Enters and Leaves the Collector
Background
In this activity, you will use Packet Tracer to create network traffic and observe the corresponding NetFlow flow
records in a NetFlow collector. Packet Tracer offers a basic simulation of NetFlow functionality. It is not a replacement
for learning NetFlow on physical equipment. Some differences may exist between NetFlow flow records generated by
Packet Tracer and by records created by full-featured network equipment.
Cisco and/or its affiliates. All rights reserved. Cisco Confidential Page 1 of 8 www.netacad.com
Packet Tracer – Explore a NetFlow Implementation
b. Click the “On” radio button to activate the collector as necessary. Position and size the window so that it is visible
from the Packet Tracer topology window.
Cisco and/or its affiliates. All rights reserved. Cisco Confidential Page 2 of 8 www.netacad.com
e. Click either the pie chart or the legend entry to display the flow record details.
f. The flow record will have entries similar to those in the table below. Your timestamps will be different.
In this case, the flow represents the ICMP ping from host 10.0.0.10 to 10.0.0.1. Four ping packets were in the flow.
The packets entered interface Gig0/0 of the exporter.
Note: In this activity, the Edge router has been configured as a NetFlow flow exporter. The LAN interface is
configured to monitor flows that enter it from the LAN. The serial interface has been configured to collect flows
that enter it from the Internet. This has been done to simplify this activity.
To see traffic that matches a full bi-directional session, the NetFlow exporter would need to be configured to collect
flows entering and leaving a network.
Step 3: Create additional traffic.
a. Click PC-2 > Desktop.
b. Open a command prompt and ping the default gateway 10.0.0.1.
What do you expect to see in the NetFlow collector flow records? Will the statistics for the existing flow record
change, or will a new flow appear in the pie chart?
A flow is defined as a unidirectional flow of packets that share the same source and
destination IP addresses and port numbers, as well as the same IP protocol. Because this traffic will
have a different source IP address, it will create a new flow record that is represented by a new
color-coded portion of the pie chart.
d. Issue pings from PC-3 and PC-4 to the default gateway address. What
should happen to the display in the flow collector?
Part 2: Observe NetFlow Records for a Session that Enters and Leaves the
Collector
The NetFlow exporter has been configured to collect flows that exit the LAN and enter the router from the Internet.
Destination IP address
192.0.2.100
Input Interface
Gig0/0
Output Interface
Se0/0/1
Predict the values for the web page reply entering the NetFlow exporter router from the Internet.
Source Port
80
Output Interface
Gig0/0
f. Click PC-1 > Desktop. Close the Command Prompt window, if necessary. Click the Web Browser icon.
g. In the Web Browser for PC-1, enter 192.0.2.100 and click Go. The Example Website webpage will display.
h. After a short delay, a new pie chart will appear in the NetFlow collector. You will see at least two pie segments for
the HTTP request and response. You might see a third segment if the ARP cache for PC-1 timed out.
i. Click each HTTP pie segment to display the record and verify your predictions.
j. Click the link to the Copyrights page.
What happened? Explain. (Hint: compare the port number on the host for the flows.)
Because the host opened a new source port for the new request to the web server,
two new flows were created.
Compare the flows. Aside from the obvious timestamp, source and destination IP address, port, and interfaces,
differences, what else is different between the request and response flows?
The TCP flags are different. The flags for the request flows are 0x02 and the
response flags are 0x12. Direct the students to look up these values by doing a Google search on terms like
“tcp flag values”. It is beyond the scope of this lab to explain how the values are determined, but the
meaning of 0x02 will be SYN (decimal 2) for the request flow, and will be SYN-ACK (decimal 18) for the reply
flows.
Step 2: Access the Web Server by URL.
a. Power cycle the NetFlow Collector to clear the flows.
b. Turn on the Netflow Collector service.
c. Before you access the Web Server by its URL. What do you think you will see in the NetFlow collector
display?
You will see four flows. Because the website is accessed by URL, a DNS query must
occur. Two flows represent the DNS query and response. The other two flows represent the HTTP request
and response.