ip default-network vs. 0.0.0.0
veritas_libertas
Member Posts: 5,746 ■■■■■■■■■■
in CCNA & CCENT
I realize I should probably know this from my CCENT studies, but I still a little confused about what the benefits of using one over other is:
ip default-network 10.0.0.0
vs.
ip route 0.0.0.0 0.0.0.0 10.0.0.0
ip default-network 10.0.0.0
vs.
ip route 0.0.0.0 0.0.0.0 10.0.0.0
Comments
-
fluk3d Member Posts: 141 ■■■□□□□□□□"Imagination is more important than knowledge." - Albert Einstein
-
veritas_libertas Member Posts: 5,746 ■■■■■■■■■■So the big difference is that ip route 0.0.0.0 0.0.0.0 10.0.0.0 creates a static route only on the router it's created on, and the default-network command is carried by the routing protocol?
-
fluk3d Member Posts: 141 ■■■□□□□□□□That's correct - I also took a snippet from on of Chris Bryant's articles about the topic
"When deciding whether to use a default static route or a default network, keep in mind that if you want the routing protocol to propagate the default route, the ip default-network command will do that for you. But if you want only the local router to have the default route, a static IP route is the way to go."
Cisco Routing: ip default-network vs. Default Static Routes"Imagination is more important than knowledge." - Albert Einstein -
veritas_libertas Member Posts: 5,746 ■■■■■■■■■■This is what I initially thought, but I wanted to be sure.