cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
689
Views
5
Helpful
13
Replies

BGP:preferred outgoing path

hi gurus,

is it possible to use local preference on this kind of setup? attached here is the diagram. i want each block of ip address to have different outgoing path.

tia.

13 Replies 13

Haris P
Level 4
Level 4

I think the only way to acheive your aim will be by using route-map .

Regards

Haris

Hi Haris,

route-map and then use local preference? im using ibgp ,can you provide me a sample config.

Can i influence outgoing based on source address coming from my network ?

tnx

for outgoing you can use local peference and for inbound traffic, you may use community attributes

http://www.cisco.com/en/US/docs/ios/12_4t/ip_route/configuration/guide/t_brbext.html#wp1052018

hi aries,

can i influence outgoing traffic based on source which is my network address?

tnx

Hello Jefferson,

>> can i influence outgoing traffic based on source which is my network address?

not using BGP you should use PBR policy based routing for this

if you want that traffic with source 10.10.20.0/24 goes out via AS 200 and traffic with source 10.10.10.0/24 goes out via AS 500 as showed in your picture BGP is not enough.

BGP provides a lot of tools and policies but it works on destination address.

So BGP can be helpful on trying to influence the return path from internet.

To achieve what you want the distribution multilayer switches have to use PBR with next hop the lan ip address of the correct border router (the one connecting to AS 200, and the one connecting to AS 500 in your picture)

Hope to help

Giuseppe

Hi Guiseppe,

I would create a PBR then enable it on the interface in the core network not on the border router. how bout using vrf ?

tnx a lot.

Hello Jefferson,

yes on the core router towards the border router.

>> how bout using vrf ?

if the needs are that net 10.10.20.0/24 should access internet only and via AS 200 and the same for 10.10.10.0/24 via AS 500 you can think to use two VRFs.

You can do this if AS 200 and AS 500 are only used for these networks.

In this way you separate the networks and you don't need PBR.

If other IP networks need to use AS 200 and AS 500 PBR is a better solution.

Hope to help

Giuseppe

Hi Giuseppe,

Yes other networks need to use this. another thing my GSR12406 dont have pbr enabled. im using 12.0(38), can i enable this one?

tnx.

Hello Jefferson,

in the case of GSR what counts is the linecard if you have an engine3 4GE I think PBR should be fine.

I remember I tested PBR on these linecards.

3GE engine2 can have some limitations but it should work too.

Hope to help

Giuseppe

Hi Giuseppe,

I only 3GE line cards and i think they dont support pbr.

Hello Jefferson,

you are right:

RT-TO-CRN-SI-E-1(config-if)#ip policy ?

% Unrecognized command

RT-TO-CRN-SI-E-1(config-if)#ip policy

I verified on one of our GSR that has a 3GE engine2 linecard

You need to verify if you can configure a GRE tunnel between access router and border router so that you can send traffic over it

Hope to help

Giuseppe

Dear Giuseppe,

Doing with vrf will be a great idea ,but it will not provide the redundancy for him .

For redundancy he may use PBR with object tracking

http://www.cisco.com/en/US/tech/tk364/technologies_configuration_example09186a0080211f5c.shtml

Regards

Haris

Mohamed Sobair
Level 7
Level 7

Hi,

If the routers in AS100 are all IBGP peers, then yes , setting the local prefrence for a set of prefixes would have different outgoing path.

Assuming all routers in AS100 are IBGP peers or within a Confederation (Confederation Members).

By default, IBGP updates carries the following manadatory attributes:

1- As path.

2- local prefrence.

3- Origin.

HTH

Mohamed

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