Default Gateway for a Host – Network Gateway





In this article we will discuss Default Gateway for a Host – Network Gateway, will make brief discussion on Default Gateway for a Host. In last article we discuss about Verify Interface Configuration.



Default Gateway for a Host

For an end device to communicate over the network, it must be configured with the correct IP address information, including the default gateway address. The default gateway is only used when the host wants to send a packet to a device on another network. The default gateway address is generally the router interface address attached to the local network of the host. The IP address of the host device and the router interface address must be in the same network.



Default Gateway for a Host - Network Gateway
Default Gateway for a Host – Network Gateway




In this topology as you can see, G0/0 is connected to network 192.168.10.0, while G0/1 is connected to network 192.168.11.0. Each host device is configured with the appropriate default gateway address.

PC1 sends a packet to PC2. In this example, the default gateway is not used. Instead, PC1 addresses the packet with the IP address of PC2 and forwards the packet directly to PC2 through the switch.

PC1 sends a packet to PC3. In this example, PC1 addresses the packet with the IP address of PC3, but then forwards the packet to the router. The router accepts the packet, accesses its routing table to determine the appropriate exit interface based on the destination address, and then forwards the packet out of the appropriate interface to reach PC3.

Add a Comment

Your email address will not be published. Required fields are marked *