1. To which of the following subnets does IP address 225.3.2.22 belong?
225.3.2.0/24 |
||
225.3.2.22/24 |
||
225.2.3.0/24 |
||
225.0.0.0/24 |
||
none of the above |
Question 2
On which of the following devices does the transport layer NOT run?
laptop |
||
router |
||
cellphone |
||
A, B and C |
||
none of the above |
Question 3
What is the source address contained in the discover message sent by a host that is wanting to obtain an IP address?
255.255.255.255 |
||
0.0.0.0 |
||
the IP address of the server |
||
the last IP address that the host used. |
||
none of the above |
Question 4
Which of the following is MOST TRUE regarding routing?
It determines the end to end path that a packet takes from source to destination |
||
It is a network wide process |
||
The timescale it longer than that of forwarding |
||
A, B and C |
||
None of the above |
Question 5
With reference to the DHCP protocol, which of the following messages will be sent by a DHCP server with details of a proposed IP address that the host can use?
Discover message |
||
Offer message |
||
Request message |
||
Acknowledgement message |
||
None of the above |
Question 6
Suppose datagrams are limited to 1500 bytes (including the header). Assume each header is 20 bytes. How many datagrams are needed to send a file of 5 megabytes?
3333 |
||
3334 |
||
3379 |
||
3425 |
||
none of the above |
Question 7
Two packets arrive at input port 1 and input port 2 at exactly the same time and need to be forwarded to output port 9 and output port 10 respectively. Assuming no other packets are in the router, which of the following is TRUE?
The two packets can travel through the switch fabric at the same time when the fabric uses a shared bus for switching. |
||
The two packets can travel through the switch fabric at the same time when the fabric uses memory for switching. |
||
The two packets can travel through the switch fabric at the same time when the fabric uses a crossbar for switching. |
||
A, B and C |
||
none of the above |
Question 8
Which of the following functions does a routers import port perform?
Provides termination of the physical link |
||
Forwards controls packets to the routing processor |
||
Forwards packets to the correct output link |
||
A, B and C |
||
none of the above |
Question 9
In which DHCP message is the yiaddr value equal to 0.0.0.0
Discover message |
||
Offer message |
||
Request message |
||
Acknowledgement message |
||
None of the above |
Question 10
What advantage does switching via an interconnection network have over switching via memory or a shared bus?
It is always faster |
||
It can forward multiple packets in parallel |
||
It can forward multiple packets to the same output port at the same time |
||
A, B and C |
||
none of the above |
Question 11
A datagram of 5000 bytes arrives at a router and must be forwarded to a link with a MTU of 1500 bytes. The original datagram has a header of 20 bytes, with a 16 bit source IP address of 11111111 00000000 and an identification number of 1. What will be the source IP address of each segment?
Question 12
A datagram of 5000 bytes arrives at a router and must be forwarded to a link with a MTU of 1500 bytes. The original datagram has a header of 20 bytes, with a 16 bit source IP address of 11111111 00000000 and an identification number of 1. E) What header item is used to ensure fragments are assembled in the correct sequence
Question 13
Assume the forwarding table below exists at the input port. Using the longest prefix matching rule, identify the output link interface to which the following packet will be directed:Packet with destination IP address: 11110001 00011111 00111101 01110101
Prefix |
Link Interface |
11110000 00011111 001111 |
0 |
11110000 00011111 001111010 |
1 |
11110000 00011111 0010 |
2 |
Else |
3 |
Question 14
A datagram network uses 32-bit host addressing. Router X has 4 links, link 0, link 1, link 2 and link 3. Packets are forwarded to links as shown below. Provide the prefix that would exist in a forwarding table that could be used to forward packets to link 1 interface. Note: longest prefix matching is used.
Start destination address range |
End Destination address range |
Link Interface |
11100000 00000000 00000000 00000000 |
11100000 00000000 11111111 11111111 |
0 |
11100000 00000001 00000000 00000000 |
11100000 00000001 11111111 11111111 |
1 |
11100000 00000010 00000000 00000000 |
11100001 11111111 11111111 11111111 |
2 |
Others |
3 |
Question 15
A datagram network uses 32-bit host addressing. Router X has 4 links, link 0, link 1, link 2 and link 3. Packets are forwarded to links as shown below. Provide the prefix that would exist in a forwarding table that could be used to forward packets to link 0 interface. Note: longest prefix matching is used.
Start destination address range |
End Destination address range |
Link Interface |
11100000 00000000 00000000 00000000 |
11100000 00000000 11111111 11111111 |
0 |
11100000 00000001 00000000 00000000 |
11100000 00000001 11111111 11111111 |
1 |
11100000 00000010 00000000 00000000 |
11100001 11111111 11111111 11111111 |
2 |
Others |
3 |
As per Chegg answering guidelines, I'm answering only the first 4 parts:-
QUESTION 1:
Actually the IP 225.3.2.22 belongs to both the subnets 225.3.2.0/24 and 225.3.2.22/24 as the first 24 bits of the network id are the same. Furthermore, the subnets 225.3.2.0/24 and 225.3.2.22/24 are the same subnets but they are represented in CIDR format by different IPs. But generally, the host id part is kept as 0 to represent a network. So, the answer is 225.3.2.0/24.
QUESTION 2:
The transport layer will not work on a router because in router we only have three layers i.e, physical layer, data link layer, and network layer.
QUESTION 3:
The source IP will be 0.0.0.0 because the host does not have an IP address till now and it indicates that the source does not have an IP address and needs one.
QUESTION 4:
A, B & C all are correct in the case of routing.
1. To which of the following subnets does IP address 225.3.2.22 belong? 225.3.2.0/24 225.3.2.22/24 225.2.3.0/24 225.0.0.0/24...
Consider a datagram network using 32-bit host addresses. Suppose a router has four links, numbered 0 through 3, and packets are to be forwarded to the link interfaces as follows: Destination Address Range Link Interface 11100000 00000000 00000000 00000000 through 11100000 00111111 11111111 11111111 11100000 01000000 00000000 00000000 through 11100000 01000000 11111111 11111111 11100000 01000001 00000000 00000000 through 11100001 01111111 11111111 11111111 otherwise a. Provide a forwarding table that has five entries, uses longest prefix matching, and forwards packets to...
consider a datagram network using 24-bit hos address. Suppose a router has four links, numbered 0 through 3, and packets are to be forwarded to the link interfaces as follows: Destination Address Range Link Interface 11100000 00000000 00000000 0 through 11100000 000000111 11111111 Destination Address Range Link Interface 11100000 00000000 00000000 1 through 11100000 010000111 11111111 Destination Address Range Link Interface 11100001 01000000 00000000 2 through 11100001 01111111 11111111
This is computer network hw. it is very important and urgent too. 16. (7 points) Consider a datagram network using 32-bit host addresses. Suppose a router has four links, number 0 through 3, and packets are to be forwarded to the link interface as follows: Link Interface Destination Address Range 11001000 00010111 00010000 00000000 through 11001000 00010111 00010111 11111111 11001000 00010111 00011000 00000000 through 11001000 00010111 00011000 11111111 11001000 00010111 00011001 00000000 through 11001000 00010111 00011111 11111111 otherwise a) (4...
Consider a datagram network using 32-bit host addresses. Suppose a router has four links, numbered through 3, and packets are to be forwarded to the link interfaces as follows. Destination Address Range Link Interface 0 11101111010000000000000000000000 through 11101111111111111111111111111111 1 11101111010110000000000000000000 through 11101111010010011111111111111111 11101001 111110000000000000000000 through 11101001 111111111111111111111111 2 otherwise 3 a) Provide a forwarding table that has 4 entries, uses longest prefix matching, and forwards packets to the correct link interfaces. (4 pts) b) Describe how your forwarding table determines...
Final Cxa am CSIT 340 Computer Networks, fall 2018 received at the receiver b) Assume that we send a packet transmission delay? What's the total deluy et with 100 Mega bytes from one nade to the other. What's the isnoring queueing delay and nodal processing delay)? rors B. Wwhat's the meaning for (c) Calculate the Propagation value? e the Propugation Delay and Bandwidth product, Le, da te ale be forwarded to the link interfaces using the prefix entries tching" to...
(2 points) Consider a datagram network using 32-bit host addresses. Suppose a router has four links, numbered 0 through 3, and packets are to be forwarded to the link interfaces as follows: Prefix Match Link Interface 11100000 000 11100000 00100000 11100000 0011 11100000 00110001 10 Describe how your forwarding table determines the appropriate link interface for datagrams with destination addresses: 11000000 00110001 01010001 01010101 11100001 00100000 00010001 01110111
a) b) c) This chapter ("data plane") is all about forwarding packets at a router. Check all the statements that apply to Forwarding: Forwarding tables are computed by the control plane, in software. Forwarding tables are typically stored at every input port of a router. Forwarding tables are typically stored at every output port of a router. Forwarding tables are stored in the switching fabric. Destination-based forwarding means that we use the destination address of an IP datagram, to look...
Question 5 U/ 1.5 pts A transport-layer packet is called a datagram, which encapsulates a header and an application-layer message. True False Question 6 0/1.5 pts If the range of IP addresses is 01010110 000000000000000000000000 through 01010111 11111111 11111111 11111111, the longest prefix entry in the routing table would be 0101011 True False Question 7 0/1.5 pts It takes the router 100 milliseconds to push a 1,000-bit packet onto a link with 1,000 Kbps transmission rate. True False
Question 6 A router has the following routing table: Destination Address Range Link Interface 123.46.56.0/22 1 123.46.56.0/23 2 123.46.56.0/24 3 Otherwise 4 The router uses longest-prefix matching. On which interface will the router send each of the following received packets: Packet 1 with a destination: 123.46.56.1 Packet 2 with a destination: 123.46.56.2 Packet 3 with a destination: 123.46.56.3 Packet 4 with a destination: 123.46.56.4
comm & networks fund 12. (8pts) Change the following IP addresses from dotted- decimal notation to binary notation. a. 197.163.222.19 b. Show in details how to convert 197 into binary 13. (&pts) Change the following IP addresses from binary notation to dotted-decimal notation. a. 11011111 10110000 00011111 01011101 b. Show in details how to convert 01011101 into decimal 14. (6pts) Find the class of the following IP addresses (i.e., classful addressing) a. 11110111 11110011 10000111 11011101 b. 10101111 11000000 11110000...