Network Troubleshooting at The Command Line Flashcards

1
Q

PING

A
  • Test reachability
    • Determine round trip time
    • Uses Internet Control Message Protocol ( ICMP )
  • Primary troubleshooting tool
  • Written by Mike Nuuss in 1983
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

IPCONFIG & IFCONFIG

A
  • Most troubleshooting start with your IP address
    • Ping your local router / gateway
  • Determine TCP/IP & Network Adapter information
    • Some additional IP details
  • IPCONFIG - Windows TCP/IP configuration
  • IFCONFIG - Linux Interface configuration
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

TRACERT

A
  • Determine the route a packet takes to a destination
    • Map entire path
    • TRACERT (Windows) or TRACEROUTE (POSIX)

-Takes advantage of Internet Control Message Protocol (ICMP) time to live exceeded error message

  • Not all devices will reply with ICMP
    • Some firewalls filter ICMP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

NETSTAT

A
  • Network statistics
    • Many different operating systems
  • netstat - a
    • Show all active connections
  • netstat - b
    • Show binaries
  • netstat - n
    • Do not resolve names
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

-NBTSTAT

A
  • NetBIOS over TCP / IP
    • Windows NetBIOS traffic using TCP / IP
  • NBTSTAT
    • Windows utility for querying NetBIOS over TCP / IP information
    • Local & remote devices
  • NBTSTAT - n = local NetBIOS names
  • NBTSTAT - a = 192.168.1.1 = List by name / IP address
  • NBTSTAT - a Server1 - List remote name
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

NET

A
  • Windows network command
    • Net stop - Stop a service
    • Net start - Start a service
    • Net use - Map a network share to a drive letter
      • net use h: \\
    • Net view - View network resources
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

NETDOM

A
  • Manage Active Directory Database from the command line
    • Window 8 or higher
  • Join a computer to the domain, add a domain account, remove a domain account
  • View domain information
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

NSLOOKUP

A
  • Lookup information from DNS service
    • Canonical names , IP addresses , cache timers
  • NSLOOKUP
    • Both Windows & POSIX based
    • Lookup names & IP addresses
  • Find an IP address
  • Find name
How well did you know this?
1
Not at all
2
3
4
5
Perfectly