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

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 1.1.1.1

2. R3 has loopback 3.3.3.3

3. PE and R4 have 2 subif : for vrf b : 10.10.24.4/30 and vrf c : 10.10.24.8/30

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 1.1.1.1 255.255.255.255 10.10.24.6 //to R1 but going to R4 first.

2. vrf b 3.3.3.3 255.255.255.255 10.10.23.3 //to reach loopback R3

3. vrf a 3.3.3.3 255.255.255.255 10.10.24.10 //to R3 but going to R4.

4. vrf a 1.1.1.1 255.255.255.255 10.10.24.2 //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 10.10.24.0/30. 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 3.3.3.3 255.255.255.255 10.10.24.5 // to reach R3.

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

3. vrf c 1.1.1.1 255.255.255.255 10.10.24.9/ to reach R1

4. vrf c 3.3.3.3 255.255.255.255 10.10.24.5 // 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

1 REPLY
New Member

[Ask] vrf and static routing

Up uP

128
Views
0
Helpful
1
Replies
CreatePlease to create content