Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

[Ask] vrf and static routing

dear all,

i want to ask something about my scenarios, i have 1 PE  router and 4 router(R1,R3,R4,R5) attached with the PE, in PE router  running vrf-leaking and lite, and R4 running vrf-leaking and lite too.  R3 want to communicate with R1, but not through PE, PE have static route  to next hop in R4 and R4 have static route back to PE, for R5 do the  same, but we are concerned to R3 first. for the details, im attach my  topology in GNS3[flow data].

note :

1. R1 has loopback

2. R3 has loopback

3. PE and R4 have 2 subif : for vrf b : and vrf c :

in  PE and R3, has vrf forwarding b, in PE and R4, have 2 sub if, 1 is vrf  forwarding b, and 1 is vrf forwarding c, and PE and R1, has forwarding  a. so the flow is, R3 through vrf b, and going to vrf b to R4. and R4  continued it to vrf c and PE continued to vrf a. i put static route in  PE :

1. vrf b //to R1 but going to R4 first.

2. vrf b //to reach loopback R3

3. vrf a //to R3 but going to R4.

4. vrf a //to reach loopback R1

im  leaking vrf a and c. so, in route vrf a, static via vrf c showed in vrf  a. in my thought, its make sense that static must know the up/up  interface. int vrf a didnt have connected so after  leaking it comes.


note : why can i just make 2 vrf just a and b, not through c? because its different.

in R4 i put static :

1. vrf b // to reach R3.

2. vrf b // to reach R1 after redirect from R3

3. vrf c to reach R1

4. vrf c // to reach R3 after redirect from R1

and R4 for leaking im using bgp to leak it.

so, my question is :

1. its right i using bgp in R4? because, someone in my colleague, its no need.

2. its my static true? because in GNS, after i tracert in R3 it redirect to R4 first.

3. this vrf concept makes me confuse. please help...

thank you, and im sorry about my bad english

New Member

[Ask] vrf and static routing

Up uP

CreatePlease to create content