How to configure CE-router in case of VPLS?

Hi all.

I have a network.
http://s017.radikal.ru/i444/1601/42/7dc4a96fc9e9.jpg

All this configuration for R5-PE
Addresses like 10.255.255.x is a addresses of loopback interfaces lobridge

In this network was setup OSPF and MPLS.

Then I want to configure a VPLS for router(LAN) R10-CE and R8-CE, so as I understood, VPLS need to configure on the R5-PE and R4-PE.
I use this manual http://wiki.mikrotik.com/wiki/Manual:MPLSVPLS
I create a VPLS interface:

On router R4-PE configuration the same, only mac of vpls interface different.

So question is - how configure router on customer side? How to test a VPLS “tunnel”, does it work?
I saw a “Bridging ethernet segments with VPLS” in http://wiki.mikrotik.com/wiki/Manual:MPLSVPLS and I try to create bridge with interface for costumer and VPLS, but I don’t got a connectivity between two LANs

VPLS is a layer 2 bridge, so you should configure R8-CE and R10-CE as if the MPLS cloud were just one big ethernet dumb switch.

In other words, there should be no IP on eth3 of R5-PE…

However, if you want to provide both IP connectivity and VPLS, then you will need to use VLANs on the physical attachment circuits. Of course you’ll be using up 8 bytes of your L2MTU on the attachment circuit, so make sure that you have enough room to cover the VPLS encapsulation and the dot1q header. Otherwise, you’ll need to use two physical links from R5-PE to R10-CE - one for the IP network, and one for the VPLS bridge.

Looking at your diagram again - since you want the two sites to have the same LAN, you wouldn’t even use routers R8 and R10 - you would just plug the LAN directly into the VPLS interface because you want the service provider’s network to be a bridge, extending the customer’s LAN to both sites.

ZeroByte, Thank you for replay.
I try to connect PC to Ethernet ports of PE routers, interfaces of PE routers doesn’t have a addresses.
I think connectivity is established, but I cant see a ping. If I ping from PC1(192.168.0.20) to PC2(.40) I see that PC2 get a packet and push answer to PC1, but PC1 doesn’t get nothing. Why so?

proof of connectivity:
http://s019.radikal.ru/i611/1601/3a/1685fb0cd652.jpg

Does the bridge show both hosts’ MAC addresses at both PE routers?
Does the PC2(.40) have the right MAC address for PC1?

It sounds like the PE router at PC2 might not have the right LSP information for 2->1 direction. Unfortunately, I don’t have a lot of hands-on with MPLS/VPLS, so I can’t give a lot of tips on digging into the labels efficiently, but in general, I’d say to start sniffing packets along the path and see where they get dropped, and then look at the router that first drops it, and find out why.

Do broadcasts go across successfully in both directions? Could it be a split-horizon thing on the bridge at PE-2?

Broadcast from PC1 to PC2 and from PC2 to PC1 go successfully.
I will check where drop packages and read about split-horizon.
I write in here, if get some result

Since you are trying to hand off a 1500 byte ethernet frame, ensure that your MPLS MTU is at least 1530 on all MPLS routers. MTU mismatch can cause all kinds of intermittent issues on an MPLS network.

I found where packets drop.
http://i004.radikal.ru/1601/6c/776d88cb0e36.jpg
Between PC20 and PE4(eth2). Packet from PC are drop.
On PC20 I see: that PC40 ask via ARP who has 0.20 and PC20 answered
http://s017.radikal.ru/i427/1601/01/eb644d77cfeb.jpg
But on interface of PE4 router, which looking on PC20, I don’t see any answer from PC20
http://s42.radikal.ru/i097/1601/9b/d4962079817f.jpg

And PC 20 knows MAC of PC40

I think problem with virtualisation. I use VirtualBox.
Tomorrow try to connect PC20 to other router and maybe change the PC20 to other.
MTU I did not change yet.
I enable horizont on vpls interface.
To capture traffic on interfaces of routers, I use capability of VB:

.\VBoxManage.exe modifyvm PE4 --nictrace3 on --nictracefile3 d:/PE4-eth3.pcap

Maybe I should to write here a configuration of routers?

Hi.
MTU I did not change yet) It really long work.
I try to different configuration
http://s019.radikal.ru/i632/1601/2b/be3e0038b894.jpg
http://s016.radikal.ru/i337/1601/13/a6f7edfeab6c.jpg
But in each of this configuration one of PC did not get response from other.

In first configuration PC40 knows MAC of PC12
In second configuration PC12 knows MAC of PC20

In second configuration I try to ping 192.168.0.255 from PC20&PC12:
If I ping from PC20, on PC12 in tcpdump(This is BSD clone - frenzy) I see that PC20 ping 192.168.0.255.
On PC12 behavior is the same
http://s017.radikal.ru/i438/1601/92/24fc9d781d34.png
http://s019.radikal.ru/i631/1601/a9/1d809a1dd2e8.png

this link contain a mpls forwarding-table and vpls interface detail:
for PE4 http://s019.radikal.ru/i614/1601/95/9f4f43796401.png
for PE6 http://s020.radikal.ru/i705/1601/db/45aae90ad01b.png

If my thinking correct, in such configuration splithorizont doesn’t needed because there are use poin-to-point connection.