2.1.4-2.1.6 Layer 3 - Network

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

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?

  • 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?

  • 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?

<p>Placing an IP packet inside a Layer 2 frame for transmission across a local network (B)</p> Signup and view all the answers

What is the purpose of the Time-To-Live (TTL) field in an IP packet?

<p>To limit the number of hops a packet can take to prevent infinite loops (B)</p> Signup and view all the answers

Which of the following best describes the difference between frames and packets?

<p>Frames are used for local communication, while packets are used for end-to-end communication across networks. (C)</p> Signup and view all the answers

What is the format of an IPv4 address?

<p>Dotted-decimal notation with four decimal numbers separated by dots (C)</p> Signup and view all the answers

What are the two main parts that form an IP address?

<p>Network and Host (D)</p> Signup and view all the answers

What does a '/16 prefix' indicate in an IP address?

<p>The first 16 bits of the IP address represent the network. (C)</p> Signup and view all the answers

Which of the following statements is correct regarding IP addresses on a network?

<p>IP addresses need to be unique on a local network. (D)</p> Signup and view all the answers

What is the purpose of a subnet mask?

<p>To determine which part of an IP address represents the network and which part represents the host (C)</p> Signup and view all the answers

What IP address is typically configured as the default gateway on a home network?

<p>The IP address of the internet router (A)</p> Signup and view all the answers

What does a device do if it determines the destination IP address is not on the same local network?

<p>Sends the traffic to the default gateway. (B)</p> Signup and view all the answers

In the context of network routing, what is a 'default route'?

<p>A route that is used when no other route matches the destination IP address (C)</p> Signup and view all the answers

What determines that one route is preferred over another route?

<p>The one which is the most specific (A)</p> Signup and view all the answers

Regarding route tables, the larger the prefix value, what does it mean?

<p>the more specific the route. (D)</p> Signup and view all the answers

What is the function of the Address Resolution Protocol (ARP)?

<p>To resolve IP addresses to MAC addresses on a local network (B)</p> Signup and view all the answers

An ARP broadcast is sent to _______ as the target MAC address?

<p>All F's (B)</p> Signup and view all the answers

If a device receives a packet that is not destined for it, what action does a router take?

<p>The router will route that packet (C)</p> Signup and view all the answers

During data transfer, after encapsulating a packet through various Layer 2 networks, what ultimately happens?

<p>But normally the packet itself remains unchanged all the way from source to destination. (A)</p> Signup and view all the answers

What does Layer 3 (the network layer) add that is not provided at Layer 2?

<p>Cross network addressing using IP addresses (B)</p> Signup and view all the answers

What is used to get the MAC address of the local router (R1)?

<p>Address Resolution Protocol (C)</p> Signup and view all the answers

Which of the following protocols has the specific purpose of routing traffic based on labels rather than network addresses, particularly in wide area networks?

<p>MPLS (Multiprotocol Label Switching) (A)</p> Signup and view all the answers

What type of device is responsible for moving packets of data across different networks and relies on the information contained in the IP header?

<p>Router (A)</p> Signup and view all the answers

Which of the following most accurately describes the function of a router?

<p>A device that connects multiple networks and forwards data based on IP addresses. (D)</p> Signup and view all the answers

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?

<p>Time to Live (TTL) (C)</p> Signup and view all the answers

In IPv4 addressing, which of the following subnet masks would represent the largest number of usable host addresses per subnet?

<p>255.255.0.0 (C)</p> Signup and view all the answers

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?

<p>Type of Service (D)</p> Signup and view all the answers

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?

<p>8.8.8.8 (A)</p> Signup and view all the answers

A network administrator configures a static route on a router. What happens to this route compared to a dynamic route?

<p>Always takes precedence (A)</p> Signup and view all the answers

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?

<p>192.168.1.0 (D)</p> Signup and view all the answers

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?

<p>254 (C)</p> Signup and view all the answers

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?

<p>The default gateway (D)</p> Signup and view all the answers

A network engineer notices a high volume of ARP broadcasts on a local network segment. What might this indicate?

<p>A possible ARP spoofing attack or a misconfigured device. (C)</p> Signup and view all the answers

In the absence of any alternative routing mechanism, what is the result of not configuring a default gateway on a host?

<p>The host cannot communicate with devices outside its local network. (B)</p> Signup and view all the answers

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?

<p>10.1.1.5 is directly connected to that interface. (C)</p> Signup and view all the answers

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?

<p>Missing inter-VLAN routing configuration on the switch or a connected router.. (B)</p> Signup and view all the answers

What are the two IP address versions currently used?

<p>IPv4 and IPv6 (B)</p> Signup and view all the answers

What allows you to send packets to 133.33.3.7?

<p>a valid IP version 4 address (D)</p> Signup and view all the answers

What describes a framework that describes the functions and interactions of computer systems in a network?

<p>OSI model (A)</p> Signup and view all the answers

Flashcards

Point-to-point Link

Connects isolated Layer 2 networks across geographical distances using various technologies.

Ethernet

A Layer 2 protocol commonly used for local networks.

PPP (Point-to-Point Protocol)

A TCP/IP protocol for connecting computer systems over telephone networks or the Internet.

MPLS (Multiprotocol Label Switching)

A networking technology for routing traffic using labels rather than addresses.

Signup and view all the flashcards

ATM (Asynchronous Transfer Mode)

A transfer mode for switching and transmission that flexibly organizes information into cells.

Signup and view all the flashcards

Internetworking

The networking of networks, connecting multiple different networks together.

Signup and view all the flashcards

Encapsulation

The process of placing a packet inside a frame for transmission across a network.

Signup and view all the flashcards

Routing

Layer 3 protocol used to create and forward packets.

Signup and view all the flashcards

Router

A device that forwards data packets between different networks.

Signup and view all the flashcards

Route table

A set of rules that determines the path that data packets will take.

Signup and view all the flashcards

Time-to-Live (TTL)

Defines how many hops an IP packet can travel before being discarded.

Signup and view all the flashcards

Hop Limit

A value in IP version 6 packets that defines the maximum number of hops the packet can traverse.

Signup and view all the flashcards

OSI (Open Systems Interconnection) Model

A standard for how computer systems communicate, containing the network layer.

Signup and view all the flashcards

IP Addressing

What identifies a device which uses layer 3 IP networking.

Signup and view all the flashcards

Dotted-Decimal Notation

A way to represent IP addresses with four decimal numbers separated by dots.

Signup and view all the flashcards

Network Part

The portion of an IP address that specifies the network it belongs to.

Signup and view all the flashcards

Host Part

The portion of an IP address that identifies a specific device on a network.

Signup and view all the flashcards

IP Prefix

Specified with forward slash and indicates number for bits of an IP that is the network

Signup and view all the flashcards

Static IP

An IP address assigned by humans or statically.

Signup and view all the flashcards

DHCP (Dynamic Host Configuration Protocol)

An IP that assigns it self automatically .

Signup and view all the flashcards

IP Address Uniqueness

IP addresses have to be unique on the LAN.

Signup and view all the flashcards

Subnet Masks

A 32-bit mask to determining if an IP is local or remote.

Signup and view all the flashcards

Default gateway

An IP address on the local network to reach non local.

Signup and view all the flashcards

Routing

Process the router has use to gets packets though the inter-networks.

Signup and view all the flashcards

Default route

All IP traffic is sent on its way to Internet Service Provider.

Signup and view all the flashcards

Route table

It’s a collection of routes in a table.

Signup and view all the flashcards

Address Resolution Protocol (ARP)

Addresses local IP addresses to the mac address.

Signup and view all the flashcards

Route tables

Address, the source (SRC) and destination (DST).

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.

Quiz Team

Related Documents

More Like This

Use Quizgecko on...
Browser
Browser