Network Basics Flashcards
Name the 7 layers of the OSI model.
Application, presentation, session, transport, network, data, physical.
Name the 4 layers of the TCP/IP model.
Application, transport, internet, network access/interface.
What is DHCP?
Dynamic host configuration protocol
Discover, offer, request, acknowledgement.
What are the five DHCP message types?
Discover-type1, offer-type 2, request-type 3, decline-type 4, and acknowledge-type 5.
What is NAT? What are the types?
Network address translation. Used to translate private ip address to public ip address.
TYPES: 1 to 1, one to many, and many to many.
What are the RFC 1918 private ip address ranges?
10.0.0.0/8
172.16.0.0/12
192.168.0.0/16
What is the broadcast address of 172.16.50.10/22?
What is the host range?
What is the gateway address?
Broadcast - 172.16.51.255
Range - 172.16.48.1 - 172.16.51.254
Gateway- 172.16.48.1
What is the block size of a /22?
4 hosts
What is the block size /23?
2 hosts
What is the block size of /24?
256 hosts
What is the block size of /17?
128 hosts
What is the block size of /18?
64 hosts
What is the block size of /19?
32 hosts
What is the block size of a /20?
16 hosts
What is the block size of /21?
8 hosts
How can you find the number of subnets with a specific subnet mask?
Convert the subnet bits to one’s, and count the number of ones bits.
Example: 255.255.192.0
2 to the power of 2 = 4
4 subnets are within a /18
How do you find the number of usable hosts with a subnet?
Turn the host bits to one’s, and count the number of bits on.
Example: 255.255.192.0 = 14 host bits on.
2 to the power of 14 - 2 = 16,382
What are the 5 well known TCP flags?
SYN
ACK
PUSH
FIN
RST
What is ARP?
Address resolution protocol
Resolves IP to mac address
What is RARP?
Reverse Address Resolution Protocol
Resolves mac address to IP.
What is a TCP forced close flag called?
RST
What is the TCP 4 way close?
FIN –>
ACK FIN
ACK
What is the TCP flag that allows data to be sent?
PSH flag
What is UDP?
User datagram protocol.
A connection-less protocol that is unreliable. Delivery of traffic is not guaranteed.