Nt1310 Unit 3 Assignment 1 Pdf

570 Words2 Pages

QUES 1. A router has the following CIDR entries in the routing table: Address/Mask Next Hop 135.46.56.0/22 Interface 0 135.46.60.0/22 Interface 1 192.53.40.0/23 Router 1 Default Router 2 For each of the following IP addresses, what does the router do if a packet with that address arrive? 1. 135.46.63.10 Ans: The router will check the routing entry starting with the longest prefix (/23), 192.53.40.0/23. /23 mean network address is 23 bit and the corresponding network mask is 255.255.255.0. 135.45.63.10 and 255.255.254.0 = 135.45.62.0 != 192.53.40.0 therefore this entry does not match. Next longest prefix is /22. 135.45.63.10 and 255.255.252.0=135.45.60.0. it matches 135.45.60.0/22 routing entry, therefore that packet will be routed out over …show more content…

3. 135.46.52.2 Ans: The given address is lower than 135.45.56.0/22. The default route will be used and the packets will be routed out over router 1. 4. 192.53.40.7 Ans: 192.53.40.7 and 255.255.254.0= 192.53.40.0. it matches 192.53.40.0/23 routing entry and the packet will be routed out over router 1. 5. 192.53.56.7 Ans: 192.53.56.7 and 255.255.254.0 = 192.53.56.0. The default route will be used and that packet will be routed out over router 2. QUES 2. A Large number of consecutive IP address are available starting at 198.16.0.0. Suppose that four organizations, A, B, C, D request 4000, 2000, 4000, and 8000 addresses, respectively, in that order. For each of these, give a. the first IP address assigned, b. the last IP address assigned c. and the mask in the w.x.y.z/s …show more content…

Therefore, • its network mask should be 198.16.01100000/19, or 198.16.96.0/19 • its first IP address assigned is 198.16.96.1 • its last IP address assigned is 198.16.01111111.01000001 or 198.16.127.65 QUES 3. PPP is closely based on HDLC, which uses bit stuffing to prevent accidental flag bytes with the payload from causing confusion. Give one reason why PPP uses byte stuffing instead of bit stuffing? The PPP was clearly designed to be implemented in software, not in hardware as bit-stuffing protocols. With a software implementation, working entirely with bytes is much simpler than working with individual bits. In addition, PPP was designed to be used with modems, and modems accept and transmit data in units of 1 byte, not 1

More about Nt1310 Unit 3 Assignment 1 Pdf

Open Document