CSIS 330 – Lab 11: Troubleshooting–
OS Command Line Tools
Answer Template – Brian Shukwit
Part I: Netstat Syntax
Command
Description
Example:
netstat -a
Displays all connections and listening ports
netstat -n
Displays addresses and port numbers in numeric form
netstat interval
Redisplays statistics every 5 second. Press Ctrl-C to stop redisplaying statistics.
netstat –p proto
Shows connections for the TCP protocol
netstat –f
Displays fully qualified domain names for foreign addresses.
netstat -r
Displays the routing table.
Part II: NetStat Routing Table
Screenshot #1:
Question #1: What does this table show you?
A: Configured interfaces and subnet masks of ever connected and active interface on the router.
Part III: NetStat Output
Screenshot #2:
Questions:
1. How many active opens were recorded? A: 180
2. How many failed connection attempts were recorded? A: 3
3. How many segments were received? A: 4348
4. How many segments were sent? A: 3489
5. How many segments were retransmitted? A: 25
Part IV: IPCONFIG
Screenshot #3:
Questions:
1. What is your IPv4 address?
10.211.55.3
2. What is your subnet mask?
255.255.255.0
3. What is your default gateway address?
10.211.55.1
Part V: PING
Screenshot #4:
Questions:
1. Were you able to ping this address?
A: Yes
2. How do you know?
A: First, there were replies. Second, it did not time out.
3. How many packets were sent?
A: Four
4. How many packets were received?
A: Four
5. How many packets were lost?
A: Zero!
Part VI: TRACERT
Screenshot #5:
Questions:
1. Was the trace successful? A: Yes
2. If the trace was successful, how many hops were performed to reach the destination? A: One