Default Route | Default Routing

Default Routing

Default Routing
Fig 1: Default Routing


Default routing is the routing in which we use the default route and the default route is "when we don't know about the destination prefix and destination prefix subnet mask " so  in that case we use the default routing and forward the user data to the next router that is also known as the forwarding router and the address of that router is forwarding router address. Here below is the topology for understanding the concept of default routing for the accessing of the destination network.
Default Routing
Fig 2: Topology for Understanding Default Routing

In Fig 2: Topology for Understanding Default Routing we have two routers R1 and R2. Both are in same network R1 has 1.1.1.1 ip address and R2 has 1.1.1.2 ip address. So the main point is communicate the two Local Area Networks by the default route means PC1 that is in 192.168.1.0 network should have to communicate with PC2 is in the 192.168.2.0 network.

For the communication between 192.168.1.100 and 192.168.2.100 first we add the default route on R1 for the 192.168.2.0 network and then add the default route on R2 for the 192.168.1.0 network:

R1(config)#ip route 0.0.0.0 0.0.0.0 1.1.1.2

  • The command to add the Default route is "ip route 0.0.0.0 0.0.0.0 1.1.1.2".
  • "ip route" is the keyword to add  route. 
  • 0.0.0.0 is the network which is known as the prefix network that is the destination network that is unknown that why it is 0.0.0.0
  • 0.0.0.0 is subnet mask of the prefix network that is unknown so that why it is 0.0.0.0
  • 1.1.1.2 is the forwarding router's address and we can use outbound of our router and that command will be "ip route 0.0.0.0 0.0.0.0 s0/0".
  • s0/0 is the outbound interface which is use to propagate the traffic by the specific interface that you define.

R2(config)#ip route 0.0.0.0 0.0.0.0 1.1.1.1

  • The command to add the Default route is "ip route 0.0.0.0 0.0.0.0 1.1.1.1".
  • "ip route" is the keyword to add  route. 
  • 0.0.0.0 is the network which is known as the prefix network that is the destination network that is unknown that why it is 0.0.0.0
  • 0.0.0.0 is subnet mask of the prefix network that is unknown so that why it is 0.0.0.0
  • 1.1.1.1 is the forwarding router's address and we can use outbound of our router and that command will be "ip route 0.0.0.0 0.0.0.0 s0/0".
  • s0/0 is the outbound interface which is use to propagate the traffic by the specific interface that you define.
That routing is known as the Default Routing and default routing is used when you don't know the destination and  you only have to forward the user's data to other router. 

Post a Comment

0 Comments