The ip default-gateway command is used on routers or
communication servers that have IP routing turned off.
The router or communication server acts just like a
host on the network.
The ip route 0.0.0.0 command is used on routers with
IP routing enabled that point to the outside world for
Internet connectivity. This route is advertised as
"gateway of last resort" if running Routing
Information Protocol (RIP). The router that is
directly connected to the border of the outside world
would be the preferred rotuer with the static route
pointing to 0.0.0.0.
The ip default-network command is used when a rotuer
does not how to get to the outside world. The router
goes through a different major network learned
dynamically.
If your environment is all one major network address,
then you would probably not want to use the
default-network command, but rather a static route to
0.0.0.0 via a border router.
Salman Zahid
[EMAIL PROTECTED]
--- Daniel Ma <[EMAIL PROTECTED]> wrote:
> May I know the difference and usage of following:
>
> 1. ip default-network
> 2. ip default-gateway
> 3. ip route 0.0.0.0 0.0.0.0
>
> When and which should I use these commands?
>
>
> Thanks
>
>
> ___________________________________
> UPDATED Posting Guidelines:
> http://www.groupstudy.com/list/guide.html
> FAQ, list archives, and subscription info:
> http://www.groupstudy.com
> Report misconduct and Nondisclosure violations to
[EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com
___________________________________
UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
FAQ, list archives, and subscription info: http://www.groupstudy.com
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]