cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
388
Views
0
Helpful
6
Replies

Originating Default route

wgranada1
Level 1
Level 1

Hi I'm not sure how to do this so was looking for someone to give some advice.

What I'm trying to do is I have a BGP peering and there are some routes that need to go over my internet connection. So what he is asking me to do is for me to originate a defualt route and advertise it over the BGP connection. The router that is doing the peering on my side is rt4. I think of doing this:

Please see attached

6 Replies 6

wgranada1
Level 1
Level 1

I was looking on my RT4 and noticed that there is a Gateway of last resort that is

configured which points to the internet

should I advertise that over BGP instead

of what I did above?

Edison Ortiz
Hall of Fame
Hall of Fame

Please see

http://www.cisco.com/en/US/docs/ios/iproute/configuration/guide/irp_bgp_basic_net_ps6350_TSD_Products_Configuration_Guide_Chapter.html#wp1055819

on how to advertise a default-route in BGP.

The attached file isn't advertising a default route but it's just advertising a host device in BGP.

HTH,

__

Edison.

Sorry I guess I not a very good explainer what I wanted to do is I have a BGP peer and I'm advertising certain subnets to him via prefix-list and route-maps what I was trying to do is the distant end has maybe 1 or 2 servers that needs to use my internet services

Can I just make up an IP address put a static route pointing to the internet and advertise that made up IP address over BGP so whatever server on his side needs to hit the internet he can point it to that made up IP address and that will take it to the internet? Is that doable?

ok I looked this over again and I think I got it going to try it out and see what happens.

Thank you in advance

Warren

Hi I dont know if you remember me from SG IOC but here is a tip as Edison mentioned

Advertising a Default Route Using BGP

Perform this task to advertise a default route to BGP peers. The default route is locally originated. A default route can be useful to simplify configuration or to prevent the router from using too many system resources. If the router is peered with an Internet service provider (ISP), the ISP will carry full routing tables, so configuring a default route into the ISP network saves resources at the local router.

SUMMARY STEPS

1. enable

2. configure terminal

3. ip prefix-list list-name [seq seq-value] {deny network/length | permit network/length} [ge ge-value] [le le-value]

4. route-map map-tag [permit | deny] [sequence-number]

5. match ip address {access-list-number [access-list-number... | access-list-name...] | access-list-name [access-list-number... | access-list-name] | prefix-list prefix-list-name [prefix-list-name...]}

6. exit

7. router bgp autonomous-system-number

8. neighbor {ip-address | peer-group-name} default-originate [route-map map-name]

9. end

Also in BGPtheir are three origin types which are carried within the BGP message

I = --> Via static default route

E = --> Via network statement originating

Incomplete = --> Via redistribution form another RP

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card