week 3 Flashcards
what is a computer network ?
two computers that are connected together to share resources.
what are protocols in networking?
they are rules that govern how computers exchange data and enable effective communication.
what does OSI stand for?
open system interconnect. it shows how data flows from network to another.
- the OSI model breaks down the complex task of computer to computer network communication into 7 layers.
what are the different layers of the OSI model ?
- 7 Application layer eg HTTP HTTPS FTP etc..
- 6 Presentation layer eg SSL/TLS (Secure Sockets Layer/Transport Layer Security) for encryption.
- 5 Session layer eg Network Basic Input/Output System, creating session between two machines
- 4 Transport layer eg TCP (Transmission Control Protocol), UDP (User Datagram Protocol)
- 3 Network layer eg router, ipv4 ipv6
- 2 Data link layer eg Switches and Bridges etc
- 1 Physical layer eg Ethernet cables, fiber optics etc
what is an ip address ?
It is a number used to uniquely identify a device on a network.
- There are two versions ipv4 & ipv6
How many bits are in an ip address?
32
how many octects are in an ipv4 address?
4
convert 192.168.1.131 to bits
172.16.254.1
11000000.10101000.00000001.100000011
10101100.00010000.11111110.00000001
how many classes of ip addresses exist ?
5 classes
A: 1-126
B: 128-191
C: 192-223
D: 224-239
E: 240-255
what is subnet mask ?
It is a number that determines how many ip addresses we can have in a network.
what is the formular to calculate a subnet ?
2^n-2 where n is the number of borrowed bits