oneciscokid
Technical User
I'm having trouble understanding how the following Frame is created. Let's say for example you're a home user behind a router running NAT with the following configuration.
IP: 192.168.1.100
Subnet Mask: 255.255.255.0
Gateway: 192.168.1.1
MAC_Address: 00:00:00:11:11:11
MAC_Address of the Gateway: 55:55:55:66:66:66
Let's say you want to visit and DNS resolution has already been done so the webpage is at 64.233.187.99.
In the IP Header, source is 192.168.1.100 and destination is 64.233.187.99 which I understand. Now we put on the Ethernet Header. So the source MAC address is 00:00:00:11:11:11 but the MAC address for the destination is 55:55:55:66:66:66. I know it can't be the MAC address of 64.233.187.99 because it's not on the same network therefore it can't find it through ARP. But I'm wondering why is the MAC address the default gateway then? What is the process that it goes through to put it in?
IP: 192.168.1.100
Subnet Mask: 255.255.255.0
Gateway: 192.168.1.1
MAC_Address: 00:00:00:11:11:11
MAC_Address of the Gateway: 55:55:55:66:66:66
Let's say you want to visit and DNS resolution has already been done so the webpage is at 64.233.187.99.
In the IP Header, source is 192.168.1.100 and destination is 64.233.187.99 which I understand. Now we put on the Ethernet Header. So the source MAC address is 00:00:00:11:11:11 but the MAC address for the destination is 55:55:55:66:66:66. I know it can't be the MAC address of 64.233.187.99 because it's not on the same network therefore it can't find it through ARP. But I'm wondering why is the MAC address the default gateway then? What is the process that it goes through to put it in?