Network Flashcards
How many Layers are in the TCP/IP Model?
5 Layers (Physical, Data Link, Network, Transport and Application)
Physical Layer (1st Layer)
It represents the physical devices that interconnect computers
Data Link Layer (2nd Layer)
Responsible for defining a common way of interpreting these signals so network devices can communicate. Most common protocol here is Ethernet.Moving data within a single link or network.
Network Layer or Internet Layer (3rd Layer)
Allows different networks to communicate with each other through devices known as routers. Moving data within multiple links or networks. Most common protol here is the IP (Internet Protocol)
Transport Layer (4th Layer)
Sorts out which client and server programs are supposed to get that data. Most common protocol TCP (Transmission Control Protocol), another one UDP (User Datagram Protocol). TCP provides mecanisms to ensure data is reliable delivered, while UDP doesn’t validate that.
Application Layer (5th Layer)
Different protocols and they are application specific.
Explain the Layers easily
Physical Layer -> Delivery Truck Data Link -> The roads themselves Network -> The map (route) that tells you the location between Address A and Address B Transport -> Driver that knows how to knock on your door, Is it residential? Is it a business? Application -> Contents of the package itself
What is Ethernet?
Is a data link layer protocol. The Ethernet standards also define a protocol responsible for getting data to nodes on the same network or link.
Internetwork
A collection of networks connected together through routers, the most famous of these being the Internet.
CSMA/CD
Carrier Sense Multiple Access with Collision Detection. Used to determine when the communication channels are clear, and when a device is free to transmit data.
MAC Address
Media Access Controll Address. A globally unique identifier attached to an individual network interface. It’s a 48-bit number normally represented by six groupings of two hexadecimal numbers.
What is a Unicast transmission
1 device sending transmission to one receiving address. If the least significat bit in the first octet of a destination address is set to zero, it means that the enthernet frame is intended for only the destination address.
What is a Multicast transmission
1 device sending transmission to multiple receiving address. If the least significat bit in the first octet of a destination address is set to one, it means that you are dealing with a multicast frame
What is a Broadcast transmision
1 device sending transmission to all devices in a lan. The ethernet broadcast address is FF:FF:FF:FF:FF:FF
What are the 6 TCP control Flags
URG (urgent) ACK (acknowledged) PSH (push) RST (reset) SYN (synchronize) FIN (finish)
TCP control flag URG(urgent)
A value of one here indicates tha the segment is considered urgent and that the urgent pointer field has more data about this. Doesn’t have widespread adoption, isn’t normally seen.
TCP control flag ACK(acknowledged)
A value of one in this field means that the acknowledgement number field should be examined.
TCP control flag PSH(push)
The transmitting device wants the receiving device to push currently buffered data to the application on the receiving end as soon as possible. A buffer is a computer technice when a certain amount of datais held somewhere, before is sent somewhere else. This is used to send large chunks of data more efficiently, by keeping some amounts of data in a buffer, TCP can deliver more meaninful chunks of data to the program waiting for it. In some cases you might be sending a small amount of information that you need the listening program to respond immediately, this is what the push flag does.
TCP control flag RST(reset)
On of the sides in a TCP connection hasn’t been able to properly recover from a series of missing malformed segments. Wait I can’t put over what you mean, let’s start over from scratch.
TCP control flag SYN(synchronize)
It’s used when first establishing a TCP connection and makes sure the receiving end knows the examine the sequence number field
TCP control flag FIN(finish)
When this flag is set to one, it means the transmitting computer doesn’t have any more data to send and the connection can be closed
Handshake
A way for two devices to ensure that they’re speaking the same protocol and will be able to understand each other
DNS
Domain Name System
DHCP
Dynamic Host Configuration Protocol