cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Welcome to the Cisco Small Business Community

Have a question? Click on a topic board below to get started in the community.
Get the latest news in this issue of the Cisco Small Business Monthly Newsletter

255
Views
0
Helpful
2
Replies
Highlighted
Beginner

gateway of last resort

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

2 REPLIES 2
Highlighted
Advisor

Don't use 0.0.0.0.  Use the

Don't use 0.0.0.0.  Use the actual next hop.

Highlighted
Participant

Hi,don´t use command "ip

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 ?