Week 5 Notes - WanderlustPenguin/Charles-Tech-Journal GitHub Wiki

Lectures

  • Needed for routing: IP addresses help us find devices outside the network, subnet mask helps us find network

  • inside and outside IPs exist, outside is for the world, inside is for inside the network

  • Switches and hubs are typically the first number of a subnet mask ex. xxx.xx.xx.1

  • Class A network: big business, university, government, small network larger hosts

  • Class B network: medium network, medium hosts

  • Class C network: others, large network, smaller hosts

  • routing table: includes IP, Port, and the number of router hops it takes to get there(if directly connected it's 0 not 1)

  • subnet mask influences network ID, if a segment is 0 on the subnet mask other than the last one, it's 0 on the network ID because it's off

  • ARP: you have an IP and you want an MAC, if ARPing a default gateway you get the router, same if you ARP anything outside the network

  • Layer 3 switches can act as routers


Lab

Make sure all router port IPs actually match what they connect to, and don't mix up the connections

the router port IPs are the default gateway for the connected network

If nothing else works, disconnect and reconnect the devices

To connect with a router you need to make sure all the devices have the correct default gateway that matches the router port, and an appropriate IP address.