cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
684
Views
0
Helpful
4
Replies

routing- what the command for configure and redistribute a default route for internet access

Moshi
Level 1
Level 1
4 Replies 4

Jaderson Pessoa
VIP Alumni
VIP Alumni

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

Jaderson Pessoa
*** Rate All Helpful Responses ***

Deepak Kumar
VIP Alumni
VIP Alumni

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

 

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Leo Laohoo
Hall of Fame
Hall of Fame
Jaderson & Deepak,
It is very clear this thread is school work.
Help the students learn: Post the links to documents and (configuration guides).
Please refrain from handing out answers.

@Leo Laohoo nice Leo, thank for your suggestion.

Jaderson Pessoa
*** Rate All Helpful Responses ***
Review Cisco Networking products for a $25 gift card