CT1304 LAN L AB Rehab AlFallaj
TCP\IP U TILITIES Objectives: To understand the following TCP\IP utilities: Hostname Ipconfig Ping Arp Tracert Netstat
HOSTNAME To display the name of the current host. hostname
IPCONFIG To display information about the current TCP\IP configuration: ipconfig
I PCONFIG
Ipconfig /all
PING To check connectivity between two devices, OR to check if a destination host is able to receive TCP\IP packets. ICMP packet Ping IP-address
P ING To test NIC Ping IP-address
A RP To display and modifies the IP to physical address. arp -a
A RP To delete arp table entry: (run as administrator) arp -d
ARP
To add a physical address into the arp table, ping the target device. Static vs. Dynamic arp entry. To add a physical address statically into the arp table, use the command: arp –s IP-Address MAC-Address Example: Arp –s bf-54-ce-d2
T RACERT To trace the route packets take to a destination host. Tracert IP-address
TRACERT Number of hops: 1
TRACERT Number of hops: 13
NETSTAT To display protocol statistics and current TCP\IP connections. Netstat -a
NETSTAT To Display protocol statistics ( sent, received packets, data, bytes) number of discarded packets, packets have errors. Netstat -e
E XAMPLEA How to know your host physical address? How to know the physical address of device in the same LAN? How to add a physical address statically into your device arp table?