SlideShare ist ein Scribd-Unternehmen logo
1 von 2
Downloaden Sie, um offline zu lesen
Routing Fundamentals

Question

Routers work at the network layer of the OSI model. Does this imply that they do not have the capacity
to check for information inside frames?

Answer

Routers look for information inside the IP packet header for routing the packets. But the packets itself
would be encapsulated inside frames like ethernet, PPP etc. For example, if the IP packet is
encapsulated inside an ethernet frame, the router would first need to check the destination mac-
address inside the frame and verify if it is intended for itself and only then be able to process the IP
packet header, which would be the data inside the packet.

Question

How do routers populate routing entry for a directly connected network ?

Answer

A directly connected network refers to the network address corresponding to the IP address and subnet
mask configured on the specific network interface card on the router. The IP address and subnet mask
would be “And” ed to derive the network address.

Question

How do routers forward IP packets?

Answer

When a router receives an IP packet, it would check the destination IP address in the packet. The router
would then performing an “And “ operation with the subnet mask of the different route table entries
with the destination IP address and verify if the corresponding network address in the routing table
matches. On a match, the packet would be forwarded to the interface to which it the route entry is
associated with.

Question

What are the parameters that are provided in a static route?

Answer

A static entry would typically contain the network address, network mask and the default gateway. Let’s
table an example where a router has two directly connected networks. The hosts within the router,
needs to access a network which is not a directly connected network. The network is one hop away from
the router and is reachable via the default gateway of the router. So the network address value would
be the one which the hosts would want to reach via the router. This network address along with the
network mask and the gateway address through which the network can be reached is configured as a
static route.

Question

How does a PC know as to whether the destination IP address is on the same or different network?

Answer

Assume that a PC is configured with an IP address 192.168.2.1 and subnet mask 255.255.255.0. If the
user on the PC issues a ping to the IP address 192.168.1.1, the PC would check in its routing table for
matching network address and decide if it is on the same or different network.

Question

An ADSL router is configured for internet connection. A switch is connected to the router to which the
hosts are connected. What type of route entry should be configured on the router for the hosts to
access the internet?

Answer

A default route entry should be configured on the router. IP addresses which are internet based, cannot
be configured explicitly on the routers since they would not be known beforehand. Examples are IP
addresses of websites which the user tries to access. The default route once configured would take care
of destination networks which the router is unaware.

Weitere ähnliche Inhalte

Andere mochten auch

1.evidencia de lectura k.lovell desarrollo de los conceptos basicos matematic...
1.evidencia de lectura k.lovell desarrollo de los conceptos basicos matematic...1.evidencia de lectura k.lovell desarrollo de los conceptos basicos matematic...
1.evidencia de lectura k.lovell desarrollo de los conceptos basicos matematic...
katyaroxanameza
 
Stipendium_Marie
Stipendium_MarieStipendium_Marie
Stipendium_Marie
MarieLue18
 

Andere mochten auch (15)

Doc1
Doc1Doc1
Doc1
 
Dealth of dollar How real it is - Rupesh Gaikwad, Shreyak Shah, Suvrat Dayal,...
Dealth of dollar How real it is - Rupesh Gaikwad, Shreyak Shah, Suvrat Dayal,...Dealth of dollar How real it is - Rupesh Gaikwad, Shreyak Shah, Suvrat Dayal,...
Dealth of dollar How real it is - Rupesh Gaikwad, Shreyak Shah, Suvrat Dayal,...
 
Friday Presentation
Friday PresentationFriday Presentation
Friday Presentation
 
Bike magazine julio
Bike magazine julioBike magazine julio
Bike magazine julio
 
Evercore ISI Utility CEO Retreat
 Evercore ISI Utility CEO Retreat Evercore ISI Utility CEO Retreat
Evercore ISI Utility CEO Retreat
 
63562
6356263562
63562
 
Yellow group 4!
Yellow group 4!Yellow group 4!
Yellow group 4!
 
Tutorial audacity
Tutorial audacityTutorial audacity
Tutorial audacity
 
Modelo de actividad la comunicación
Modelo de actividad la comunicaciónModelo de actividad la comunicación
Modelo de actividad la comunicación
 
Código de ética del Ingeniero en sistemas computacionales
Código de ética del Ingeniero en sistemas computacionalesCódigo de ética del Ingeniero en sistemas computacionales
Código de ética del Ingeniero en sistemas computacionales
 
1.evidencia de lectura k.lovell desarrollo de los conceptos basicos matematic...
1.evidencia de lectura k.lovell desarrollo de los conceptos basicos matematic...1.evidencia de lectura k.lovell desarrollo de los conceptos basicos matematic...
1.evidencia de lectura k.lovell desarrollo de los conceptos basicos matematic...
 
La Nuova Mobilità Sostenibile - Un progetto Smart di Generplus SpA
La Nuova Mobilità Sostenibile - Un progetto Smart di Generplus SpALa Nuova Mobilità Sostenibile - Un progetto Smart di Generplus SpA
La Nuova Mobilità Sostenibile - Un progetto Smart di Generplus SpA
 
Forma, espacio y medida.
Forma, espacio y medida.Forma, espacio y medida.
Forma, espacio y medida.
 
Knives, Sharpeners, Scissors, Graters and Hooks.
Knives, Sharpeners, Scissors, Graters and Hooks.Knives, Sharpeners, Scissors, Graters and Hooks.
Knives, Sharpeners, Scissors, Graters and Hooks.
 
Stipendium_Marie
Stipendium_MarieStipendium_Marie
Stipendium_Marie
 

Kürzlich hochgeladen

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 

Routing fundamentals

  • 1. Routing Fundamentals Question Routers work at the network layer of the OSI model. Does this imply that they do not have the capacity to check for information inside frames? Answer Routers look for information inside the IP packet header for routing the packets. But the packets itself would be encapsulated inside frames like ethernet, PPP etc. For example, if the IP packet is encapsulated inside an ethernet frame, the router would first need to check the destination mac- address inside the frame and verify if it is intended for itself and only then be able to process the IP packet header, which would be the data inside the packet. Question How do routers populate routing entry for a directly connected network ? Answer A directly connected network refers to the network address corresponding to the IP address and subnet mask configured on the specific network interface card on the router. The IP address and subnet mask would be “And” ed to derive the network address. Question How do routers forward IP packets? Answer When a router receives an IP packet, it would check the destination IP address in the packet. The router would then performing an “And “ operation with the subnet mask of the different route table entries with the destination IP address and verify if the corresponding network address in the routing table matches. On a match, the packet would be forwarded to the interface to which it the route entry is associated with. Question What are the parameters that are provided in a static route? Answer A static entry would typically contain the network address, network mask and the default gateway. Let’s table an example where a router has two directly connected networks. The hosts within the router, needs to access a network which is not a directly connected network. The network is one hop away from the router and is reachable via the default gateway of the router. So the network address value would
  • 2. be the one which the hosts would want to reach via the router. This network address along with the network mask and the gateway address through which the network can be reached is configured as a static route. Question How does a PC know as to whether the destination IP address is on the same or different network? Answer Assume that a PC is configured with an IP address 192.168.2.1 and subnet mask 255.255.255.0. If the user on the PC issues a ping to the IP address 192.168.1.1, the PC would check in its routing table for matching network address and decide if it is on the same or different network. Question An ADSL router is configured for internet connection. A switch is connected to the router to which the hosts are connected. What type of route entry should be configured on the router for the hosts to access the internet? Answer A default route entry should be configured on the router. IP addresses which are internet based, cannot be configured explicitly on the routers since they would not be known beforehand. Examples are IP addresses of websites which the user tries to access. The default route once configured would take care of destination networks which the router is unaware.