DCN Practical 3
DCN Practical 3
Date:
EXPERIMENT NO. 3
● ipconfig
● arp –a
● netstat
● netbios
● tracert
● hostname
● nmap
Reference Videos
1. IP address: https://www.youtube.com/watch?v=ykz4oUPWACw
2. IP address assignment in Video: https://www.youtube.com/watch?v=vcAtxgDsl00
3. Classes of IPv4 address: https://www.youtube.com/watch?v=VkgfyLf1raY
Page No:
CSE-DEPSTAR(D23DCS147) CSE205-Data Communication and Networking
Refer to the following scenarios and let’s understand What is an IP Address and Purpose of IP
Address.
Scenario : 1
In this first scenario, an envelope is sent from sachana to kathlal. But there was some check point like
ahmedabad, kathwada and then the envelope is delivered to kathlal.
Justify the following statement.
1. Was there any difficulty faced during sending the envelope from sender to receiver?
Scenario : 2
In this second scenario, the sender was located at Ahmedabad and wanted to send a file to the receiver
who was located at Gandhinagar. But at the time of sending a file to the receiver, the receiver's machine
was powered off. So, can the receiver receive the file from the sender or not?
Justify the following statement.
2. Was there any difficulty faced during sending the file from sender to receiver? If yes then
what would be the solution for it.
Page No:
CSE-DEPSTAR(D23DCS147) CSE205-Data Communication and Networking
Scenario: 3
Scenario: 4
An IP address also acts like a return address on postal mail. When a letter you've mailed is delivered to
the wrong address, you get the letter back if you include a return address on the envelope. The same
holds true for email. When you write to an invalid recipient (such as someone who left their job and no
longer has a company email address) your IP address lets the company’s mail server send you back a
bounce message so that you know your email wasn't sent to the right place.
From the above all scenarios, what would be the conclusion?
Page No:
CSE-DEPSTAR(D23DCS147) CSE205-Data Communication and Networking
IP Address Types
Basically, there are two primary types of ip address formats used today.
1. IPv4
2. IPv6
Refer to the following diagrams and let’s understand IPv4 Address Representation
Refer to the following case-study and let’s understand IPv4 Address Structure.
In this scenario, representing a small office network, each network running on TCP must have a unique
number, and every machine on it must have a unique IP address. An IPv4 address is a 32-bit
hierarchical address that is made up of a network portion and a host portion. When determining the
network portion versus the host portion, you must look at the 32-bit stream. A subnet mask is used to
determine the network and host portions.
Page No:
CSE-DEPSTAR(D23DCS147) CSE205-Data Communication and Networking
To identify the network and host portions of an IPv4 address, the subnet mask is compared to the IPv4
address bit by bit, from left to right. The actual process used to identify the network and host portions is
called ANDing.
IPv4 Address Structure: Prefix Length
A prefix length is a less cumbersome method used to identify a subnet mask address. The prefix length
is the number of bits set to 1 in the subnet mask. It is written in “slash notation” therefore, count the
number of bits in the subnet mask and prepend it with a slash.
Page No:
CSE-DEPSTAR(D23DCS147) CSE205-Data Communication and Networking
Page No:
CSE-DEPSTAR(D23DCS147) CSE205-Data Communication and Networking
Exercise-1(Note: Start allocation IP address number from PC0)
Redraw above diagram which includes IP address and MAC address. Take IP address and MAC address as per
your knowledge. Insert image below.
● Ipconfig /all: apply command on command prompt and write parameters and values in the following
table.
PC0
Parameter Value
Physical Address 60-18-95-56-26-3B
Link-Local IPv6 Address fe80::1491:b65c:d56a:c53b%19
IPv6 Address 2409:40c1:a:634c:5af:d387:18c6:97d2
Page No:
CSE-DEPSTAR(D23DCS147) CSE205-Data Communication and Networking
IPv4 Address 192.168.11.1
Subnet Mask 255.255.255.0
Default Gateway 0.0.0.0
DHCP Servers 192.168.170.254
DHCPv6 IAID 754995286
DHCPv6 Client DUID 00-01-00-01-29-8A-3D-40-60-18-95-
56-26-3B
DNS Servers 192.168.158.115
● Arp –a: before ping, write output of command from PC0 and PC1 computers
PC0
Parameter Value
Link local IPV6 Address 60-18-95-56-26-3B
IP address 10.0.0.1
Subnet Mask 255.0.0.0
Default Gateway 0.0.0.0
PC1
Parameter Value
Link local IPV6 Address 60-18-95-56-26-3B
IP address 10.0.0.2
Subnet Mask 255.0.0.0
Default Gateway 0.0.0.0
Page No:
CSE-DEPSTAR(D23DCS147) CSE205-Data Communication and Networking
● Ping from PC0 to PC1 and vice versa and insert snap of output here.
PC0:-
PC1:-
Page No:
CSE-DEPSTAR(D23DCS147) CSE205-Data Communication and Networking
● Arp –a: after ping, insert snap (below) of output of command from all computers
● PC0
● PC1
Page No:
CSE-DEPSTAR(D23DCS147) CSE205-Data Communication and Networking
------------------------------------------------------------------------------------------------------------
Page No:
CSE-DEPSTAR(D23DCS147) CSE205-Data Communication and Networking
Exercise-2: (Note: Start allocation IP address number from PC0)
Redraw above diagram which includes IP address and MAC address. Take IP address and MAC address as per your
instruction. Insert image below.
● Ipconfig /all: apply command on command prompt and write parameters and values in following table.
PC0
Parameter Value
Physical Address 0001.9639.8002
Link local IPV6 Address FE80::201:96FF:FE39:8002
IP address 142.0.0.1
Subnet Mask 255.255.0.0
Default Gateway 0.0.0.0
DNS Servers 0.0.0.0
DHCP Servers 0.0.0.0
DHCPv6 Client DUID 00-01-00-01-56-BB-E2-1D-00-01-96-3
9-80-02
PC1
Parameter Value
Physical Address 00D0.BA83.CD36
Link local IPV6 Address FE80::2D0:BAFF:FE83:CD36
IP address 142.0.0.2
Page No:
CSE-DEPSTAR(D23DCS147) CSE205-Data Communication and Networking
Subnet Mask 255.255.0.0
Default Gateway 0.0.0.0
DNS Servers 0.0.0.0
DHCP Servers 0.0.0.0
DHCPv6 Client DUID 00-01-00-01-7C-BE-B4-2D-00-D0-BA-
83-CD-36
PC2
Parameter Value
Physical Address 0060.4706.6A81
Link local IPV6 Address FE80::260:47FF:FE06:6A81
IP address 142.0.0.3
Subnet Mask 255.255.0.0
Default Gateway 0.0.0.0
DNS Servers 0.0.0.0
DHCP Servers 0.0.0.0
DHCPv6 Client DUID 00-01-00-01-27-00-E5-2C-00-60-47-06
-6A-81
PC3
Parameter Value
Physical Address 0001.430D.EDB6
Link local IPV6 Address FE80::201:43FF:FE0D:EDB6
IP address 142.0.0.4
Subnet Mask 255.255.0.0
Default Gateway 0.0.0.0
DNS Servers 0.0.0.0
DHCP Servers 0.0.0.0
DHCPv6 Client DUID 00-01-00-01-8A-47-87-EA-00-01-43-0
D-ED-B6
Page No:
CSE-DEPSTAR(D23DCS147) CSE205-Data Communication and Networking
● Arp –a: before ping write/snap of output of command from all computers
● Ping from PC0 to PC1 and vice versa and get the output here.
PC0:
Page No:
CSE-DEPSTAR(D23DCS147) CSE205-Data Communication and Networking
● PC1
Page No:
CSE-DEPSTAR(D23DCS147) CSE205-Data Communication and Networking
● Arp –a: after ping write/snap of output of command from all computers
PC0
PC1
Page No:
CSE-DEPSTAR(D23DCS147) CSE205-Data Communication and Networking
PC2
PC3
Page No:
CSE-DEPSTAR(D23DCS147) CSE205-Data Communication and Networking
----------------------------------------------------------------------------------------------------------------
Page No:
CSE-DEPSTAR(D23DCS147) CSE205-Data Communication and Networking
Exercise-3 (Note: Start allocation IP address number from PC0)
Redraw above diagram which includes IP address and MAC address. Take IP address and MAC address as per
your instruction. Insert image below.
PC0
Link local IPV6 Address FE80::2D0:BCFF:FEE3:EB4B
IP address 10.0.0.1
Subnet Mask 255.0.0.0
Default Gateway 0.0.0.0
PC1
Parameter Value
Link local IPV6 Address FE80::20C:CFFF:FE5E:1457
IP address 10.0.0.2
Subnet Mask 255.0.0.0
Default Gateway 0.0.0.0
● Ipconfig /all: apply command on command prompt and write parameters and values in following table
PC0
Parameter Value
Physical Address 00D0.BCC9.CD7E
Page No:
CSE-DEPSTAR(D23DCS147) CSE205-Data Communication and Networking
Link local IPV6 Address FE80::2D0:BCFF:FEC9:CD7E
IP address 142.0.0.1
Subnet Mask 255.255.0.0
Default Gateway 0.0.0.0
DNS Servers 0.0.0.0
DHCP Servers 0.0.0.0
DHCPv6 Client DUID 00-01-00-01-19-13-00-C9-00-D0-BC-C
9-CD-7E
PC1
Parameter Value
Physical Address 000A.F3A9.D516
Link local IPV6 Address FE80::20A:F3FF:FEA9:D516
IP address 142.0.0.2
Subnet Mask 255.255.0.0
Default Gateway 0.0.0.0
DNS Servers 0.0.0.0
DHCP Servers 0.0.0.0
DHCPv6 Client DUID 00-01-00-01-E8-1B-81-BB-00-0A-F3-
A9-D5-16
● Arp –a: before ping write/snap of output of command from all computers
● Ping from PC0 to PC1 and vice versa and get the output here.
PC0 to PC1
Page No:
CSE-DEPSTAR(D23DCS147) CSE205-Data Communication and Networking
PC1 to PC0
● Arp –a: after ping write/snap of output of command from all computers
Page No:
CSE-DEPSTAR(D23DCS147) CSE205-Data Communication and Networking
Page No:
CSE-DEPSTAR(D23DCS147) CSE205-Data Communication and Networking
Page No: