Question

In: Computer Science

Two key network layer functions are forwarding and routing. What are forwarding and routing? How does...

Two key network layer functions are forwarding and routing.

What are forwarding and routing? How does a router work ?

Solutions

Expert Solution

Forwarding refers to the router-local action of transferring the packet from an input link interface to the appropriate output link interface.

Routing refers to the network-wide process that determines end-to-end paths that packets take from source to destination.

HOW DOES ROUTER WORK

Router work in following manner.

  1. The router powers on and loads it's OS from flash
  2. The router loads the configuration file last saved to NVRAM and sets up the network interfaces and routing protocols it will run.
  3. The router adds the network address and subnet for each interface to it's routing table along with the name of the interface itself.
  4. The router has a simple static default route to send all non-local data out the network port connected to the cable company.
  5. When the router receives a web page request from your computer, it checks the destination IP address against its routing table.
  6. The bits forming the destination IP address in the IP packet are used as a hash key to point to the correct route, which in turn points to the correct network interface that the packet should be forwarded out of.
  7. The router transmits the packet out the correct interface, to the next router, which repeats the process until the packet reaches the destination.

Related Solutions

1) Two key network layer functions are forwarding and routing. What are forwarding and routing? How...
1) Two key network layer functions are forwarding and routing. What are forwarding and routing? How does a router work ? 2) 1. Distinguish between the process of routing a packet from the source to the destination and the process of forwarding a packet at each router. 2. List four types of delays in a packet-switch network.
What are the functions of the Network Layer? Please explain encapsulation and fragmentation and reassembly in...
What are the functions of the Network Layer? Please explain encapsulation and fragmentation and reassembly in the Network Layer.
Discuss in detail at least one of the key network functions.
Discuss in detail at least one of the key network functions.
What are the layer of the dermis and what are their functions?
What are the layer of the dermis and what are their functions?
What are the potential dangers to merge network layer with transport layer of computer networking protocol...
What are the potential dangers to merge network layer with transport layer of computer networking protocol stack?
Describe what are the three key managerial functions? Provide examples of each function. How does cost...
Describe what are the three key managerial functions? Provide examples of each function. How does cost accounting impact how managers discharge their duties in each function?
Q1. What is the S-layer? How does it function and what is it's structure? Q2. What...
Q1. What is the S-layer? How does it function and what is it's structure? Q2. What benefits do gut microbes offer humans and what do humans offer gut microbes?
What are the four key functions of management? And what role do these functions play in...
What are the four key functions of management? And what role do these functions play in a firm's profitability,sustainance and success?
What are the two key enzymes involved in nitrogen fixation? How does molecular oxygen affect the...
What are the two key enzymes involved in nitrogen fixation? How does molecular oxygen affect the reductase complex? How is this overcome?
What is a DNS cache poisoning attack, and how does it affect a network client? How...
What is a DNS cache poisoning attack, and how does it affect a network client? How does the Response Rate Limiting role feature mitigate a DNS amplification attack? What are the two keys that must be generated if you want to secure a zone with a digital signature? What is the purpose of each? What is DNS delegated administration, why might you want to use it, and how do you configure it? How are trust anchors distributed?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT