Module 1 - 03-3 Flashcards
Local and wide network communication
What does IP stand for?
Internet protocol (IP)
Define Internet Protocol (IP) address
A unique string of characters that identifies a location of a device on the internet
How many types of IP addresses are there?
Two (2)
What are the types of IP addresses?
- IP version 4 (IPv4)
- IP version 6 (IPv6)
Briefly explain IPv4
IPv4 addresses are written as four, 1, 2, or 3-digit numbers separated by a decimal point
(Example: 19.117.63.126).
In the early days of the internet, IP addresses were all IPV4. But as the use of the internet grew, all the IPv4 addresses started to get used up, so IPv6 was developed.
IPv4 addresses are made up of four decimal numbers separated by periods, each number ranging from 0 to 255. Together the numbers span 4 bytes, and allow for up to 4.3 billion possible addresses.
An example of an IPv4 address would be: 198.51.100.0.
Briefly explain IPv6
IPv6 addresses are made up of 32 characters
(Example: 684D:1111:222:3333:4444:5555:6:77).
The length of the IPv6 address will allow for more devices to be connected to the internet without running out of addresses as quickly as IPv4.
IPv6 addresses are made of eight hexadecimal numbers separated by colons, each number consisting of up to four hexadecimal digits. Together, all numbers span 16 bytes, and allow for up to 340 undecillion addresses (340 followed by 36 zeros).
An example of an IPv6 address would be: 2002:0db8:0000:0000:0000:ff21:0023:1234.
Note: to represent one or more consecutive sets of all zeros, you can replace the zeros with a double colon “::”, so the above IPv6 address would be “2002:0db8::ff21:0023:1234.”
IP addresses can be either ____ or ____.
public or private
Briefly explain a Public IP address
Your internet service provider assigns a public IP address that is connected to your geographic location.
When network communications goes out from your device on the internet, they all have the same public-facing address.
Just like all the roommates in one home share the same mailing address, all the devices on a network share the same public-facing IP address.
Briefly explain a Private IP address
Private IP addresses are only seen by other devices on the same local network.
This means that all the devices on your home network can communicate with each other using unique IP addresses that the rest of the internet can’t see.
What is another kind of address used in network communications?
MAC address
What does MAC stand for?
Media Access Control
Define MAC address
A unique alphanumeric identifier that is assigned to each physical device on a network
Briefly explain a MAC address
When a switch receives a data packet, it reads the MAC address of the destination device and maps it to a port. It then keeps this information in a MAC address table.
Think of the MAC address table like an address book that the switch uses to direct data packets to the appropriate device.
Explain the functions at layer 3 of the OSI model: the Network layer
Functions at the network layer organize the addressing and delivery of data packets across the network from the host device to the destination device.
This includes directing the packets from one router to another router across the internet, till it reaches the internet protocol (IP) address of the destination network. The destination IP address is contained within the header of each data packet. This address will be stored for future routing purposes in routing tables along the packet’s path to its destination.
All data packets include an IP address. A data packet is also referred to as an IP packet for TCP connections or a datagram for UDP connections. A router uses the IP address to route packets from network to network based on information contained in the IP header of a data packet. Header information communicates more than just the address of the destination. It also includes information such as the source IP address, the size of the packet, and which protocol will be used for the data portion of the packet.
What is contained in the Header of a data packet (4)?
- Source IP address
- Size of the packet
- Destination IP address
- Which protocol will be used for the data portion of the packet
What is a data packet referred to for TCP connections?
IP packet
What is a data packet referred to for UDP connections?
Datagram
How many sections are made up in an IPv4 packet?
Two (2)
What are the sections that are made up in an IPv4 packet?
- Header
- Data
Explain the IPv4 header format
An IPv4 header format is determined by the IPv4 protocol and includes the IP routing information that devices use to direct the packet.
The size of the IPv4 header ranges from 20 to 60 bytes.
The first 20 bytes are a fixed set of information containing data such as the source and destination IP address, header length, and total length of the packet.
The last set of bytes can range from 0 to 40 and consists of the options field.
The length of the data section of an IPv4 packet can vary greatly in size.
However, the maximum possible size of an IPv4 packet is 65,535 bytes.
It contains the message being transferred over the internet, like website information or email text.
How many fields are within the header of an IPv4 packet?
Thirteen (13)
What are the fields that are within the header of an IPv4 packet?
- Version (VER)
- IP Header Length (HLEN or IHL)
- Type of Service (ToS)
- Total Length
- Identification
*Flags - Fragmentation Offset
- Time to Live (TTL)
- Protocol
- Header Checksum
- Source IP Address
*Destination IP Address - Options
Define the Version (VER) field within the header of an IPv4 packet
This 4 bit component tells receiving devices what protocol the packet is using.
Define the IP Header Length (HLEN or IHL) field within the header of an IPv4 packet
HLEN (or IHL) is the packet’s header length.
This value indicates where the packet header ends and the data segment begins.