Advanced Networking - Network Commands
Advanced Networking - Network Commands
Romans 8:18
OVERVIEW
Networking commands
Basic Networking Commands
◼ HOSTNAME
◼ IPCONFIG
◼ IPCONFIG/ALL
◼ NSLOOKUP
◼ PING
◼ TRACERT
HOSTNAME
The hostname command displays the hostname
of a system.
This is usually set or configured during the
installation.
If you’re just looking for a fast and easy way of
verifying a computer’s name, then try using the
Hostname command.
To check the hostname, run the command:
Hostname
IPCONFIG
➢ ipconfig command is used to display
information about network
configuration.
➢ Simply type ipconfig at the Windows
command prompt, and you will be
presented with the IP address, subnet
mask, and default gateway that the
device is currently using.
IPCONFIG/ALL
• It is used to display all the information about your
network adapter.
• It displays
• Physical address
• DHCP Server
• DNS Server
• Lease obtained
• Lease expire etc.
NSLOOKUP
NSLookup is a utility for diagnosing DNS name
resolution problems.
Just type the nslookup command, and Windows
will display the name and IP address of the device’s
default DNS server.
From there, you can type host names in an effort to
see if the DNS server is able to resolve the
specified host name.
PING
•Ping is used to test the ability of one network host to
communicate with another
•Is a utility used to test the reachability of a host on an
Internet Protocol Network.
•Simply enter the ping command, followed by the name or
the IP address of the destination host.
•Assuming that there are no network problems or firewalls
preventing the ping from completing, the remote host will
respond to the ping with four packets. Receiving these
packets confirms that a valid and functional network path
exists between the two hosts.
TRACERT
•Is a utility for examining the path to a remote
host.
•Is used to trace the path that an Internet
Protocol (IP) packet takes to its destination
•The tracert command will return output
indicating the hops discovered and time for
each hop.
NETSTAT