(warning: this is an old exam question, for which I don't have a solution):
Assume 2 local networks LAN1 and LAN2, with Endsystems A,C in LAN1 and B,D in LAN2. The networks are coupled with a bridge. Assume A wants to send a TCP Frame to B. Which address information does it need to contain? List all headers of OSI Layers 2-4, take sender and receiver into account.
What my solution would be:
TCP Port A -> IP-A -> Mac-A -> Mac-Bridge -> Mac-B -> IP-B -> TCP-Port-B is that correct?
If I used a Router instead of the bridges and LAN1 and LAN2 are seperate IP-Subnetworks, would the difference be:
TCP Port A -> IP-A -> Mac-A -> Mac-Bridge -> IP-Bidge-> Mac-Bridge -> Mac-B -> IP-B -> TCP-Port-B?
Or what would change here? Am I understanding this correctly?