11-04-2019 03:13 AM
11-04-2019 04:09 AM - edited 11-04-2019 01:38 PM
locally: ip route 0.0.0.0 0.0.0.0 1.1.1.1
on ospf: default-information-originate always
on eigrp: redistribute static metric 100000 1000 255 1 1500 (set you metric in according your an ambient)
on bgp: default-information originate
guide to bgp: https://learningnetwork.cisco.com/thread/41674
guide to ospf: https://learningnetwork.cisco.com/thread/122701
guide to eigrp: https://learningnetwork.cisco.com/thread/33634
11-04-2019 04:24 AM
Hi,
There is no more detail as to which routing protocol are you using?
As @Jaderson Pessoa has mentioned you can use below commands and this will change based on the routing protocol. Also, there are many methods to perform the same.
Static Default Route: ip route 0.0.0.0 0.0.0.0 x.x.x.x --> x.x.x.x is the next hop IP
on ospf:
router ospf 1
default-information-originate always
on eigrp:
router eigrp 1
redistribute static metric 100000 1000 255 1 1500
on bgp:
Router BGP 10
default-information originate
11-04-2019 12:18 PM
11-04-2019 01:36 PM
@Leo Laohoo nice Leo, thank for your suggestion.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide