Community discussions

MikroTik App
 
tonyd
newbie
Topic Author
Posts: 49
Joined: Fri Jul 20, 2012 3:31 pm

Transporting VLANs over VPLS??

Tue Nov 13, 2012 10:21 pm

Hello,

I'm new to the Mikrotik world so I would greatly appreciate any help you might be able to lend me. I have to say that I've had an eye opener having dug into what RouterOS can do, wow! I am trying to set up (LAB) a configuration to transport several vlans over a VPLS Tunnel. I can/have set up the VPLS Tunnel and verified Layer 2 connectivity between both sides. What I can't seem to get working is transporting one or more vlans. Interesting, and likely I am not understanding what I am seeing, I do show traffic on the vlans on both the vpls and ethernet interfaces. However, I do not have layer 2 connectivity. I understand MTU size plays a crucial role. I have played around with MTU settings for MPLS, VPLS, etc (my config will probably look hacked up now). I'm obviously missing something. It could even be how I have my VLANs set up. Once I get it working in my lab I'll end up deploying across my backbone/Cisco. I do understand that, again, MTU is critical and that ALL interfaces transporting traffic must have a minimum MTU; while I've found there is some difference of opinion as to what that should be. I run Jumbo Frames to support WiMAX over my Dragonwave backhaul. I'll post the config of both sides and a few screen shots to visualize.


R1
[admin@MikroTik] > /mpls print
  dynamic-label-range: 16-1048575
        propagate-ttl: yes

[admin@MikroTik] > mpls interface print detail
Flags: X - disabled, * - default
 0  * interface=all mpls-mtu=1600

[admin@MikroTik] > /mpls ldp interface print detail
Flags: X - disabled, I - invalid
 0   interface=ether2 hello-interval=5s hold-time=15s
     transport-address=10.100.1.1 accept-dynamic-neighbors=yes

[admin@MikroTik] > /interface vpls print detail
Flags: X - disabled, R - running, D - dynamic,
B - bgp-signaled, C - cisco-bgp-signaled
 0 R   name="vpls-wimax" mtu=1600 l2mtu=1600 mac-address=02:F6:1B:9E:4A:0A
       arp=enabled disable-running-check=no remote-peer=10.100.1.2
       vpls-id=0:0 cisco-style=no cisco-style-id=0 advertised-l2mtu=1600
       pw-type=raw-ethernet

[admin@MikroTik] > /interface vlan print detail
Flags: X - disabled, R - running, S - slave
 0 R  name="eth_vlan520" mtu=1500 mac-address=00:90:0B:1D:FF:8A arp=enabled
      vlan-id=520 interface=ether3 use-service-tag=no

 1 R  name="vpls_vlan520" mtu=1500 l2mtu=1596 mac-address=02:F6:1B:9E:4A:0A
      arp=enabled vlan-id=520 interface=vpls-wimax use-service-tag=no

 2 R  name="eth_vlan920" mtu=1500 mac-address=00:90:0B:1D:FF:8A arp=enabled
      vlan-id=920 interface=ether3 use-service-tag=no

 3 R  name="vpls_vlan920" mtu=1500 l2mtu=1596 mac-address=02:F6:1B:9E:4A:0A
      arp=enabled vlan-id=920 interface=vpls-wimax use-service-tag=no

[admin@MikroTik] > /interface ethernet print detail
Flags: X - disabled, R - running, S - slave
 0 R  ;;; Management
      name="ether1" mtu=1500 mac-address=00:90:0B:1D:FF:88 arp=enabled
      disable-running-check=yes auto-negotiation=yes full-duplex=yes
      cable-settings=default speed=100Mbps

 1 R  ;;; VPLS Tunnel
      name="ether2" mtu=1500 mac-address=00:90:0B:1D:FF:89 arp=enabled
      disable-running-check=yes auto-negotiation=yes full-duplex=yes
      cable-settings=default speed=100Mbps

 2 R  ;;; To Trunked Switchport (vlans 520/920)
      name="ether3" mtu=1500 mac-address=00:90:0B:1D:FF:8A arp=enabled
      disable-running-check=yes auto-negotiation=yes full-duplex=yes
      cable-settings=default speed=100Mbps

 3 X  name="ether4" mtu=1500 mac-address=00:90:0B:1D:FF:8B arp=enabled
      disable-running-check=yes auto-negotiation=yes full-duplex=yes
      cable-settings=default speed=100Mbps

 4 X  name="ether5" mtu=1500 mac-address=00:90:0B:1D:FF:8C arp=enabled
      disable-running-check=yes auto-negotiation=yes full-duplex=yes
      cable-settings=default speed=100Mbps

 5 X  name="ether6" mtu=1500 mac-address=00:90:0B:1D:FF:8D arp=enabled
      disable-running-check=yes auto-negotiation=yes full-duplex=yes
      cable-settings=default speed=100Mbps

 6 X  name="ether7" mtu=1500 mac-address=00:90:0B:1D:FF:8E arp=enabled
      disable-running-check=yes auto-negotiation=yes full-duplex=yes
      cable-settings=default speed=100Mbps

 7 X  name="ether8" mtu=1500 mac-address=00:90:0B:1D:FF:8F arp=enabled
      disable-running-check=yes auto-negotiation=yes full-duplex=yes
      cable-settings=default speed=100Mbps

[admin@MikroTik] > /interface bridge print detail
Flags: X - disabled, R - running
 0  R name="loopback0" mtu=1500 l2mtu=65535 arp=enabled
      mac-address=00:00:00:00:00:00 protocol-mode=none priority=0x8000
      auto-mac=yes admin-mac=00:00:00:00:00:00 max-message-age=20s
      forward-delay=15s transmit-hold-count=6 ageing-time=5m

 1  R name="vpls_bridge" mtu=1600 l2mtu=65535 arp=enabled
      mac-address=02:F6:1B:9E:4A:0A protocol-mode=none priority=0x8000
      auto-mac=yes admin-mac=00:00:00:00:00:00 max-message-age=20s
      forward-delay=15s transmit-hold-count=6 ageing-time=5m

 2  R name="vlan_bridge" mtu=1600 l2mtu=1596 arp=enabled
      mac-address=00:90:0B:1D:FF:8A protocol-mode=none priority=0x8000
      auto-mac=yes admin-mac=00:00:00:00:00:00 max-message-age=20s
      forward-delay=15s transmit-hold-count=6 ageing-time=5m
R2
[admin@MikroTik] > /mpls print
  dynamic-label-range: 16-1048575
        propagate-ttl: yes

[admin@MikroTik] > /mpls interface print detail
Flags: X - disabled, * - default
 0  * interface=all mpls-mtu=1600

[admin@MikroTik] > /mpls ldp interface print detail
Flags: X - disabled, I - invalid
 0   interface=ether2 hello-interval=5s hold-time=15s transport-address=10.100.1.2
     accept-dynamic-neighbors=yes

[admin@MikroTik] > /interface vpls print detail
Flags: X - disabled, R - running, D - dynamic, B - bgp-signaled, C - cisco-bgp-signaled
 0 R   name="vpls-wimax" mtu=1600 l2mtu=1600 mac-address=02:49:BF:8A:04:66 arp=enabled
       disable-running-check=no remote-peer=10.100.1.1 vpls-id=0:0 cisco-style=no cisco-style-id=0
       advertised-l2mtu=1600 pw-type=raw-ethernet

[admin@MikroTik] > /interface vlan print detail
Flags: X - disabled, R - running, S - slave
 0    name="eth_vlan520" mtu=1500 l2mtu=1518 mac-address=00:0C:42:58:F7:EB arp=enabled vlan-id=520
      interface=ether3 use-service-tag=no

 1 R  name="vpls_vlan520" mtu=1500 l2mtu=1596 mac-address=02:49:BF:8A:04:66 arp=enabled vlan-id=520
      interface=vpls-wimax use-service-tag=no

 2    name="eth_vlan920" mtu=1500 l2mtu=1518 mac-address=00:0C:42:58:F7:EB arp=enabled vlan-id=920
      interface=ether3 use-service-tag=no

 3 R  name="vpls_vlan920" mtu=1500 l2mtu=1596 mac-address=02:49:BF:8A:04:66 arp=enabled vlan-id=920
      interface=vpls-wimax use-service-tag=no

[admin@MikroTik] > /interface ethernet print detail
Flags: X - disabled, R - running, S - slave
 0 R  name="ether1" mtu=1526 l2mtu=1526 mac-address=00:0C:42:58:F7:E9 arp=enabled auto-negotiation=yes
      full-duplex=yes speed=100Mbps

 1 R  name="ether2" mtu=1500 l2mtu=1522 mac-address=00:0C:42:58:F7:EA arp=enabled auto-negotiation=yes
      full-duplex=yes speed=100Mbps master-port=none bandwidth=unlimited/unlimited switch=switch1

 2    name="ether3" mtu=1500 l2mtu=1522 mac-address=00:0C:42:58:F7:EB arp=enabled auto-negotiation=yes
      full-duplex=yes speed=100Mbps master-port=none bandwidth=unlimited/unlimited switch=switch1

[admin@MikroTik] > /interface bridge print detail
Flags: X - disabled, R - running
 0  R name="loopback0" mtu=1500 l2mtu=65535 arp=enabled mac-address=00:0C:42:58:F7:EB protocol-mode=none
      priority=0x8000 auto-mac=yes admin-mac=00:00:00:00:00:00 max-message-age=20s forward-delay=15s
      transmit-hold-count=6 ageing-time=5m

 1  R name="vpls_bridge" mtu=1526 l2mtu=65535 arp=enabled mac-address=02:49:BF:8A:04:66 protocol-mode=none
      priority=0x8000 auto-mac=yes admin-mac=00:00:00:00:00:00 max-message-age=20s forward-delay=15s
      transmit-hold-count=6 ageing-time=5m

 2  R name="vlan_bridge" mtu=1500 l2mtu=1596 arp=enabled mac-address=02:49:BF:8A:04:66 protocol-mode=none
      priority=0x8000 auto-mac=yes admin-mac=00:00:00:00:00:00 max-message-age=20s forward-delay=15s
      transmit-hold-count=6 ageing-time=5m
Topo

Interfaces
mt_interfaces.png
MPLS State
mpls.png
VPLS State
vpls.png
You do not have the required permissions to view the files attached to this post.
 
tonyd
newbie
Topic Author
Posts: 49
Joined: Fri Jul 20, 2012 3:31 pm

Re: Transporting VLANs over VPLS??

Tue Nov 13, 2012 10:28 pm

Topo

Cisco Catalyst 2960G
Ports facing routers are trunked and ports facing a laptop to test vlan connectivity are access ports
Selection_062.png
You do not have the required permissions to view the files attached to this post.
 
tonyd
newbie
Topic Author
Posts: 49
Joined: Fri Jul 20, 2012 3:31 pm

Re: Transporting VLANs over VPLS??

Wed Nov 14, 2012 8:33 pm

Ok, I seem to have my VPLS Tunnel up and running and VLANs operating over the tunnel. If I connect a laptop to access port on switch 2 and modem to access port on switch 1 (both vlan 520) I can pull DHCP, and browse pages, send email, etc. However, pinging the other side of the /30 I do get packet fragmentation. This forum post http://forum.mikrotik.com/viewtopic.php?f=14&t=62293 talked about changing the MTU on all LDP interfaces. I'm not entirely clear on what all the LDP interfaces are. I assume (I know, don't... so I ask), the physical port which carries the VPLS and VLANs (ether2), the MPLS interface, and the VPLS interface. Does this also include the Bridge interface? Or do I have it all wrong. Could you direct me to the interfaces I need to change? BTW, when I attempt to change the MTU on the physical interface ether2, I get an error. I've included a screenshot to visualize what I see. Thanks for any help you can send my way.
[admin@MikroTik] > ping 10.100.1.2 size=1526 do-not-fragment
HOST                                     SIZE TTL TIME STATUS
                                                        packet too large and cannot be fragmented
10.100.1.1                                576  64 6ms fragmentation needed...
    sent=1 received=0 packet-loss=100%

[admin@MikroTik] > ping 10.100.1.2 size=1516 do-not-fragment
HOST                                     SIZE TTL TIME STATUS
                                                        packet too large and cannot be fragmented
10.100.1.1                                576  64 1ms fragmentation needed and DF set
    sent=1 received=0 packet-loss=100%

[admin@MikroTik] > ping 10.100.1.2 size=1496 do-not-fragment
HOST                                     SIZE TTL TIME STATUS
10.100.1.2                               1496  64 0ms
10.100.1.2                               1496  64 0ms
    sent=2 received=2 packet-loss=0% min-rtt=0ms avg-rtt=0ms max-rtt=0ms

[admin@MikroTik] >
ZBPXLqQjDf.png
You do not have the required permissions to view the files attached to this post.
 
dellis
just joined
Posts: 2
Joined: Wed May 01, 2024 8:30 pm
Location: Medina, NY

Re: Transporting VLANs over VPLS??

Wed May 01, 2024 8:50 pm

Curious on your final results, as this is what I'm currently hung up on. What was it you found in the end that got VLAN transport across to endpoints working?

Who is online

Users browsing this forum: No registered users and 2 guests