Podcast
Questions and Answers
What is the primary function of Layer 3 in the OSI model?
What is the primary function of Layer 3 in the OSI model?
- End-to-end delivery of data between different network segments (correct)
- Managing physical connections between devices
- Defining the structure and format of data
- Controlling data representation and encryption
Why is Layer 3 (the network layer) needed for internetworking?
Why is Layer 3 (the network layer) needed for internetworking?
- It manages the physical cabling of the network.
- It provides a common protocol that can span multiple Layer 2 networks. (correct)
- It handles data compression for faster transmission.
- It ensures all devices use the same MAC address format.
What information does the 'protocol field' within an IP packet contain?
What information does the 'protocol field' within an IP packet contain?
- The IP address of the destination device
- The size of the data being transmitted
- Information about the Layer 4 protocol being used (correct)
- The source MAC address
What is 'encapsulation' in the context of Layer 3 and Layer 2 networks?
What is 'encapsulation' in the context of Layer 3 and Layer 2 networks?
What is the purpose of the Time-To-Live (TTL) field in an IP packet?
What is the purpose of the Time-To-Live (TTL) field in an IP packet?
Which of the following best describes the difference between frames and packets?
Which of the following best describes the difference between frames and packets?
What is the format of an IPv4 address?
What is the format of an IPv4 address?
What are the two main parts that form an IP address?
What are the two main parts that form an IP address?
What does a '/16 prefix' indicate in an IP address?
What does a '/16 prefix' indicate in an IP address?
Which of the following statements is correct regarding IP addresses on a network?
Which of the following statements is correct regarding IP addresses on a network?
What is the purpose of a subnet mask?
What is the purpose of a subnet mask?
What IP address is typically configured as the default gateway on a home network?
What IP address is typically configured as the default gateway on a home network?
What does a device do if it determines the destination IP address is not on the same local network?
What does a device do if it determines the destination IP address is not on the same local network?
In the context of network routing, what is a 'default route'?
In the context of network routing, what is a 'default route'?
What determines that one route is preferred over another route?
What determines that one route is preferred over another route?
Regarding route tables, the larger the prefix value, what does it mean?
Regarding route tables, the larger the prefix value, what does it mean?
What is the function of the Address Resolution Protocol (ARP)?
What is the function of the Address Resolution Protocol (ARP)?
An ARP broadcast is sent to _______ as the target MAC address?
An ARP broadcast is sent to _______ as the target MAC address?
If a device receives a packet that is not destined for it, what action does a router take?
If a device receives a packet that is not destined for it, what action does a router take?
During data transfer, after encapsulating a packet through various Layer 2 networks, what ultimately happens?
During data transfer, after encapsulating a packet through various Layer 2 networks, what ultimately happens?
What does Layer 3 (the network layer) add that is not provided at Layer 2?
What does Layer 3 (the network layer) add that is not provided at Layer 2?
What is used to get the MAC address of the local router (R1)?
What is used to get the MAC address of the local router (R1)?
Which of the following protocols has the specific purpose of routing traffic based on labels rather than network addresses, particularly in wide area networks?
Which of the following protocols has the specific purpose of routing traffic based on labels rather than network addresses, particularly in wide area networks?
What type of device is responsible for moving packets of data across different networks and relies on the information contained in the IP header?
What type of device is responsible for moving packets of data across different networks and relies on the information contained in the IP header?
Which of the following most accurately describes the function of a router?
Which of the following most accurately describes the function of a router?
A network engineer is troubleshooting a connectivity issue where data packets are being dropped after traversing a certain number of routers. Which IP header field should they examine to diagnose this issue?
A network engineer is troubleshooting a connectivity issue where data packets are being dropped after traversing a certain number of routers. Which IP header field should they examine to diagnose this issue?
In IPv4 addressing, which of the following subnet masks would represent the largest number of usable host addresses per subnet?
In IPv4 addressing, which of the following subnet masks would represent the largest number of usable host addresses per subnet?
A network administrator needs to configure a router to prioritize voice traffic over other types of network traffic. Which IP header field can they use to achieve this?
A network administrator needs to configure a router to prioritize voice traffic over other types of network traffic. Which IP header field can they use to achieve this?
If a computer with the ip address of 192.168.1.5 is trying to communicate with 8.8.8.8 at layer 3 what address would be in the destination field?
If a computer with the ip address of 192.168.1.5 is trying to communicate with 8.8.8.8 at layer 3 what address would be in the destination field?
A network administrator configures a static route on a router. What happens to this route compared to a dynamic route?
A network administrator configures a static route on a router. What happens to this route compared to a dynamic route?
Given a host with an IP address of 192.168.1.10 and a subnet mask of 255.255.255.0, what is the network address?
Given a host with an IP address of 192.168.1.10 and a subnet mask of 255.255.255.0, what is the network address?
A network has an IP address range of 10.0.0.0/24
. What is the maximum number of usable host addresses available on this network?
A network has an IP address range of 10.0.0.0/24
. What is the maximum number of usable host addresses available on this network?
A host on a network needs to send a packet to a destination host on a different network. What IP address component should first be checked?
A host on a network needs to send a packet to a destination host on a different network. What IP address component should first be checked?
A network engineer notices a high volume of ARP broadcasts on a local network segment. What might this indicate?
A network engineer notices a high volume of ARP broadcasts on a local network segment. What might this indicate?
In the absence of any alternative routing mechanism, what is the result of not configuring a default gateway on a host?
In the absence of any alternative routing mechanism, what is the result of not configuring a default gateway on a host?
A packet capture shows a router forwarding a packet with a destination IP address of 10.1.1.5/32 to a specific interface. What conclusion can definitely be drawn?
A packet capture shows a router forwarding a packet with a destination IP address of 10.1.1.5/32 to a specific interface. What conclusion can definitely be drawn?
You are troubleshooting a network issue where hosts on VLAN 100 and VLAN 200 are unable to ping each other. Both VLANs are configured on the same physical switch. What is potentially the most probable cause of the problem?
You are troubleshooting a network issue where hosts on VLAN 100 and VLAN 200 are unable to ping each other. Both VLANs are configured on the same physical switch. What is potentially the most probable cause of the problem?
What are the two IP address versions currently used?
What are the two IP address versions currently used?
What allows you to send packets to 133.33.3.7?
What allows you to send packets to 133.33.3.7?
What describes a framework that describes the functions and interactions of computer systems in a network?
What describes a framework that describes the functions and interactions of computer systems in a network?
Flashcards
Point-to-point Link
Point-to-point Link
Connects isolated Layer 2 networks across geographical distances using various technologies.
Ethernet
Ethernet
A Layer 2 protocol commonly used for local networks.
PPP (Point-to-Point Protocol)
PPP (Point-to-Point Protocol)
A TCP/IP protocol for connecting computer systems over telephone networks or the Internet.
MPLS (Multiprotocol Label Switching)
MPLS (Multiprotocol Label Switching)
Signup and view all the flashcards
ATM (Asynchronous Transfer Mode)
ATM (Asynchronous Transfer Mode)
Signup and view all the flashcards
Internetworking
Internetworking
Signup and view all the flashcards
Encapsulation
Encapsulation
Signup and view all the flashcards
Routing
Routing
Signup and view all the flashcards
Router
Router
Signup and view all the flashcards
Route table
Route table
Signup and view all the flashcards
Time-to-Live (TTL)
Time-to-Live (TTL)
Signup and view all the flashcards
Hop Limit
Hop Limit
Signup and view all the flashcards
OSI (Open Systems Interconnection) Model
OSI (Open Systems Interconnection) Model
Signup and view all the flashcards
IP Addressing
IP Addressing
Signup and view all the flashcards
Dotted-Decimal Notation
Dotted-Decimal Notation
Signup and view all the flashcards
Network Part
Network Part
Signup and view all the flashcards
Host Part
Host Part
Signup and view all the flashcards
IP Prefix
IP Prefix
Signup and view all the flashcards
Static IP
Static IP
Signup and view all the flashcards
DHCP (Dynamic Host Configuration Protocol)
DHCP (Dynamic Host Configuration Protocol)
Signup and view all the flashcards
IP Address Uniqueness
IP Address Uniqueness
Signup and view all the flashcards
Subnet Masks
Subnet Masks
Signup and view all the flashcards
Default gateway
Default gateway
Signup and view all the flashcards
Routing
Routing
Signup and view all the flashcards
Default route
Default route
Signup and view all the flashcards
Route table
Route table
Signup and view all the flashcards
Address Resolution Protocol (ARP)
Address Resolution Protocol (ARP)
Signup and view all the flashcards
Route tables
Route tables
Signup and view all the flashcards
Study Notes
Layer 3 - Network - PART 1
- Two geographically separated local area networks (LANs) can be connected to create a common Layer 3 network.
- Isolated Layer 2 networks (LAN1 and LAN2) can communicate within their local network but not outside.
- Point-to-point links can connect networks across distances, but this is expensive and doesn't scale well.
- Layer 2 networks need to use the same Layer 2 protocol for communication, which presents challenges as not everything uses the same protocol.
- Ethernet is a commonly used Layer 2 protocol for local networks.
- Long-distance point-to-point links use protocols, such as PPP (Point-to-Point Protocol), MPLS (Multiprotocol Label Switching), or ATM (Asynchronous Transfer Mode).
- Layer 2 moves frames between local sources and destinations.
- Layer 3 and internetworking are needed to move data between different local networks.
- Layer 3 enables the connection of multiple Layer 2 networks.
- Internet Protocol (IP) gives IP addresses for cross-network communication via routing.
- A router is a Layer 3 device which moves packets of data across different networks, encapsulating packets inside ethernet frames.
- Encapsulation means an IP packet is put inside an ethernet frame for a part of a journey, and then a new frame is added for the next local network.
- Packets contain data, source, and destination addresses.
- The source and destination of frames are generally local, but IP packets' source and destination addresses can be on opposite sides of the planet.
- Packets stay the same during their journey, while frames change every time a packet moves between networks.
Layer 3 - IP - Packet Structure
- There are two versions of the Internet Protocol in use: Version 4 and Version 6 (offering more scalability).
- Packets are similar to frames that contain data being moved, as well as source and destination addresses.
- Source IP address is typically the IP of the device generating the packet.
- Destination IP address is the intended destination IP for the packet.
- Data is generally provided from a Layer 4 protocol.
- The protocol field indicates which protocol is used by Layer 4.
- ICMP, TCP, and UDP are examples of protocols that might be referenced using the protocol field.
- Routers use that field to identify the layer 4 protocol to pass the data into
- Time-to-Live or TTL defines how many hops a packet can move through to stop packets from looping around forever.
- Routers use the source and destination IP address fields to move packets across networks.
- Internet is formed using Layer 2 frames and links
Layer 3 - Network - PART 2
- IP addressing identifies a device using layer 3 IP networking.
- An IP address is a valid IP version 4 address to send packets to a destination.
- Dotted-decimal notation is the typical format of IP addresses (four decimal numbers between 0 and 255 separated by dots).
- All IP addresses consist of a network part and a host part.
- The network part indicates which IP network an IP address belongs to, while the host part represents the host on that network.
- Knowing which part of an IP address is the network and which part is the host determines if two IP addresses are on the same or different IP networks.
- IP addresses are technically binary numbers (with each decimal part being an eight-bit binary number, known as an octet)
- A /16 prefix means the first 16 bits represent the network, with the rest representing the hosts.
- IP addresses are assigned statically by humans (static IP) or automatically by machines (DHCP).
- On a network, IP addresses need to be unique.
- Subnet masks are configured on Layer 3 interfaces and along with IP addresses.
- Default gateway is an IP address on the local network, which packets are forwarded to if the destination is not a local IP address.
- Subnet masks allow an IP device to know if an IP address it's communicating with, is on the same network.
- To use a subnet mask, convert the dotted-decimal notation into a binary number.
- The prefix is the number of ones in the subnet mask starting from the left
- Ones (1) in a subnet mask represent the network, and zeros (0) represent the host component.
- A binary overlay of subnet mask and IP address reveals the network/host.
- Starting address of a network includes the network component of the IP address and all zeros for the host part.
- Ending address includes the network part and all ones for the host.
- Determining whether to send data directly on a local network using subnet masks is how a lot of the intelligence of Layer 3 is used.
Layer 3 - Network - PART 3
- Route tables enable routing (the process by which packets are forwarded or routed hop by hop across the internet from source to destination).
- Route tables can be populated statically or via protocols such as BGP, the Border Gateway Protocol.
- When an ISP router forwards a packet to another router, it does so at Layer 2, wrapping the packet in a frame.
- Address Resolution Protocol is the protocol that obtains the MAC addresses involved in frame creation.
- ARP is generally used when a layer 3 packet needs to be encapsulated inside a frame (layer 2) and then the frame sent to a MAC address.
- ARP gives you the MAC address for a given IP address.
- Routers are determined by the router table
- Each router has to have at least 1 router table
- Each roter is a colletion of routes
- Routers check destination field and will have a Next Hop or Target field.
Layer 3 - IP routing
- R1: Router One
- R2: Router Two
- D: Device
- Routers are not needed for the same local network
- Subnet Mask and destination IP has to confirm if the devices are on the same network
- ARP is needed to obtain the appropriate MAC address
- When communicating with a remote network
- Create a packet (P2), laptop address as destination
- A normal network will often drop a random packet
- The router is there to decide how to route the packet to another destination (a router in another network)
Layer 3 - Network
- Layer 3
- IP Addresses IPv4/v6 - cross network addressing
- Address resolution Protocol to find MAC Address
- Used to forward the packet
- Use routing tables
- Moves packets from source to destination through encapsulating on Layer 2
- Communications on internet
- No method for channels, simply source to destination IP
- Can be delivered out of order
- All of this amounts to device-to-device communication over the internet
- Summary • Media Access Control for device to all devices and device to device communications • Cross network addressing for IPs • Address Resolution Protocol to find MAC Address • Routes define where a packet is needed • Layer 3 works by using a router which encapsulates in Layer 2 frame all along the way from source to destination
- With this a server can communicate and so packets can move
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.