|
ip default-gateway
CommandIP Default Gateway UseThis command allows the router to maintain routing functionality when it stops being a router. What that means is that, after a router crashes, it falls back to basic switching functionality. The default-gateway is where the router will send all packets. SyntaxRouter(config)#ip default-gateway <ip address> Example
In the below example R1 has lost routing functionality, we will set a default gateway so it can restore reachbility.
After we add the default gateway we can now ping R2's loopback.
|