My CCENT Notes
Hey, i am going to post some of my notes to see if it helps some of you guys.
OSI and TCP (DOD) Model
7) Application layer- Interface between actual application. User needs access to network resource. This layer makes sure that the necessary resource exists between nodes and authentication occurs here. Protocols: (DNS, HTTP, Firewall, SMTP, SNMP, POP3, Telnet).
6) Presentation layer- Deals with data formatting, encryption/decryption and compression.
5) Session layer- Creates, maintains and terminates sessions between host. Also, separates application data from another application data.
4) Transport layer- Creates a logical end to end connection (virtual circuit) between host and segments data. Makes sure that data gets to destination error free. (TCP, UDP)
3)Network layer- Deals with IP and routing. Determines best path in a networking and keeps track what devices are on the network. (IP, ARP, RARP, ICMP)
2) Datalink layer- Wireless access points, DSL, Cable Modem, HDLC, PPP, Ethernet, Frame Relay and mac address. Deals with the physical transmittion of data, network topology and flow control. Error notification. (This layer is actually two sub layers, 1) MAC 2) LLC).
1) Physical layer- binary (1,0) bits, cables, plugs, pins, voltage.
TCP/IP MOdel
1)Application layer - same as app, presentation and session layer
2)Transport layer- same as transport layer of OSI model.
3)Internet layer- same as network layer
4)Network access layer- same as data link and physical layer
Data is simply called data on the App, presentation and session layer.
Data is called segments on the transport layer.
Data is called Packets in the Network layer.
Data is called Frames on the data link layer.
Data is called Bits on the Physical layer.
TCP and UDP
TCP (transmission control protocol) is a reliable connection oriented protocol. Guarantee delivery of data. It uses a "three way handshake" to establish a connection:
Scenario: Host A wants to communicate with Host B via TCP.
Step 1) Host A sends a SYN (contains sequence number) bit to Host B
Step 2) Host B replies back wih a SYN/ACK bit
Step 3) Host A replies back with a ACK (contains sequence number it expects to get) bit.
UDP (user datagram protocol). No guarantee of data, connectionless, no windowing. Why do we use UDP for? For speed since it's header is much smaller than TCP header. We would use UDP for VOIP or Video conferencing.
Properties of TCP:
1) Windowing: The amount of data a host can send without having to wait for an ACK bit.
2) Flow control: The recipient of data decides the window size.
3) PAR (positive acknowledgment with re-transmission). If an ACK bit is lost the sending host involves a ACK timer and if it still doesn't receive the ACK before the time expires it retransmit the segment.
** TCP uses sequencing and acknowledgments (in TCP header) for error recovery. The sequence number in the SYN bit tells the receiving host how to assemble the data and the acknowledgement contains the sequence number it expects to get next. **
Device on the OSI layers
Application layer, Presentation layer and Session layer: Firewalls, IDS (Intrusion detection system), Hosts
Transport Layer: Firewalls, Hosts
Network Layer: Routers, Layer 3 switches (dont need to know this for the exam).
Datalink Layer: Layer 2 Switches, bridges, WAP, Cable modems, DSL
Physical Layer: Hubs, multiport repeaters, cables