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

Multiple CE to single PE on the same VPN

t.tashiro
Level 1
Level 1

Hi

I am looking into MPLS VPN's and I have successfully built a lab to test this.i.e. CE-PE-P-P-PE-CE, No problem

However I cannot find any sample configs to show how more that one CE belonging to the same VPN can be connected to the same PE. i.e. CE-PE-P-P-PE-CE

CE/

This may be very simple but I'm a newbie to MPLS VPN's so I'm not quite sure what to do.

Any help would be greatly appreciated

4 Replies 4

tomanderin
Level 1
Level 1

create the VRF with all the relevant configs, eg. RD, route targets, etc, & then share it between interfaces

Hi

That's what I assume but I must be doing something wrong.

I would like to add another CE to serial 3 using BGP as PE-CE routing protocol with an AS of 65003 with the neighbour IP address of 172.16.20.4 which is in the same VPN as CUST_2 (serial 2)

What do I have to do?

Here is my config

PE2#sh run

Building configuration...

!

ip subnet-zero

!

!

ip vrf CUST_2

rd 8375:2

route-target export 8375:2

route-target import 8375:2

ip cef

no tag-switching ip propagate-ttl forwarded

!

!

!

!

interface Loopback0

ip address 192.168.192.254 255.255.255.255

!

interface Serial0

ip address 195.168.1.1 255.255.255.252

tag-switching ip

no fair-queue

!

!

interface Serial2

ip vrf forwarding CUST_2

ip address 172.16.20.1 255.255.255.252

!

interface Serial3

no ip address

shutdown

!

router ospf 1

log-adjacency-changes

network 195.14.64.0 0.0.31.255 area 0

!

router bgp 1

no synchronization

no bgp default ipv4-unicast

bgp log-neighbor-changes

neighbor 192.168.192.254 remote-as 1

neighbor 192.168.192.254 update-source Loopback0

neighbor 192.168.192.254 activate

!

address-family ipv4 vrf CUST_2

redistribute connected

neighbor 172.16.20.2 remote-as 65002

neighbor 172.16.20.2 activate

no auto-summary

no synchronization

exit-address-family

Any help is greatly appreciated

Cheers

Mark

Since the other CE is in the same VPN, they use the same vrf. Hence you have

interface Serial3

ip vrf forwarding CUST_2

ip address 172.16.20.5 255.255.255.252

.

.

router bgp 1

.

.

address-family ipv4 vrf CUST_2

redistribute connected

neighbor 172.16.20.2 remote-as 65002

neighbor 172.16.20.2 activate

neighbor 172.16.20.6 remote-as 65003

neighbor 172.16.20.6 activate

no auto-summary

no synchronization

exit-address-family

Note I assume that you meant to use 172.16.20.4 /30 subnet for the new client,where .5 is on the PE and .6 is on the CE.

Doh!

I knew it would be something simple like that!!!!!!

Thanks for your help. Incidentally I noticed the 172.16.20.4/30 after I posted the message

Cheers

Mark