B1 IP Protocols Flashcards
OSI Model
1 Physical 2 Data Link 3 Network 4 Transport 5 Session 6 Presentation 7 Application
Layer 1 OSI Model
Physical - Physical structure. Hubs, repeaters, Cables,
Layer 2 OSI
Data Link - Frames (Envelopes) contain MAC address, NIc - Switch - NIC end to end) , Ethernet, WAN, Wifi,
Layer 3 OSI
Network - Packets (letter containing IP address) - Logical to physical address mapping Ipv4, IPv6, ICMP, AppleTalk
Layer 4 OSI
Transport - host to host (logical ports), TCP, UDP,
Layer 5 OSI
Session - Sync and send to ports (interhost communication) - session establishment , security, logging - TLS/SSL, NetBIOS, SOCKS
Layer 6 OSI
Presentation - syntax and encrypt and decrypt , data conversion. SSL, WEP, WPA, Kerberos
Layer 7 OSI
Application - end user layer. DHCP, DNS, FTP, HTTP, POP3, SMTP, SNMP, SSH, TELNET
Layer 1 TCP IP
Network Access or Link Layer = OSI 1 &2, Maps IP to physical address, plus forms frame and sends over network
Layer 2 TCP IP
Internet - = L3 OSI (Network). logical transmission of data using IP, ARP or ICMP
Layer 3 TCP IP
Host 2 Host / Transport. Is same as L4 OSI (Transport). Two protocols are TCP or UDP.
Layer 4 TCP IP
Application. = L5-L7 OSI. HTTP, FTP etc
IP v4 description
An IPv4 address is split into four sections, each with a number from 0-255, separated by a dot, with
sections identifying the network ID and the host ID. How many bits are used for the network portion will
vary from network to network. 4 billion possible addresses. 32 bit - 8 bits per section (octet).
Subnet basics
A subnet mask is a 32 bit number for IPv4, or a 128 bit number for IPv6, that divides the IP address into
network and host addresses.
Subnet mask
A Subnet Mask is made by setting network bits to all “1”s and setting host bits to all “0”s.
Subnet example
For example take a network 214.129.7.0/24. The 24 in the CIDR notation tells you the network mask is 24
bits long, and so it is. 255.255.255.0 where each 255 is all 8 bits of the octet set to binary 1. The broadcast
address for this network would be 214.129.7.255