6.12 Network utilities

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

ifconfig (Linux/Mac OS)

*ifconfig* is used on Linux and Mac OS systems and displays the installed network interfaces and the current configuration settings for each interface, including the MAC address, IP address, broadcast address, and subnet address. Use the *ifconfig* command as follows: -Use *ifconfig [interface_name]* down to disable the specified network interface. -Use *ifconfig [interface_name]* up to enable the specified network interface. Use the following utilities to display additional networking information not provided by ifconfig: -The *hostname* command displays the hostname of the system. -The *route* command displays the default gateway configuration settings. *On Linux systems, the iwconfig command is used to display information about wireless network interfaces.*

netstat command

*netstat* displays the following IP-related statistics: -Current connections -Incoming and outgoing connections -Active sessions, ports, and sockets -The local routing table

SSH utility

Similar to Telnet, the SSH utility is used for remote server management; however, SSH encrypts all communications and is much more secure. SSH can be used to remotely log onto a server and complete configuration tasks. In order to establish an SSH session, the server must have the SSH process running and configured to allow remote connections. Use the following syntax to establishing an SSH connection: *ssh [username]@[server_address]*

Telnet utility

The *telnet* utility is used for remote server management. -The Telnet protocol must be running and configured on the remote server in order for a Telnet session to be established. -By default, Telnet does not encrypt transmissions (they are sent as clear text). -Telnet is mostly used by specialized industrial and scientific devices. *In addition to sending transmissions in clear text, there are several well-known vulnerabilities in the Telnet protocol. Because of this, Telnet should not be used when sending sensitive information.*

ipconfig (Windows OS)

*ipconfig* displays IP configuration information for network adapters. Use the *ipconfig* command as follows: -Use ipconfig to view IP address, subnet mask, and default gateway configuration. -Use *ipconfig /all* to view detailed configuration information including the MAC address and the -DHCP server used for configuration. Use *ipconfig /release* to release the IP configuration information obtained from the DHCP server. -Use *ipconfig /renew* to request new IP configuration information from the DHCP server. -Use *ipconfig /displaydns and ipconfig /flushdns* to view and manage the local DNS cache. The first command displays the contents of the local DNS cache that Windows maintains and updates every 24 hours. The second option flushes (or removes) all the entries in the current DNS cache. If the IP address of a network server is changed, your local cache will contain the old IP address until the cache is updated or the flushdns option is used.

nbtstat command

*nbtstat* is used to diagnose issues regarding NetBIOS over TCP/IP. The following options can be used with nbtstat: *-c* Displays the NetBIOS cache of remote machine names and their IP addresses. *-n* Displays NetBIOS names that have been registered on the local system. *-r* Displays names resolved by broadcast and via WINS. *-R* Clears and then reloads the remote cache name table. *-S* Displays current NETBIOS sessions with the destination IP addresses. *-s* Displays current NETBIOS sessions by NETBIOS names.

nslookup command

*nslookup* resolves (looks up) the IP address of the specified hostname. It also displays additional name resolution information, such as the DNS server used for the lookup request.

ping

*ping* sends an ICMP echo request/reply packet to a remote host. A response from the remote host indicates that both hosts are correctly configured and a connection exists between them. You can ping a host by IP address or use the DNS name. When the DNS name is used, the computer must look up the corresponding IP address before performing the ping test. *-a* Looks up the hostname from a given IP address. *-t* Performs a continuous ping test (press Ctrl + C to stop sending the ping tests). *-l [size]* Specifies the packet payload size (in bytes) to use in the test. This can help identify if packets above a certain size are being lost.

tracert/traceroute

*tracert* is similar to the *ping* utility in that it tests connectivity between devices; however, tracert also shows the path between the two devices. Responses from each hop on the route are measured three times to provide an accurate representation of how long the packet takes to reach, and be returned by, the specific host. -On a Windows system, use the *tracert* command. -On Linux and Mac OS systems, use the *traceroute* command.


Ensembles d'études connexes

Ch 31 Nursing Care of a Family with a Pre-School Child

View Set

Chapter 13: Power, Influence and Politics

View Set

Chapter 1: The Art of Watching Films

View Set

Chemistry chapter 7 smartbook assignment

View Set

WGU Course C845 - Information Systems Security (SSCP) Quizlet by Brian MacFarlane

View Set

MH: Foundations and Practice of MH Nursing

View Set

PM - 127 Generating product ideas

View Set

Biology EOC study guide: Inquiry, Basica of Life, and cell structure and function (pages 3-6)

View Set