1. IP addressing. a. Write the IP address 129.17.129.97 in its binary form. b. C
ID: 3607474 • Letter: 1
Question
1. IP addressing. a. Write the IP address 129.17.129.97 in its binary form. b. Consider an IP subnet with prefix 129.17.129.97/27. Provide the range of IP addresses (of form xxx.xxx.xxx.xxx to yyy.yyy.yyy.yyy) that can be assigned to this subnet Suppose an organization owns the block of addresses of the form 297.129.97/27. Suppose it wants to create four IP subnets from this block, with each block having the same number of IP addresses. What are the prefixes (of form xxx.xxx.xxx/y) for the four IP subnets? c. 2. Longest prefix matching. Consider a datagram network using 32-bit host addresses. Suppose that a router has three interfaces, numbered 0 through 2 and that packets are to be forwarded to these link interfaces as follows. Any address not within the ranges in the table below should not be forwarded to an outgoing link interface. Create a forwarding table using longest prefix matching Destination address range Outgoing link interfoce through 01010101 00000000 00000000 00000000 through 01010110 00000000 00000000 00000000 throughExplanation / Answer
Solution:
4. Do routers have IP address? If so how many?
Routers also have IP addresses just like any other system. It has 2 IP addresses one just to address LAN(Local Area Network) and another for WAN(Wide Area Network). LAN IP will be set default by manufacturers but WAN IP will be assigned dynamically by cable modem.
5. What field in IP header can be used to ensure that a packet is forwarded through no more than N routers?
The TTL field in IP header can be used to ensure that a packet is forwarded through no more than N routers. It is initially set to a number N and decremented by every router that is passed through. When TTL reaches 0 the packet is discarded.
6. Differences b/w forwarding and routing functions in network layer.
Routing means finding a suitable path for a packet from sender to destination while Forwarding is the process of sending the packet toward the destination based on routing information. Routing is just an algorithm to find the shortest path whereas Forwarding is the function of executing the algorithm.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.