Default Network vs Default Gateway

Nutz

Senior member
Sep 3, 2000
302
0
0
I previously had encountered some confusion regarding the ip default-network and default gateway commands and I'm posting this in case anyone gets confused as I was. So, here is what I got out of my research:

As per cisco, the default network command is a form of a default route, but where you define an available route in the routing table as the default path to use. In a nutshell, it?s for when routers don?t know how to get to the outside world. Typically you?d use it on your external router that connects to the outside world, and that goes through another major network to reach the outside network.


The ip default-gateway is for when the switch (or router when it has routing disabled) needs to send traffic to a different IP network than the one it is on. It is basically the same thing as the Gateway setting in the Network Properties on a workstation. This command is typically used in conjunction with the management IP address for remotely connecting to the switch.


Looking back at it I now see where the confusion started. Cisco had both commands listed on the same page and I kept mixing them together.