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.
1) The two functions of the network layer are __________ and _____________ a) addressing, forwarding b)...
1) The two functions of the network layer are __________ and _____________ a) addressing, forwarding b) addressing, routing c) error detection, routing d) addressing, error correction 2) When manually configuring the TCP/IP network addressing information on a computer, which of the following pieces of information is NOT needed? a) The IP address of at least one DHCP server b) The IP address of at least one DNS server c) The subnet mask
Datagram network provides network-layer connectionless service, while virtual-circuit network provides network-layer connection service. Describe the forwarding...
Datagram network provides network-layer connectionless service, while virtual-circuit network provides network-layer connection service. Describe the forwarding tables for each service.
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.
1: What is meant by destination-based forwarding? How does this differ from generalized forwarding? 2: What...
1: What is meant by destination-based forwarding? How does this differ from generalized forwarding? 2: What is the role of the forwarding table within a router? 3: Define the following terms in the context of SNMP: managed device, MIB, managing server, and network management agent.
What are the layer of the dermis and what are their functions?
What are the layer of the dermis and what are their functions?
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 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?
1- Definition and introduction of its layer 2- Explain the network functions 3- Explain the data...
1- Definition and introduction of its layer 2- Explain the network functions 3- Explain the data transfer method in the network 4- Mention the protocols if there is and explain them 5- Network positives and negatives effect for physical layer data link layer network layer transport layer presentation layer application layer and the tcp/ip
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?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT