02 - Networks and The Internet | 03. Introduction To Network Basics Flashcards
How are we able to access context online?
Networking
Your device uses a _________ connection and goes through a series of defined ________ protocols to send and receive information.
NETWORK
What is a network?
A network is two or more computers or devices that are linked in order to share information.
Why are our computers and devices able to communicate?
Our computers and devices are able to communicate due to a large set of standards, much like we have road systems and traffic protocols when we drive a car. These network standards have been built by the community over the decades, and these standards guide engineers and security professionals.
When we talk about a network that could be anything connecting ______________ devices.
TWO OR MORE
Networks are broken into subsets based on what?
Based on their SIZE and FUNCTION
What are the most common network types?
- LAN
- CAN
- WAN
What is a CAN?
A Campus Area Network (CAN) connects multiple computers and devices over a slightly larger area. In many cases, these types of networks will connect multiple buildings located in the same vicinity. You may see these networks in a university where multiple buildings and outdoor spaces provide students with network access.
What is a LAN?
A Local Area Network (LAN) is a smaller network that connects multiple devices in a limited area. Examples of LANs include small offices, a home, or any other network contained within a small area.
What is a WAN?
A Wide Area Network (WAN) connects multiple computers over a geographically large area. Large, international organizations may operate these types of networks. To ensure that computers spread over large regions are able to communicate, companies may use a VPN (Virtual Private Network) to connect systems securely. A VPN can allow systems across large regions to connect and interact with one another on the same network.
Is the internet classified as a LAN, CAN, or WAN?
WAN
What does OSI Model stand for?
Open Systems Interconnection Model
When was OSI Model made and what is it for?
The OSI (Open Systems Interconnection) Model was developed in the 1970s and 1980s, and it is a conceptual model that breaks networking into seven separate layers. Each layer refers to a set of functions that are responsible for specific tasks.
The layers start from physical signals all the way up to the web applications we interact with. Each layer generally only interacts with the layer below it and provides useful tools or information to the layer above it.
Why is OSI helpful?
OSI is used to help us categorize network processes so we can communicate about them during troubleshooting and while improving security.
How many layers are in the OSI model?
7
What are the seven layers to the OSI model from bottom to top?
- Physical (ethernet cables, bluetooth, modem, repeater)
- Data Link (data frames, MAC addresses)
- Network (Data Packets, Routing)
- Transport (Data Delivery & Transport Protocol, Error Inspection)
- Session (Session Management, Session ID, Time Left)
- Presentation (En/decrypting & Presenting Data)
- Application (End User Applications)
PDLNTSPA
What is the 1st layer of the OSI model?
The physical layer
What does the Physical Layer in OSI do?
The Physical, and lowest layer of the model, covers how unstructured data, like bits, is transmitted. Some concrete examples of this are the ways wires are configured, the way signals are transferred over those wires, and the radio frequencies computers use.
The lowest layer of the OSI reference model is the physical layer. It is responsible for the actual physical connection between the devices. The physical layer contains information in the form of bits. It is responsible for transmitting individual bits from one node to the next. When receiving data, this layer will get the signal received and convert it into 0s and 1s and send them to the Data Link layer, which will put the frame back together.
What are technologies that are commonly used in the Physical layer in OSI?
Technology such as WiFi, Bluetooth, and cable standards such as CAT5 and CAT6 all operate at this layer.
This layer also includes the hardware part of modems, adapters, and repeaters.
Hub, Repeater, Modem, and Cables are Physical Layer devices.
Network Layer, Data Link Layer, and Physical Layer are also known as Lower Layers or Hardware Layers.
What is the Physical layer doing functionally in OSI?
Over these wires and signals, the raw data bits are received as a stream of 0s and 1s. Fixing errors that occur just at this layer means considering physical damage or interference.
- Bit Synchronization: The physical layer provides the synchronization of the bits by providing a clock. This clock controls both sender and receiver thus providing synchronization at the bit level.
- Bit Rate Control: The Physical layer also defines the transmission rate i.e. the number of bits sent per second.
- Physical Topologies: Physical layer specifies how the different, devices/nodes are arranged in a network i.e. bus, star, or mesh topology.
- Transmission Mode: Physical layer also defines how the data flows between the two connected devices. The various transmission modes possible are Simplex, half-duplex and full-duplex.
What is the layer above and below the Physical layer in OSI?
Below: Nothing
Above: Data Link
What is the 2nd layer of the OSI model?
The Data Link Layer
What does the Data Link Layer in OSI do?
The Data Link layer covers how data is sent from device to device when they are connected on the same local network.
The data link layer is responsible for the node-to-node delivery of the message. The main function of this layer is to make sure data transfer is error-free from one node to another, over the physical layer. When a packet arrives in a network, it is the responsibility of the DLL to transmit it to the Host using its MAC address.
What are technologies that are commonly used in the Data Link layer in OSI?
It involves physical addresses of devices, called Media Access Control (MAC) address. All devices have a unique 48-bit MAC address where the first 24 bits relate to the manufacturer, and the last 24 bits make it unique to each device.
The Data Link Layer is divided into two sublayers:
Logical Link Control (LLC)
Media Access Control (MAC)
The packet received from the Network layer is further divided into frames depending on the frame size of the NIC(Network Interface Card). DLL also encapsulates Sender and Receiver’s MAC address in the header.
The Receiver’s MAC address is obtained by placing an ARP(Address Resolution Protocol) request onto the wire asking “Who has that IP address?” and the destination host will reply with its MAC address.
What is the Data Link Layer doing functionally in OSI?
It structures incoming or outgoing data bits into data frames.
It routes data frames to the correct physical addresses. A switch (could be your computer or router) keeps track of local devices and their MAC addresses and makes sure data frames get to the correct physical location.
It ensures the flow of data is synchronized between devices, so data doesn’t jam up the memory of a slow receiving physical device.
It detects errors within data frames. This involves a system of error control!
- Framing: Framing is a function of the data link layer. It provides a way for a sender to transmit a set of bits that are meaningful to the receiver. This can be accomplished by attaching special bit patterns to the beginning and end of the frame.
- Physical Addressing: After creating frames, the Data link layer adds physical addresses (MAC addresses) of the sender and/or receiver in the header of each frame.
- Error Control: The data link layer provides the mechanism of error control in which it detects and retransmits damaged or lost frames.
- Flow Control: The data rate must be constant on both sides else the data may get corrupted thus, flow control coordinates the amount of data that can be sent before receiving an acknowledgment.
- Access Control: When a single communication channel is shared by multiple devices, the MAC sub-layer of the data link layer helps to determine which device has control over the channel at a given time.
Packet in the Data Link layer is referred to as Frame.
Data Link layer is handled by the NIC (Network Interface Card) and device drivers of host machines.
Switch & Bridge are Data Link Layer devices.
What is the layer above and below the Data Link layer in OSI?
Below: Physical
Above: Network
What do we see beginning to happen with layers 3 and 4 in the OSI model?
In layers 3 and 4, we begin to see how data is routed between different networks and how transportation protocols function within these layers.
What is the 3rd layer of the OSI model?
Network
What does the Network Layer in OSI do?
The Network layer describes how data packets are routed between wider networks such as the Internet.
The network layer works for the transmission of data from one host to the other located in different networks. It also takes care of packet routing i.e. selection of the shortest path to transmit the packet, from the number of routes available. The sender & receiver’s IP addresses are placed in the header by the network layer.
What are technologies that are commonly used in the Network layer in OSI?
Whereas a data frame at the data link layer travels to local MAC addresses, a data packet at the network layer is routed from a source IP (Internet Protocol) address to a destination IP address.
Segment in the Network layer is referred to as Packet.
Network layer is implemented by networking devices such as routers and switches.
What is the Network Layer doing functionally in OSI?
Think of a data packet as an envelope. IP addresses are assigned to every computer or device connected to the Internet, and these addresses are formatted into four numbers each ranging from 0 to 255.
Example: 192.168.0.1
At this layer, there are routing protocols designed to help packets (aka, our envelopes) get from point A to point B as quickly as possible over the Internet. Your nearest router is one of the many routers connected to the Internet that help packets find where they need to go!
Functions of the Network Layer
- Routing: The network layer protocols determine which route is suitable from source to destination. This function of the network layer is known as routing.
- Logical Addressing: To identify each device inter-network uniquely, the network layer defines an addressing scheme. The sender & receiver’s IP addresses are placed in the header by the network layer. Such an address distinguishes each device uniquely and universally.
What is the layer above and below the Network layer in OSI?
Below: Data Link
Above: Transport
What is the 4th layer of the OSI model?
Transport
What does the Transport Layer in OSI do?
The Transport layer refers to how data is actually transferred.
The transport layer provides services to the application layer and takes services from the network layer. The data in the transport layer is referred to as Segments. It is responsible for the end-to-end delivery of the complete message. The transport layer also provides the acknowledgment of the successful data transmission and re-transmits the data if an error is found.
Services Provided by Transport Layer:
Connection-Oriented Service
Connectionless Service
- Connection-Oriented Service: It is a three-phase process that includes:
Connection Establishment
Data Transfer
Termination/disconnection
In this type of transmission, the receiving device sends an acknowledgment, back to the source after a packet or group of packets is received. This type of transmission is reliable and secure.
- Connectionless service:
It is a one-phase process and includes Data Transfer. In this type of transmission, the receiver does not acknowledge receipt of a packet. This approach allows for much faster communication between devices. Connection-oriented service is more reliable than connectionless Service.
What are technologies that are commonly used in the Transport layer in OSI?
The most common transport protocols on the Internet are TCP (Transmission Control Protocol) and UDP (User Datagram Protocol).
Data in the Transport Layer is called Segments.
Transport layer is operated by the Operating System. It is a part of the OS and communicates with the Application Layer by making system calls.
The transport layer is called as Heart of the OSI model.
Device or Protocol Use : TCP, UDP NetBIOS, PPTP
What is the Transport Layer doing functionally in OSI?
The Transport layer refers to how data is actually transferred. Let’s say you wanted to upload a photo from your phone onto social media. The transport layer handles how the image data from that photo is split (segmentation), the rate at which the packets are sent, and how errors are handled if data packets don’t make it to the site’s server.
Functions of the Transport Layer
- Segmentation and Reassembly: This layer accepts the message from the (session) layer, and breaks the message into smaller units. Each of the segments produced has a header associated with it. The transport layer at the destination station reassembles the message.
- Service Point Addressing: To deliver the message to the correct process, the transport layer header includes a type of address called service point address or port address. Thus by specifying this address, the transport layer makes sure that the message is delivered to the correct process.
What is the layer above and below the Transport layer in OSI?
Below: Network
Above: Session
What is the 5th layer of the OSI model?
Session
When two computers or devices have started an exchange of information, we call that what?
A Session
What does the Session Layer in OSI do?
The Session layer in OSI is responsible for opening, closing, and maintaining sessions.
This layer is responsible for the establishment of connection, maintenance of sessions, and authentication, and also ensures security.
What are technologies that are commonly used in the Session layer in OSI?
In terms of opening and closing, the session layer includes authentication and authorization measures. For example, without logging in or having the right permissions, you may not be able to connect to parts of a website. But if you are logged in, your access permission is stored for a set amount of time, or session length.
All the below 3 layers(including Session Layer) are integrated as a single layer in the TCP/IP model as the “Application Layer”.
Implementation of these 3 layers is done by the network application itself. These are also known as Upper Layers or Software Layers.
Device or Protocol Use : NetBIOS, PPTP.