09-12-2006 08:02 AM - edited 03-03-2019 01:58 PM
I need to change the default gateway on a router that already has it set. How can you change the default gateway. Any help will be appreciated.
09-12-2006 08:33 AM
hi,
Use the command in global configuration
to remove ur existing defualt gateway
When ip routing is enabled on the Cisco router
router(config)#no ip default-network x.x.x.x
and add this command
router(config)#ip default-network x.x.x.x
and
when ip routing is disabled on the Cisco router.
use this commands
router(config)#no ip default-gateway x.x.x.x
to remove existing default router.
add using
router(config)#ip default-gateway x.x.x.x
HTH
Thanks,
Raj
09-12-2006 08:34 AM
The default gateway is usually represented with the command
ip route 0.0.0.0 0.0.0.0 [default gateway ip]
However, the default gateway can also be injected from remote routers by using dynamic routing protocols.
If you post the output from typing
#show ip route 0.0.0.0
we can help you better.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide