0% found this document useful (0 votes)
37 views

Assignment 3 CCN

Here are the steps to build the routing table for node A using the link state routing algorithm: 1. Node A discovers all its directly connected neighbors which are B and D. It generates link state advertisements (LSAs) containing the cost of the links to these neighbors. 2. Node A floods its LSA to all other nodes in the network. Similarly, nodes B, C, and D will generate their own LSAs and flood them. 3. Once all LSAs are received by all nodes, they have the complete link state database which contains the topology of the entire network. 4. Node A runs the Dijkstra's shortest path first (SPF) algorithm on the link state database to calculate

Uploaded by

Usama Farooq
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views

Assignment 3 CCN

Here are the steps to build the routing table for node A using the link state routing algorithm: 1. Node A discovers all its directly connected neighbors which are B and D. It generates link state advertisements (LSAs) containing the cost of the links to these neighbors. 2. Node A floods its LSA to all other nodes in the network. Similarly, nodes B, C, and D will generate their own LSAs and flood them. 3. Once all LSAs are received by all nodes, they have the complete link state database which contains the topology of the entire network. 4. Node A runs the Dijkstra's shortest path first (SPF) algorithm on the link state database to calculate

Uploaded by

Usama Farooq
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

COURSE: Computer Communications and Network semester: FALL 2021

Assignment 3

1. What is the number of bits in an IPv4 address? What is the number of bits in an
IPv6 address?
2. What is dotted decimal notation in IPv4 addressing? What is the number of bytes
in an IPv4 address represented in dotted decimal notation? What is hexadecimal
notation in IPv6 addressing? What is the number of digits in an IPv6 address represented
in hexadecimal notation?
3. What are the differences between classful addressing and classless addressing in IPv4
4. List the classes in classful addressing and define the application of each class (unicast,
multicast, broadcast, or reserve).
5. Explain why most of the addresses in class A are wasted. Explain why a medium-size
or large-size corporation does not want a block of class C addresses.
6. Change the following IP addresses from dotted-decimal notation to binary notation.
a. 114.34.2.8
b. 129.14.6.8
c. 208.34.54.12
d. 238.34.2.1
7. Change the following IP addresses from binary notation to dotted-decimal notation.
a. 01111111 11110000 01100111 01111101
b. 10101111 11000000 11111000 00011101
c. 11011111 10110000 00011111 01011101
d. 11101111 11110111 11000111 00011101
8. Find the class of the following IP addresses.
a. 208.34.54.12
b. 238.34.2.1
c. 114.34.2.8
d. 129.14.6.8

9. Find the netid and the hostid of the following IP addresses.


a. 114.34.2.8
b. 132.56.8.6
c. 208.34.54.1
10. In a block of addresses, we know the IP address of one host is 25.34.12.56/16.
What are the first address (network address) and the last address (limited broadcast
address) in this block?
11. In a block of addresses, we know the IP address of one host is 182.44.82.16/26.
What are the first address (network address) and the last address in this block?
12. An organization is granted the block 16.0.0.0/8. The administrator wants to create
500 fixed-length subnets.
a. Find the subnet mask.
b. Find the number of addresses in each subnet.
c. Find the first and last addresses in subnet 1.
d. Find the first and last addresses in subnet 50
13. An organization is granted the block 130.56.0.0/16. The administrator wants to
create 1024 subnets.
a. Find the subnet mask.
b. Find the number of addresses in each subnet.
c. Find the first and last addresses in subnet 1.
d. Find the first and last addresses in subnet 1024.
14. Write the following masks in slash notation (In).
a. 255.255.255.0
b. 255.0.0.0
c. 255.255.224.0
d. 255.255.240.0
15. Find the range of addresses in the following blocks.
a. 123.56.77.32/29
b. 200.17.21.128/27
c. 17.34.16.0/23
d. 180.34.64.64/30

Problem: Give the distance vector table for networks shown below when
Problem: Give the steps for forward search algorithm using link state routing as it build the routing table
for node A in the network shown

You might also like