What is Packet Forwarding? Last Updated : 20 May, 2022 Summarize Comments Improve Suggest changes Share Like Article Like Report The process of packet forwarding simply implies the forwarding of incoming packets to their intended destination. Internet is made up of generally two terms- Interconnection and Network. So, it is a connection to a large collection of networks. A packet that is to be forwarded may be associated with the same network as the source host or may belong to a destination host in a different network. Thus, it depends on the destination how much a packet may need to travel before arriving at its destination. The router is responsible for the process of packet forwarding. It accepts the packet from the origin host or another router in the packet's path and places it on the route leading to the target host.The routing table is maintained by the router which is used for deciding the packet forwarding. Packet Forwarding in Router:Routers are used on the network for forwarding a packet from the local network to the remote network. So, the process of routing involves the packet forwarding from an entry interface out to an exit interface. Working:The following steps are included in the packet forwarding in the router- The router takes the arriving packet from an entry interface and then forwards that packet to another interface.The router needs to select the best possible interface for the packet to reach the intended destination as there exist multiple interfaces in the router.The forwarding decision is made by the router based on routing table entries. The entries in the routing table comprise destination networks and exit interfaces to which the packet is to be forwarded.The selection of exit interface relies on- firstly, the interface must lead to the target network to which the packet is intended to send, and secondly, it must be the best possible path leading to the destination network. Packet Forwarding Techniques:Following are the packet forwarding techniques based on the destination host: Next-Hop Method: By only maintaining the details of the next hop or next router in the packet's path, the next-hop approach reduces the size of the routing table. The routing table maintained using this method does not have the information regarding the whole route that the packet must take.Network-Specific Method: In this method, the entries are not made for all of the destination hosts in the router's network. Rather, the entry is made of the destination networks that are connected to the router.Host-Specific Method: In this method, the routing table has the entries for all of the destination hosts in the destination network. With the increase in the size of the routing table, the efficiency of the routing table decreases. It finds its application in the process of verification of route and security purposes.Default Method: Let's assume- A host in network N1 is connected to two routers, one of which (router R1) is connected to network N2 and the other router R2 to the rest of the internet. As a result, the routing table only has one default entry for the router R2. Comment More infoAdvertise with us Next Article TCP/IP Packet Format A annieahujaweb2020 Follow Improve Article Tags : Computer Networks Similar Reads TCP/IP Packet Format TCP/IP's primary function is to transport computer data from one device to another. Different computer networks' protocols include TCP and IP. The primary contrast between TCP (Transmission Control Protocol) and IP (Internet Protocol) is the fundamental method by which it transmits the data. The bas 6 min read What is Message Buffering? Remote Procedure Call (RPC) is a communication technology that is used by one program to make a request to another program for utilizing its service on a network without even knowing the network's details. The inter-process communication in distributed systems is performed using Message Passing. It 6 min read What is TCP Intercept Feature? TCP Intercept is a mechanism that protects end hosts from TCP SYN-flooding attacks, a type of DoS attack. An SYN-flooding attack occurs when a hacker floods a server with many connection requests. A connection cannot be established because the sender address for these messages is unreachable. The re 5 min read Packet Switched Network (PSN) in Networking A packet-switched network (PSN) is a kind of computer communications network that sends data in the form of small packets. It allows the sender to send data or network packets to the source and destination node over an internet network channel that is transferred between multiple users and/or applic 2 min read What is IP Routing? IP routing is the process that defines the shortest path through which data travels to reach from source to destination. It determines the shortest path to send the data from one computer to another computer in the same or different network. Routing uses different protocols for the different network 6 min read What is Computer Networking? Computer networking is like having a group of friends who all have phones and can call or text each other. In computer networking, instead of phones, we have computers and instead of phone lines, we use cables, Wi-Fi, or other methods to connect them. When computers are connected to a network, they 15+ min read Like