Computer Networks And Internet Protocol - Week 8 Assignment 8 | NPTEL | JAN 2023

Computer Networks And Internet Protocol - Week 8 | Assignment : Answer with Explanation

Computer Networks And Internet Protocol - Week 8 Assignment 8  NPTEL  JAN 2023

How Many classes exist in classful addressing of IPs ?

a. 2
b. 5
c. 3
d. 5
Answer

b. 5
The classful addressing of IP addresses is an older addressing scheme that has been replaced by the classless addressing scheme. However, the classful addressing scheme defined five classes of IP addresses, which are commonly known as Class A, Class B, Class C, Class D, and Class E.

What is an IP routing table used for in computer networks?

A. To determine the physical location of a device
B. To identify the next hop for an IP packet
C. To encrypt IP packets for secure transmission
D. To filter incoming packets based on their source address
Answer

B. To identify the next hop for an IP packet

What is the difference between intra-domain routing and inter-domain routing?

A. Intra-domain routing is used within a single network, while inter-domain routing is used between different networks.
B. Intra-domain routing is used between different networks, while inter-domain routing is used within a single network.
C. Intra-domain routing is used to forward IP packets, while inter-domain routing is used to manage network traffic.
D. Intra-domain routing and inter-domain routing are two different terms for the same thing
Answer

A. Intra-domain routing is used within a single network, while inter-domain routing is used between different networks.
Intra-domain routing, also known as Interior Gateway Protocol (IGP), is used to exchange routing information within a single autonomous system (AS) or network. Examples of IGP protocols include OSPF, IS-IS, and RIP. IGP protocols allow routers within a single network to communicate with each other and share information about the network topology.

Inter-domain routing, also known as Exterior Gateway Protocol (EGP), is used to exchange routing information between different autonomous systems (ASes) or networks. Examples of EGP protocols include Border Gateway Protocol (BGP) and Exterior Gateway Protocol (EGP). EGP protocols allow routers in different networks to communicate with each other and exchange information about how to reach different networks.

In summary, the key difference between intra-domain routing and inter-domain routing is the scope of the network over which routing information is exchanged. Intra-domain routing is used within a single network, while inter-domain routing is used between different networks.

Which routing protocol is used for intra-domain routing in the Internet?

A. Border Gateway Protocol (BGP)
B. Routing Information Protocol (RIP)
C. Open Shortest Path First (OSPF)
D. Enhanced Interior Gateway Routing Protocol (EIGRP)
Answer

C. Open Shortest Path First (OSPF)
Popular Protocols of this routing are RIP(resource information protocol) and OSPF(open shortest path first).

Which type of routing protocol uses the Bellman-Ford algorithm to calculate the best path for forwarding IP packets?

A. Link-state routing protocol
B. Distance-vector routing protocol
C. Hybrid routing protocol
D. Path-vector routing protocol
Answer

B. Distance-vector routing protocol

Consider a network with three routers, A, B, and C. The routing table for router A has the following entries:
Destination: 192.168.1.0/24, Next Hop: B
Destination: 192.168.1.128/28, Next Hop : D
Destination: 192.168.2.0/24, Next Hop: C
If router A receives an IP packet with a destination address of 192.168.1.10, what will be the next hop for this packet?

A. D
B. B
C. C
D. None of the Above
Answer

B. B

For the following network, what will be the routing table for C, if we use link-state routing ?

a. To NestHop
AB
BB
DD
EB

B.
To NextHop
AB
BB
DE
EE

C. 
To NextHop
AB
BB
DE
EA

D.
To NextHop
AB
BB
DB
EB  
Answer
a. To NestHop
AB
BB
DD
EB

Which of the following datastructures are used for speeding up the Longest Prefix Matching based Forwarding algorithms in routers?

a. Double Linked List
b. Segment Trees
c. Red Black Trees
d. Patricia Trees
Answer

d. Patricia Trees

Suppose we have n number of routes in a routing table. A Packet bearing a certain IP arrives at the router and requires it to be routed to the appropriate next hop location. Assuming that the router maintains a Patricia Tree for the routing table and we are using IPV4 addresses, what is the time complexity of this forwarding?

a. O(n^2)
b. O(n)
c. O(32)
d. O(logn)
Answer

c. O(32)

BGP communication packet types are

a. SYNC, OPEN, UPDATE, NOTIFICATION
b. OPEN, UPDATE, NOTIFICATION, KEEPALIVE
c. SYNC, FINISH, NOTIFICATION, KEEPALIVE
d. FINISH, OPEN, UPDATE, NOTIFICATION
Answer

b. OPEN, UPDATE, NOTIFICATION, KEEPALIVE
OPENN: This message type establishes a BGP session between two peer nodes.
UPDATE: This message type transfers routing information between GP peers.
NOTIFICATION: This message is sent when an error condition is detected.
KEEPALIVE: This message determines if peers are reachable.

All assignments: Computer Networks And Internet Protocol | NPTEL

Disclaimer:
"This page contains multiple choice questions (MCQs) related to Computer Networks and Internet Protocols. The answers to these questions are provided for educational and informational purposes only.These answers are provided only for the purpose to help students to take references. This website does not claim any surety of 100% correct answers. So, this website urges you to complete your assignment yourself."

Computer Networks And Internet Protocol, Week 8: Assignment 8,noc23_cs48

Post a Comment

0 Comments