How To Configure Default Gateway On Cisco Router?

Configuring the default gateway directs the data packets addressed to the specified networks. It directs the packets to the addresses listed in the routing table. If you wish to Configure Default Gateway On Cisco Router, follow the steps mentioned below.

Configure Default Gateway On Cisco Router

Using the IP Commands:

  • In the Command Line window, enter the “ip default-gateway” command when the IP routing is disabled on your Cisco router.
  • Usually, the IP routing will be disabled when the Cisco router is in boot mode.
  • Next, use the “ip-default network” command to set up the gateway of last resort on the router.
  • This command is used when the IP routing is enabled on the Cisco router.
  • If you configure the default gateway using the “ip default-network” command, the route to the network will be flagged as a default route.
  • Enter the “show ip route” command to view the configured default gateway.
  • If the command line displays the “Gateway of last resort is not set” message, note down the static IP that route to the gateway of the last resort.
  • To change the routing table, configure the IP address using the “ip default-network” command.
  • If the gateway of the last resort changes its IP address, then enter the “show ip protocols” command.
  • Now, the gateway of the last resort is set as the default IP address.
  • If you wish to add another default gateway on the Cisco router, enter the “ip default-network” command in the Command Line window.
  • Type the “configure terminal” command to view the default network’s IP address.
  • Enter the “show ip route” command to verify the added default gateway.
  • Next, flag the network as a default network.

If you aren’t able to configure default gateway on Cisco router, contact our technical experts and they will remotely assist you in fixing it.