- Jan 21, 2005
- 6,023
- 0
- 0
I've been confused about this forever.
When one host is sending info to another host, I'm confused about the layer 2 and 3 addressing.
SETUP:
Host_A MAC: AAAA-AAAA-AAAA NIC IP: 192.168.102.2
Host_B MAC: BBBB-BBBB-BBBB NIC IP: 192.168.101.2
Router_1 MAC: 1111-1111-1111 SERIAL0 IP: 192.168.1.1 ETHERNET0 IP: 192.168.101.1
Router_2 MAC: 2222-2222-2222 SERIAL1 IP: 192.168.1.2 ETHERNET1 IP: 192.168.102.1
So as you can see, it goes:
HOST_A ===Ethernet=== ROUTER_1 ---Serial--- ROUTER_2 ===Ethernet=== HOST_B
I know that the layer 2 frame is stripped on each hop and replaced. What I'm not sure about is when does the Layer 2 destination/source address change? When does the Layer 3 destination/source address change?
Could someone give me a play by play please? Assuming a packet was being transferred from HOST_A to HOST_B?
When one host is sending info to another host, I'm confused about the layer 2 and 3 addressing.
SETUP:
Host_A MAC: AAAA-AAAA-AAAA NIC IP: 192.168.102.2
Host_B MAC: BBBB-BBBB-BBBB NIC IP: 192.168.101.2
Router_1 MAC: 1111-1111-1111 SERIAL0 IP: 192.168.1.1 ETHERNET0 IP: 192.168.101.1
Router_2 MAC: 2222-2222-2222 SERIAL1 IP: 192.168.1.2 ETHERNET1 IP: 192.168.102.1
So as you can see, it goes:
HOST_A ===Ethernet=== ROUTER_1 ---Serial--- ROUTER_2 ===Ethernet=== HOST_B
I know that the layer 2 frame is stripped on each hop and replaced. What I'm not sure about is when does the Layer 2 destination/source address change? When does the Layer 3 destination/source address change?
Could someone give me a play by play please? Assuming a packet was being transferred from HOST_A to HOST_B?
