01-13-2016 12:45 AM
Hi,
To set the default gateway in a Cisco router I can use: ip default-network 0.0.0.0
I don't understand 0.0.0.0. Which is the next hop? I know the command: ip route 0.0.0.0 0.0.0.0 x.x.x.x where x.x.x.x is the next hop
Regards
01-13-2016 12:48 AM
Don't use 0.0.0.0. Use the actual next hop.
01-14-2016 11:39 PM
Hi,
don´t use command "ip default-network".
"ip route 0.0.0.0 0.0.0.0 interface x.x.x.x" is better for this purpose.
Command "ip default-network" is from times when classful addresses were used.
So this command has strange behaviour in classless network.
You must know what you are doing if you want to use it.
Do you have any good reason to use exactly this command ?
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