1/25
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
physical layer
physical devices of our computer.
this includes the cables and its specifications
purpose to transmit 1s and 0s across cables through a proccess call modulation which can access if a bit is a 1 or zero by the voltage of the electric charge
data link layer
deliver locally
responsible for traversing data on the same network. (ethernet, WIFI)
Network layer
the layer where all the networks communicate with each other
transport layer
target app
makes sure that data is getting to the right server (app)
two main category of wires
copper and fiber
crosstalk
a single transmitted from one wire interfers with a single from an adjacent wire
switch
a physical hardware that connects multiple devices in a network. (Data Link Layer) and it forwards data packets to its intended destination. Reduces collision domain
inspects ethernet data to determine where to send things
Collision Domain
When more that one device sends data packets simutanelously across a wire so their signals can collide causing data corruption and collision of the electirc current sedning our ones and zeros
routers
A hardware that connects multiple devices to multiple networks by forwarding data packets to its intended destination by analysising the IP protocol
routers use routing tables
ISP have more sophsticated routers
duplex communication
data can travel in both directions simutaneously
socket programming
The process of connecting two nodes over a network to communicate with each other
CSMA/CD
Collision Detection
A ethernet protocol that determines when communication channels are free and when devices are free to transport data
if a collision domain occurs (2 or more devices transmitting data on the same network segment) then in this protocol it will stop all communications of devices and make the devices wait a random interval of time (different times) to then resume transport
Ethernet broadcast
data that is sent to every device on a LAN
data packet
a container that contains a set of binary data that is being sent across a network segment
mac address
A unique 12 digit hexadecimal number used for communicating on LAN (local area networks)
more suitable on local networks when trying to send data packets because there is no system to know where a MAC address is geographically
MAC addresses will always be the same no matter where you are
dotted decimal notation
IP addresses are 32 bit long numbers. Made up of 4 octets
12.34.56.78
IP address
IP addresses belong to the network not devices so it will not always remain the same
a valid ip address is a number between 0 and 255
DHCP
Dynamic host configuration protocol
when a new devices is connected to the internet the DHCP gives the device and IP address.
these are dynamic IP addresses
dynamic ip address vs static IP address
dynamic IP addresses is when the DHCP give a devices an IP address
and static IP addresses is when you manually provide IP address to the node. usually reserved for networks and servers
what are data packets called on the ethernet layer
ethernet frames
what are data packets called in the network layer
IP datagrams
What is in a datagram
datagram consits of two things header and payload:
header has
- the source and destination IP
- the size of the datagram
- specifies the protcol that will be used in the next layer (TCP or UDP)
- TTL (Time To Live) prevents routing loop
payload:
- the actual contents/data of the datagram
- its job is the carry the contents to the next layer by using the contents from the header this process is called encapsulation
because once a datagram is fully formed it needs to be encapsulated into a ethernet frame
fragmentation
the process of breaking datagrams into smaller sizes if the payload exceed the max size specification that the network allows and apon arrival it is put back together
List the address classes
Class A: the first octet is the network ID the rest is the host ID: 9.100.100.100 (9 Net Id rest Host Id)
Class B: the first two octet is the network ID the rest is the host ID
Class C: the first three octet is the network ID the rest is the host ID
Think of the first octet (the first number) in an IP address like a label on a box:
Class A Box: Label range is 0-127.
ex: 10.100.50.1
Class B Box: Label range is 128-191.
ex: 176.16.0.10
Class C Box: Label range is 192-223
ex: 198.168.1.1
What is the ARP
Address Resolution Protocol
the ability to find the MAC address by using an IP address. It will most likely use the ARP table. Howver if the IP address does not exsit on the ARP table then the node will broadcast an ARP message to all devices on the LAN.
the device with the IP address will send back a response with the MAC address and add it to the ARP table for future use
ARP tables do have an expiration date
subnetting
sub-pizza: dividing a large pizza (network) into small slices (subnets) to make it more manageable