Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

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
VIP Purple

Don't use 0.0.0.0.  Use the

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

Bronze

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 ?

72
Views
0
Helpful
2
Replies
CreatePlease login to create content