15.2.7 Packet Tracer – Logging Network Activity Answers
Packet Tracer – Logging Network Activity (Answers Version)
Answers Note: Red font color or gray highlights indicate text that appears in the instructor copy only.
Addressing Table
Device |
Private IP Address |
Public IP Address |
FTP_Server |
192.168.30.253 |
209.165.200.227 |
SYSLOG_SERVER |
192.168.11.254 |
209.165.200.229 |
Router2 |
N/A |
209.165.200.226 |
Objectives
Part 1: Create FTP traffic.
Part 2: Investigate the FTP Traffic
Part 3: View Syslog Messages
Background
In this activity, you will use Packet Tracer to sniff and log network traffic. You will view a security vulnerability in one network application, and view logged ICMP traffic with syslog.
Instructions
Part 1: Create FTP traffic.
Step 1: Activate the sniffing device.
- Click on sniffer device Sniffer1.
- Go to the Physical tab and turn on the power to the sniffer.
- Go to the GUI tab and turn the sniffer service on.
- The FTP and syslog packets entering the sniffer from Router2 are being monitored.
Step 2: Remotely connect to the FTP server.
- Click on PC-B and go to the desktop.
- Click Command Prompt. From the command prompt, open an FTP session with FTP_SERVER using its public IP address. Help with the command line is available by typing ? at the prompt.
- Enter the username of cisco and password of cisco to authenticate with the FTP_Server.
Step 3: Upload a file to the FTP server.
- At the ftp> prompt, enter the command dir to view the current files stored on the remote FTP server.
- Upload the clientinfo.txt file to the FTP server by entering the command put clientinfo.txt.
- At the ftp> prompt, enter the command dir and verify that the clientinfo.txt file is now on the FTP server.
- Enter quit at the FTP prompt to close the session.
Part 2: Investigate the FTP Traffic
- Click the Sniffer1 device and then click the GUI tab.
- Click through some of the first FTP packets in the session. Be sure to scroll down to view the application layer protocol information in the packet details for each. (This assumes this is your first FTP session. If you have opened other sessions, clear the window and repeat the login and file transfer process.)
Questions:
What is the security vulnerability presented by FTP?
Type your answers here.
The FTP username and password are transmitted in clear text.
What should be done to mitigate this vulnerability?
Type your answers here.
Use a secure file transfer protocol such as SFTP.
Part 3: View syslog Messages
Step 1: Remotely connect to Router2.
- From the PC-B command line, telnet to Router2.
- Use the username ADMIN and password CISCO for authentication.
- Enter the following commands at the router prompt:
Router2# debug ip icmp
- Type logout at the prompt to close the Telnet session.
Step 2: Generate and View the syslog Messages.
- Click on the SYSLOG_SERVER device and go to the Services tab.
- Click the SYSLOG service. Verify that the service is on. Syslog messages will appear here.
- Go to host PC-B and open the Desktop tab.
- Open the Command Prompt and ping Router2.
- Go to host PC-A and open the Desktop tab.
- Go to the Command Prompt and ping Router2.
- On the syslog server investigate the logged messages.
- There should be four messages from PC-A and four PC-B.
Questions:
Can you tell which echo replies are for PC-A and PC-B from the destination addresses? Explain.
Type your answers here.
They should both have the same destination address because NAT is translating internal private addresses to a global public address.
Note: The HostName field in the syslog server display refers to the device that is the source of the syslog messages.
- Ping Router2 from PC-C.
Question:
What will the destination address for the replies be?
Type your answers here.
The address will be the internal private address of PC-C.