Day 4 Notes - owenkelly14/Net150 GitHub Wiki
ROUTING
Routers are devices that transfer packets between different networks
No router = no post offices
Switching is Layer 2
Switches keep track of MAC addresses and the ports they are on Will forward packets to the appropriate port based on MAC
Routing is Layer 3
Builds table of Network IDs and the IP of the next router in that direction Does not need to know the whole path- just next router!
Routing Tables
At a minimum, router tables need to have: Network Address: The address of a network Subnet Mask: The subnet mask for that network – so it knows how many bits are in the Net ID Next Hop: IP address of a neighboring router it can send the packet it to to reach the network Interface: Which of the routers own physical interfaces it can send the packet out of to reach the Next Hop