A source sends a data packet to a destination as shows below
A source sends a data packet to a destination as shows below: H_n and H_1 are the IPv4 header and the frame header respectively. Both headers have the source and destination addresses (i.e.. source and destination IP in the IPv4 header, source and destination MAC in the frame header). The default TTL value is 32. Assume that initially the switch MAC address table is empty and source does not know the MAC address of the destination. What are the source and destination IP addresses, the value of TTL. and the source and destination MAC addresses in the data packet When it leaves the source computer (at stage 1)?. Before it enters the router (at stage 3)? After it leaves the router at stage 4 ? At the filial destination (at stage 5)? Does the switch change any addresses and/or TTL? Why ? After the switch receives the data packet (at stage 2). what is the content of the switch MAC address table?
Solution
A--> source : 131.16.1.10 and destination : 131.16.1.100 , MAC source address : 1111.2222.3333.4444 and destination address : 1111.2222.3333.7777
B --> source 131.16.1.25 and destination is 131.16.2.100
Mac source is 1111.2222.3333.5555 and destination is 1111.2222.3333.6666
D --> final stage source address is 131.16.1.100 and destination is 131.16.1.15/24, Mac source is 1111.2222.3333.6666 and destination is 1111.2222.3333.7777
E --> No , MAc address is unique , if switches are in layer 2 ,the frames are switched without any changes.
F --> If the data traffic\'s is empty then Mac address table will be empty.
