Need help regarding default route in cisco
hi ,
I am trying lot but i am not fully able to understood default route.
From my under standing , this means that for all routes which router don't know , send it to this addrress.
What is the difference between these commands
I am trying lot but i am not fully able to understood default route.
From my under standing , this means that for all routes which router don't know , send it to this addrress.
What is the difference between these commands
- ip default-network 20.20.20.1
- default-information originate
- ip route 0.0.0.0 0.0.0.0 nullo ---- in this why he didn't choose which network to send default route
Comments
-
Ryan82 Member Posts: 428This document should help clear up the differences:
Configuring a Gateway of Last Resort Using IP Commands - Cisco Systems -
pham0329 Member Posts: 556hi ,
I am trying lot but i am not fully able to understood default route.
From my under standing , this means that for all routes which router don't know , send it to this addrress.
What is the difference between these commands- ip default-network 20.20.20.1
- default-information originate
- ip route 0.0.0.0 0.0.0.0 nullo ---- in this why he didn't choose which network to send default route
ip default-network is used to advertise a default, er, network, to other routers. It essentially tells them to send anything they don't know about, to this network (not next hop address). Because it's a network and not a next hop address, the packet may have to go through more than one router to get to the gateway.
Default-information originate is used in OSPF to advertise a default route to neighboring OSPF routers
ip route is used to statically assign a default gateway to the router. As far as why Null0 is used, refer to Use a Static Route to the Null0 Interface for Loop Prevention [IP Routed Protocols] - Cisco Systems