Networking Concepts (Chapter 1) Flashcards
What is a network
A connection between 2 or more nodes that can communicate to eachother
IP address
- A unique number that identify a node on a network.
- Can change by node changing network or by DHCP
- a node can have multiple IP addresses
- IPv4/IPv6
MAC Address
Media Access Control
A unique physical address that identifies the node on the network, issued by NIC
Source/Destination
Is the sender and recipient of data transmission, both nodes form a connection where they both switch back and forth from being source and destination
Protocol
Set or rules or language used for communication
Port
A logical source/destination for a network service
0 - 1023 used by common services
1024 - 49151 used by services processes
49152 - 65535 used by client processes
Socket
A identification number that signifies a port that is in use which is made up of protocol, IP address and port that uniquely identifies a connection on a network
OSI Model
7 layers
Application
Presentation
Session
Transport
Network
Data Link
Physical
Application Layer (OSI)
Responsible for requesting network services for a specific apps via a specific protocol (Mail = SNMP/POP3, web browser = HTTP/HTTPS)
Data
Presentation Layer (OSI)
Layer responsibility for communicating the correct data format (MP3, JPG)that will be transmitted
Data
Session Layer (OSI)
Responsible for managing and separating different network “conversations” by assigning ports for each process
Data
Transport Layer (OSI)
Layer responsible for establishing, managing and tearing down a session as well as encapsulating data into either segments (TCP) or datagram (UDP) with a header that has embedded information
Network Layer (OSI)
Layer responsibility for adding the logical address to the header and encapsulating the TCP or UDP into an IP packet
Data Link Layer (OSI)
Responsible adding the physical address of the source and destination to the header and encapsulating the packets into frames.
Adds a trailer with CRC to check that data hasn’t been corrupted
Data Link Layer Sub layers
Logical Link Control
- describes the network payload
Media Access Control
- adds physical address
Physical Layer (OSI)
Responsible for transmitting the frames in terms of bits over a network medium
DoD Model
Aka TCP/IP Model
4 Layers that map to OSI model
Application Layer (DoD)
Incorporates OSI Application Layer, Presentation Layer and Session Layer
Host-to-Host Layer (DoD)
Incorporates OSI Transport layer
Internet Layer (DoD)
Incorporates OSI Network layer
Network Access Layer (DoD)
Incorporates OSI Data Link Layer and Physical Layer
TCP/IP Protocols
Host-to-Host Layer
- TCP, UDP
Internet Layer
- IP, ICMP, IGMP
Network Layer
- ARP
Connection-Orientated
Attempts to ensure reliability and completeness of transmission via the uses of acknowledgement flags during data transmission, resends data dependent on recipient sequence acknowledgement in its segment header.
- sequence used to reconstruct data
- TCP protocol
- session is established via a 3way handshake (SYN - SYN/ACK - ACK)
- Session is broken down via 4way handshake (FIN - ACK - FIN - ACK)
Connectionless Orientated
No attempts to ensure completeness of data transmission, uses application or higher level protocols to request data lost in transmission.
- Used for performance