Final answer:
The answer provides assignments of IP and MAC addresses for the given network setup, explains the steps to send an IP datagram from Host E to Host B, and repeats the steps assuming an empty ARP table on Host E.
Step-by-step explanation:
a. Assigning IP addresses to all of the interfaces:
- Subnet 1: 192.168.1.1 (Router 1 Interface), 192.168.1.2 (Host A Interface)
- Subnet 2: 192.168.2.1 (Router 1 Interface), 192.168.2.2 (Router 2 Interface), 192.168.2.3 (Host B Interface)
- Subnet 3: 192.168.3.1 (Router 2 Interface), 192.168.3.2 (Host C Interface), 192.168.3.3 (Host D Interface), 192.168.3.4 (Host E Interface)
b. Assigning MAC addresses to all of the adapters:
- Host A: MAC1
- Host B: MAC2
- Host C: MAC3
- Host D: MAC4
- Host E: MAC5
- Router 1 Interface: MAC6
- Router 2 Interface: MAC7
c. Steps to send an IP datagram from Host E to Host B:
- Host E checks if Host B is on the same subnet by comparing the destination IP address with its own subnet mask.
- If Host B is on a different subnet, Host E sends the IP datagram to its default gateway (Router 2 Interface).
- Router 2 checks its routing table and forwards the IP datagram to Router 1 Interface.
- Router 1 checks its routing table and forwards the IP datagram to Host B.
- Host B receives the IP datagram.
d. Steps to send an IP datagram from Host E to Host B with an empty ARP table on Host E:
- Host E checks if Host B is on the same subnet by comparing the destination IP address with its own subnet mask.
- Since Host E's ARP table is empty, Host E uses the Address Resolution Protocol (ARP) to discover the MAC address of its default gateway (Router 2 Interface).
- Host E sends an ARP request to discover the MAC address of Router 2 Interface.
- Router 2 Interface receives the ARP request and sends an ARP reply with its MAC address.
- Host E now knows the MAC address of Router 2 Interface and sends the IP datagram to it.
- Router 2 forwards the IP datagram to Router 1 Interface.
- Router 1 forwards the IP datagram to Host B.
- Host B receives the IP datagram.