Networks Flashcards
Define Physical Layer
The physical part of a network (e.g. Cables, Radio Waves, etc.)
The path data takes is a channel (e.g. Frequency Range)
Define Link Layer
Responsible for sending frames (encapsulated packets) over one hop of the physical layer
Link Layer: Frame Header & Trailer
Header: Source & Destination MAC Address
Trailer: Error Checking (e.g. Checksum). Uses Cyclic Redundancy Check (CRC) to identify corruption
Link Layer: Flow Control
Regulation of data transmitted over a network to prevent congestion
Link Layer: ARQ
Automatic Repeat Request. Re-transmits frames if Link Layer Acknowledgement (ACK) isn’t received before timeout
Link Layer: Connection-oriented & Connectionless Communication
Connection-Oriented: Established dedicated connection e.g. TCP
Connectionless: Independently delivered frames e.g. UDP
Link Layer: MAC Layer
Media Access Control sub-layer. Manages access to Physical Layer. CSMA/CD protocol ensures only one sender transmits at a time
Link Layer: LANs: ARP
Address Resolution Protocol. Determines MAC addresses using IPv4. Stores in ARP Cache (Vulnerable to Spoofing)
Network Layer: Define
Responsible for routing packets
Network Layer: MTU
Maximum Transmission Unit. Determines fragment size
Network Layer: QoS Methods
Quality of Service Methods. Minimise loss of important data by giving critical data (voice, video, etc.) necessary bandwidth and low latency
Network Layer: IPv4: Subnetting
Uses Subnet Masks to split on network into multiple sub-networks
Network Layer: IPv4: NAT
Network Address Translation. Translates private IPv4 address to public IPv4 address.
Network Layer: IPv4: CGNAT
Carrier Grade NAT (CGNAT). One public IPv4, many ISP customers.
Network Layer: IPv6: Address Compression
Remove leadings 0s, compress longest consecutive 0s to ::
Network Layer: IPv6: Link-local Address
For routing local network packets. fe80::/10
Network Layer: IPv6: Path MTU Discovery
Determines MTU size on path to receiver, fragmentation occurs only once
Network Layer: IPv6: Deployment Issues
Time, Money, Hardware Support, Education
Network Layer: ICMP
Internet Control Message Protocol. Adds a header to provide diagnostics before IP encapsulation
Network Layer: ICMPv6: NDP
Neighbour Discovery Protocol.
Neighbour Solicitation (NS) and Neighbour Advertisement (NA) messages to retrieve MAC addresses using IPv6 addresses
Router Advertisement (RA) and Router Solicitation (RS) to discover routers and config info (Network Prefix, Default Router Address, Address Allocation Type (SLAAC or DHCP))
Redirections inform hosts of better first-hop routers by updating routing tables.
Network Layer: ICMPv6: SLAAC
Allows hosts to configure their own IPv6 address without relying on a DHCPv6 server
Network Layer: Routing Tables
Database of information about paths to destinations.
Gateway: Connection to another network (typically a router). ‘On-link’ means end point is on the same network
Interface: The point of connection
Metric: Priority, lower number is higher priority
Network Layer: Traceroute
Determines route between two hosts by sending packets with increasing time-to-live (TTL) packets. ICMP time exceeded message sent
to sender when TTL is 0.
Latency not equal to RTT/2 as routes change quickly and routes are likely to be asymmetric
Network Layer: Autonomous Systems (AS)
Interconnected networks managed by a single netwrok