The figure below illustrates two subnet 1 and 2 where Si has
The figure below illustrates two subnet, $1 and $2, where Si has the prefix 192.16.123.0/24 and S2 has the prefix 192.16.87.0/24. The two subnets are connected to a router with addresses 192.16.123.1 and 192.16.87.1 on the two subnets respectively. On S_1 there is a computer D with adressl92.16.123.12 and on S_2 there is a computer E with address 192.16.87.66. Both subnets are using 48-bit IEEE 802 MAC addresses. The network interface on computer D has MAC address 10:2b:78:7c:de:6f and the network interface on computer E has MAC address c4:57:16:a8:lb:5a. The router has MAC address 8a:3a:c3:2b:67:47 on the network interface connected to S_1 and 2c:b1:59:54:48:ca on the network interface connected to S_2. Consider an IP packet sent from computer D to computer E. The packet will first pass over S_1 and then over S_2. What are the address fields at IP and MAC levels when the packet travels on S_1 and S_2 respectively? On S_1: source IP address On S_1: destination IP address On S_2: source IP address On S_2: destination IP address On S_1: source MAC address On S_1: destination MAC address On S_2: source MAC address On S_2: destination MAC address
Solution
On S1: source IP address: 192.16.123.12
On S1: destination IP address: 192.16.123.1
On S2: source IP address: 192.16.87.1
On S2: destination IP address: 192.16.87.66
On S1: source MAC address: 10:2b:78:7c:de:6f
On S1: destination MAC address: 8a:3a:c3:2b:67:47
On S2: source MAC address: 2c:b1:59:54:48:ca
On S2: destination MAC address: c4:57:16:a8:1b:5a
