The Destination Address (Layer 2 or Layer 3)
Router is a Layer 3 (Network Layer)device that checks packet's IP Address at input interface & routes them to interface connected to destination network if available.
Network - Always identifies the final destination of a packet
Because ICMP is on the network layer
--> If the destination network is directly connected, the router forwards the packet to the destination host. --> If no route exists for the destination network and a default route is present, the packet is forwarded to the next-hop router. --> If the originating host has a default gateway configured, the packet for a remote network can be forwarded using that route.
SLOT 0
here in data link the actual physical mean of coneection will takes place between source and destination hosts......once packet from network layer enter into data link layer the trailer is gonna add to packet also the MAC(media access control) address of destination host will be determined............once source host get the information of MAC.......its gonna add to packet along with packet then it will be called by name frame....switch will work in this layer and the protocol used are ARP and RARP........
Josef ylanan was here
A hub is a layer 1 (physical) device because it does not use any part of the packet header to direct the packet to the right destination, it just broadcasts to all connected computers.
In networking there is a source and a destination and when both of them communicates there is transfer of packets. There are many routes that can be taken to deliever packet from source to destination but out of all the routes the best route is to be selected, which is done by router and this process is called as routing.
the network id: i.e. the destination network idcost: i.e. the cost or metric of the path through which the packet is to be sentnext hop: The next hop, or gateway, is the address of the next station to which the packet is to be sent on the way to its final destination
See related Link