Page 1 of 1

VPLS id

Posted: Sun Jul 21, 2013 8:43 am
by NicholasMag
Hello guys,

So I'm very new to OSPF and MPLS and VPLS, just switched our bridged network to routed and these have made it really simple for the switchover. I have VPLS working but id like to have it set up correctly as in best practices and 1:1 and 2:2 and 3:3 don't cut it.

Ive read http://forum.mikrotik.com/viewtopic.php?f=14&t=62615 but i don't get the breakdown on how to format the VPLS ID exactly. What is AsNum and AsIp???

Can anyone break it down a little more? Sorry every thing I've learned is self taught and the VPLS id seems to be very vague in documentation besides this breakdown. Any links that describe this in more detail would be much appreciated.

Thanks in advanced.

Re: VPLS id

Posted: Sun Jul 21, 2013 11:18 am
by samsung172
I use the loopback ip:site id (same as ibgp as number) and if a router have more than one tunell, just take the next number (last octet) to next tunnel.

eg my router at site 14 will be:

loopback : 172.31.0.14
bgp as nr: 14
vpls id 172.31.0.14:14

router at site 175:

loopback: 172.31.0.175
bgp as nr: 175
vpls id 172.31.0.175:175


Also used to id in MPLS lsr-id and transport, ospf routerid and "all places" that need an id setting.


(and yes, its possible to have more than 255, just start at 172.31.1.xxx)

Re: VPLS id

Posted: Sun Jul 21, 2013 3:44 pm
by barkas
Normally that would be

<AS Number>:<anything you want>

Ideally, you should use one of these [quote=wikipedia] The Internet Assigned Numbers Authority (IANA) has designated AS numbers 64512 through 65534 to be used for private purposes.[/quote]

EDIT: AS number is the assigned number of your autonomous system. Most people do not have one :) , so use one of the abovementioned private ones.

Re: VPLS id

Posted: Sun Jul 21, 2013 7:41 pm
by samsung172
you run confederation, and use whatever as you want as ibgp.

Re: VPLS id

Posted: Sun Jul 21, 2013 8:03 pm
by NicholasMag
Thanks barkas and samsung172,

Let me make sure I understand this:

@samsung172 - So in area1 router 19 (172.1.100.19), I need access to the PPPoE Concentrator, so I VPLS tunnel from router to the concentrator (172.1.100.1), I would structure the VPLS ID as EDIT: 19:172.1.100.19 correct?

Re: VPLS id

Posted: Sun Jul 21, 2013 8:10 pm
by NicholasMag
Or would it be 172.1.100.19:19

Or does it matter really, as long as it matches on both ends?

Re: VPLS id

Posted: Sun Jul 21, 2013 8:49 pm
by samsung172
It does not matter. But its a lot more easier to follow the id setting plan. if you get many tunnels, it can be difficult to have all with random numbers.