Professional Documents
Culture Documents
Total Marks:
Obtained Marks:
Data Communication
&
Computer Networks
Lab Task # 1
Last date of Submission: 11th Sept, 2019
______________________________________________________________________________
1) Ipconfig:
Purpose:
Ipconfig displays all current TCP/IP network configuration values and refreshes Dynamic Host
Configuration Protocol and Domain Name System settings. Used without parameters, ipconfig
displays the IP address, subnet mask, and default gateway for all adapters.
Observation:
Connection-specific DNS Suffix . : Home
Link-local IPv6 Address . . . . . : fe80: :dc46 :2d72 :8f05 :eff2%4
IPv4 Address. . . . . . . . . . . : 192.168.10.9
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.10.1
2) Ipconfig / all :
Purpose:
It gives out a detailed description of the Network Adapters connected to your machine, with
additional information like the Description, DNS Servers and all.
Observation:
Connection-specific DNS Suffix . : Home
Description . . . . . . . . . . . : Ra link RT3290 802.11bgn Wi-Fi Adapter
Physical Address. . . . . . . . . : 74-29-AF-5D-0D-57
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80: :dc46 :2d72 :8f05 :eff2%4(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.10.9(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Monday, September 09, 2019 11:56:15 AM
Lease Expires . . . . . . . . . . : Wednesday, September 11, 2019 10:36:57 AM
Default Gateway . . . . . . . . . : 192.168.10.1
DHCP Server . . . . . . . . . . . : 192.168.10.1
DHCPv6 IAID . . . . . . . . . . . : 74721711
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-24-40-29-79-EC-B1-D7-BD-41-39
DNS Servers . . . . . . . . . . . : 192.168.10.1
NetBIOS over TCP/IP. . . . . . . . : Enabled
3) ping<ip>:
Purpose:
The ping command is used to test the ability of the source computer to reach a specified
destination computer. The ping command is usually used as a simple way to verify that a
computer can communicate over the network with another computer or network device.
Observation:
Pinging 192.168.10.9 with 32 bytes of data:
Reply from 192.168.10.9: bytes=32 time<1ms TTL=128
Reply from 192.168.10.9: bytes=32 time<1ms TTL=128
Reply from 192.168.10.9: bytes=32 time<1ms TTL=128
Reply from 192.168.10.9: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.10.9:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
4) arp-a:
Purpose:
The "arp" Command. arp displays and modifies entries in the Address Resolution Protocol (ARP)
cache, which contains one or more tables that are used to store IP addresses and their resolved
Ethernet or Token Ring physical addresses.
Observation:
5) netstat –a :
Purpose:
Netstat provides information and statistics about protocols in use and current TCP/IP network
connections and it also display all the active ports.
Observation:
Active Connections
Protocol Local Address Foreign Address State
TCP 0.0.0.0:135 HP:0 LISTENING
DCCN(Lab) BSCS-4 SZABIST-ISB
Shaheed Zulfikar Ali Bhutto Institute of Science & Technology
6) netview:
Purpose:
The net user command is used to add, delete, and otherwise manage the users on a computer. Net
view is used to show a list of computers and network devices on the network.
Observation:
Server Name Remark
7) Tracert:
Purpose:
A command-line utility that you can use to trace the path that an Internet Protocol (IP) packet
takes to its destination.
Observation:
over a maximum of 30 hops:
1 2 ms 2 ms 3 ms MyRouter.Home [192.168.10.1]
8) Netstat-r:
Purpose: To reboot a DNS server if it's been attacked by malware. To display incoming and
outgoing connections, routing tables, and protocol statistics in your network. To enter a router's
configuration settings via the command line.
9) Nslookup :
Purpose:
nslookup is a network administration command-line tool available in many computer operating
systems for querying the Domain Name System (DNS) to obtain domain name or IP address
mapping, or other DNS records.
Observation:
Default Server: MyRouter.Home
Address: 192.168.10.1
10) nbstat –n :
Purpose:
The nbtstat command displays information about the NetBIOS over TCP (NBT) connection for
the Node. It displays the IP address associated with the interfaces, the broadcast IP mask, the IP
addresses of the WINS servers in use, and information about the registered NetBIOS names for
the node.
Observation:
Wi-Fi:
Node IpAddress: [192.168.10.9] Scope Id: [ ]
NetBIOS Local Name Table