You are on page 1of 5

Shaheed Zulfikar Ali Bhutto Institute of Science & Technology

COMPUTER SCIENCE DEPARTMENT

Total Marks:

Obtained Marks:

Data Communication
&
Computer Networks
Lab Task # 1
Last date of Submission: 11th Sept, 2019

Submitted To: Ms. Mehr Un Nisa


______________________________________________________________________________

Student Name: Mohammad Ibrahim Moazzam

______________________________________________________________________________

DCCN(Lab) BSCS-4 SZABIST-ISB


Shaheed Zulfikar Ali Bhutto Institute of Science & Technology

COMPUTER SCIENCE DEPARTMENT

Reg Number: 1712232


_______________________________________________________________________________

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

DCCN(Lab) BSCS-4 SZABIST-ISB


Shaheed Zulfikar Ali Bhutto Institute of Science & Technology

COMPUTER SCIENCE DEPARTMENT

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:

Internet Address Physical Address Type


192.168.10.1 00-0e-f4-c0-93-48 dynamic
192.168.10.6 c8-02-10-64-b5-1a dynamic
192.168.10.255 ff-ff-ff-ff-ff-ff static
224.0.0.2 01-00-5e-00-00-02 static
224.0.0.22 01-00-5e-00-00-16 static
224.0.0.252 01-00-5e-00-00-fc static
239.255.255.250 01-00-5e-7f-ff-fa static
255.255.255.255 ff-ff-ff-ff-ff-ff static

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

COMPUTER SCIENCE DEPARTMENT

TCP 0.0.0.0:445 HP:0 LISTENING


TCP 0.0.0.0:1025 HP:0 LISTENING
TCP 0.0.0.0:1026 HP:0 LISTENING
TCP 0.0.0.0:1027 HP:0 LISTENING
TCP 0.0.0.0:1028 HP:0 LISTENING
TCP 0.0.0.0:1029 HP:0 LISTENING
TCP 0.0.0.0:1030 HP:0 LISTENING
TCP 0.0.0.0:2179 HP:0 LISTENING
TCP 0.0.0.0:5357 HP:0 LISTENING
TCP 192.168.10.9:139 HP:0 LISTENING
TCP 192.168.10.9:9284 wq-in-f188:5228 ESTABLISHED
TCP 192.168.10.9:10000 ec2-52-201-30-110:https ESTABLISHED
TCP 192.168.10.9:10080 151.101.10.110:https ESTABLISHED
TCP 192.168.10.9:10100 host:https ESTABLISHED
TCP 192.168.10.9:10101 40.90.137.125:http TIME_WAIT
TCP 192.168.10.9:10102 40.90.137.125:https ESTABLISHED

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.

Observation: Active Routes:


Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.9 25
DCCN(Lab) BSCS-4 SZABIST-ISB
Shaheed Zulfikar Ali Bhutto Institute of Science & Technology

COMPUTER SCIENCE DEPARTMENT

127.0.0.0 255.0.0.0 On-link 127.0.0.1 306


127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.10.0 255.255.255.0 On-link 192.168.10.9 281
192.168.10.9 255.255.255.255 On-link 192.168.10.9 281
192.168.10.255 255.255.255.255 On-link 192.168.10.9 281
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.10.9 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.10.9 281
255.255.255.255 255.255.255.255 On-link 192.168.10.9 281

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

Name Type Status


--------------------------------------------------------------------
HP <20> UNIQUE Registered
HP <00> UNIQUE Registered
WORKGROUP <00> GROUP Registered

DCCN(Lab) BSCS-4 SZABIST-ISB

You might also like