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

Lectures

  • Dynamic Routing: routers that can change the routes over time, used by smarter computers, they do this by telling each other what networks each router can access
  • For static you need Net address, Subnet mask, and next hop IP
  • interior gateway protocols are LAN to LAN, in smaller network, they are private, dynamic and static routing happen here
  • exterior gateway protocols are for things like going from LAN to the internet, they are public, also applies for going LAN to LAN over public infrastructure
  • Dynamic routes can be distant vector/link or link state protocol
  • Link state protocols: dynamic and interior, if the router link changes(i.e a new network) or there is an interruption in the network than the affected routers tell their neighbors what they can access, uses OSPF
  • distant vector/link: send new router tables if anything is new every certain period of time, can slow the network, very noisy, contains RIP routing
  • RIP routing: configuring your router to tell it which networks are directly connected to it
  • Open Slash Pass First:
  • static routing is hardcoded into router
  • dynamic routing adapts based on what it can access
  • using Layer 2 information via switches makes it easier and faster to create smaller networks
  • tag based: information gets tagged by switches so every switch can identify what it is and put it on it's own LAN
  • port based: separating things into smaller networks based on what port the device is plugged into on a switch 1-12 are VLAN/Network A, 13-24 are VLAN/Network B, each VLAN only shows the interaction of that, one downside is increased switch maintenance and therefore router maintenance
  • VLAN: separating networks, creating a network within a network, can make any IP address you want in a VLAN
  • VLAN database: located on a switch, used to make VLAN, add number and description
  • to connect PCs to VLAN: go to each port, hit the number across from the access button, and select the number VLAN you want that port to access
  • Change a gigabit port from access to trunk, and then a connection can be made between different switches
  • by using trunk ports and switches you can avoid using any routers besides accessing the internet, regardless of how many smaller networks you make, though extra steps must be taken to communicate between VLANs

Labs


Commands

  • #enable
  • #config terminal
  • #route rip
  • #version 2
  • #network (network numbers): the above are how you input RIP routing directly connected routers into the router