Where do we use "ip default-network 0.0.0.0"?

workfrom925workfrom925 Member Posts: 196
I'm familiar with using "ip route 0.0.0.0 0.0.0.0 s0/0/0" to forward all unknown ip traffic to a default route, but where and when do we use "ip default-network 0.0.0.0"? Is it different from "ip route 0.0.0.0 0.0.0.0 s0/0/0" at all?

Comments

  • powmiapowmia Users Awaiting Email Confirmation Posts: 322
    You typically wouldn't use 0.0.0.0 with that command. It would be more like "ip default-network 192.168.2.0" which tells your router to look in its RIB for that subnet. If that subnet exists, the same next hop will be used to send traffic to any subnet that does not exist in the RIB (default route).
Sign In or Register to comment.