MidTerm Flashcards
What is a device that filter traffic based on the source or destination addresses?
Firewall
A model used in networking which breaks up communications into 7 abstract layers. The layers communicate with each other using encapsulation.
An OSI model
This is used to securely access resources over a non-secure public network connection, using an encrypted tunnel
VPN
Virtual Private Network
Modifies IP headers to change the source/destination IP/Ports for the purposes of mapping one address to another. It can be used to let many devices on a private network all share one public IP address
NAT
Network Address Translation
Describe the 3-way TCP handshake
Starts off a TCP connection.
Host A sends a packet with the SYN flag set.
Host B responds with a SYN/ACK.
Host A then confirms the connection by sending an ACK
Give an example of a Layer 1 medium
copper or fiber
Give an example of link-state routing protocol
OSPF or IS-IS
How many bits is an IPv4 address?
32 bits
How many bits is this subnet: 255.255.255.0
24
How many individual copper wires are in a Cat5e cable?
8
How many layers are in the OSI mode?
7
If your network address is 192.168.12.0/24, how many IP address are available on this network?
256 total, 254 usable
In TCP, what happens if a packet is lost?
TCP will notice a packet that is not acknowledged and re transmit it.
In TCP, what’s the purpose of the FIN packet?
To end a TCP connection nicely
In TCP connection, when the sender advertises a window size, what does this tell the receiver
This tells the receiver how much data the sender is willing to accept
In which layer does the Ethernet “switch” run?
Layer 2
Is the IP protocol ““best effort”” or does it guarantee delivery?
Best effort
List an advantage of using layer protocols
Abstraction, One layer can be changed without affecting others later.
List disadvantage of using layer protocols
A disadvantage is the overhead of going through so many layers. Doing slow may slow down communications
List the layers of the OSI model
Physical Data Network Transport Session Presentation Application
What is the advantage of fiber optic over copper cabling
it has more bandwidth, and can be stretched a further distance.
What does a switch store in its forwarding table?
MAC addresses and ports
What is CSMA/CD?
It is one of the protocols used in Ethernet.
Carrier Sense- the device can tell when someone is talking on the channel or when the channel is idle.
Multiple Access – let’s multiple devices use the same channel.
Collision Detection – detection when two devices talk and the same time and their frames.
What is DHCP used for
Dynamic Host Protocol, used to distribute network information (IP, Net mask, DNS, router, etc) to client.