Week 4 Notes - WanderlustPenguin/Charles-Tech-Journal GitHub Wiki
Lectures
- ARP operates on the LAN
- IP address is 32 bit, also called logical address
- Subnet mask tells you what network it is on and the device ID
- default Gateway- Router IP, Gateway, how to get out of the network, where computers send their data, A subnet mask is a 32-bit number created by setting host bits to all 0s and setting network bits to all 1s, dividing an IP address into two parts. One part identifies the host (computer), the other part identifies the network.
Lab
-
when building a network give all computers a unique IP address and a non unique net mask
-
connect the computers to the router/switch with ethernet cables
-
have the computers ping each other to make sure they're properly connected
-
record the MAC addresses for every device
-
when pinging in packet tracer use the closed envelope at the top of the page instead of the ping command for each computer
-
to crate a default gateway IP you go into a devices config, hit settings, and input the desired number
-
you then repeat the same on a multilayer switch or router, matching the gateway of specific port with the device it connects to by going to the relevant ethernet connection
-
you enter simulation mode by hitting the simulation button in the bottom right corner
-
you can choose what packets you see by clicking the edit files button and making sure that only the ones you want to see have checkmarks, easily done by hitting the show all/none button right next to the edit files and then going to the edit files and clicking the the type of packet you want to see
-
in simulation mode you need to intentionally activate time and have a section on the top right that shows you when different things occurred, which you can click on to look at the packet details. You can also filter the packet section.
-
Router ports need to be turned on
-
you can save router configurations by going to the configuration tab and then hitting save NVRAM
Commands
- show mac-address-table: shows the MAC of devices connected to a network
- tracert: shows the steps of the ping between two devices, good for finding where a ping fails