Community discussions

MikroTik App
 
yaikun94
Member Candidate
Member Candidate
Topic Author
Posts: 110
Joined: Tue Nov 24, 2015 10:05 am

CAPsMAN v2 problem

Tue Nov 24, 2015 10:36 am

Hi Guys,
I have a problem using CAPsMAN with multiple VLANs.
I have 2 RB951G as CAPsMAN and CAP, 1 RB1100 as switch. Both CAPsMAN and CAP are configured to use CAP (CAPsMAN is CAP1 and the other is CAP2). everything is fine with CAP1. But when i enabled CAP2 my client can't receive ip address.

CAPsMAN Bridge
Flags: X - disabled, R - running 
 0  R name="bridge1" mtu=auto actual-mtu=1500 l2mtu=1598 arp=enabled 
      mac-address=4C:5E:0C:D5:2F:25 protocol-mode=rstp 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 
Bridge port
Flags: X - disabled, I - inactive, D - dynamic 
 #    INTERFACE               BRIDGE               PRIORITY  PATH-COST    HORIZON
 0    ether2                  bridge1                  0x80         10       none
 1 I  ether3                  bridge1                  0x80         10       none
 2 I  ether4                  bridge1                  0x80         10       none
 3 I  ether5                  bridge1                  0x80         10       none
 4    wlan1                   bridge1                  0x80         10       none
VLAN
Flags: X - disabled, R - running, S - slave 
 #    NAME                     MTU ARP        VLAN-ID INTERFACE                  
 0 R  vlan10                  1500 enabled         10 bridge1                    
 1 R  vlan20                  1500 enabled         20 bridge1                    
 2 R  vlan30                  1500 enabled         30 bridge1                    
 3 R  vlan40                  1500 enabled         40 bridge1
wireless cap
      enabled: no
                         interfaces: wlan1
                        certificate: none
                   lock-to-caps-man: no
               discovery-interfaces: bridge1
                 caps-man-addresses: 192.168.1.29
                     caps-man-names: 
  caps-man-certificate-common-names: 
                             bridge: none
CAP config
 0 name="VLAN10" mode=ap ssid="ADTEK_GUEST" datapath=vlan10 channel=channel 

 1 name="VLAN20" mode=ap ssid="ADTEK_MGMT" security=vlan20 channel=channel 

 2 name="VLAN30" mode=ap ssid="ADTEK_HR" security=vlan30 channel=channel 

 3 name="VLAN40" mode=ap ssid="ADTEK_ADMIN" security=vlan40 channel=channel
CAP datapath
 0 name="vlan10" bridge=bridge1 local-forwarding=yes vlan-mode=use-tag vlan-id=10 

 1 name="vlan20" client-to-client-forwarding=yes bridge=bridge1 
   local-forwarding=yes vlan-mode=use-tag vlan-id=20 

 2 name="vlan30" client-to-client-forwarding=yes bridge=bridge1 
   local-forwarding=yes vlan-mode=use-tag vlan-id=30 

 3 name="vlan40" client-to-client-forwarding=yes bridge=bridge1 
   local-forwarding=yes vlan-mode=use-tag vlan-id=40 
Thanks in advance. And sorry for my bad english.
 
yaikun94
Member Candidate
Member Candidate
Topic Author
Posts: 110
Joined: Tue Nov 24, 2015 10:05 am

Re: CAPsMAN v2 problem

Mon Nov 30, 2015 4:03 am

someone help me plz =.=!!
i think the problem is in my switch (RB2011) if i plugged my CAP2 directly to my CAPsMAn then everything is fine. My client can received IP address. But if i plugged my CAP2 to switch then to CAPsMAN. My client can not received IP address. Here is my switch conf

Flags: X - disabled, R - running 
 0  R name="bridge access vlan10" mtu=auto actual-mtu=1500 l2mtu=1598 arp=enable>
      mac-address=4C:5E:0C:E3:6B:B0 protocol-mode=rstp 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="bridge access vlan20" mtu=auto actual-mtu=1500 l2mtu=1598 arp=enable>
      mac-address=4C:5E:0C:E3:6B:B0 protocol-mode=rstp 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="bridge access vlan30" mtu=auto actual-mtu=1500 l2mtu=1598 arp=enable>
      mac-address=4C:5E:0C:E3:6B:B0 protocol-mode=rstp 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 

 3  R name="bridge access vlan40" mtu=auto actual-mtu=1500 l2mtu=1600 arp=enable>
      mac-address=4C:5E:0C:E3:6B:B0 protocol-mode=rstp 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 

 4  R name="bridge vlan" mtu=auto actual-mtu=1500 l2mtu=1598 arp=enabled 
      mac-address=4C:5E:0C:E3:6B:B0 protocol-mode=rstp priority=0x8000 
-- [Q quit|D dump|right|down]
port
Flags: X - disabled, I - inactive, D - dynamic 
 #    INTERFACE               BRIDGE               PRIORITY  PATH-COST    HORIZON
 0    ether1                  bridge vlan              0x80         10       none
 1 I  ether2                  bridge access vlan10     0x80         10       none
 2 I  ether3                  bridge access vlan10     0x80         10       none
 3 I  ether4                  bridge access vlan10     0x80         10       none
 4 I  ether5                  bridge access vlan20     0x80         10       none
 5 I  ether6                  bridge access vlan20     0x80         10       none
 6 I  ether7                  bridge access vlan20     0x80         10       none
 7 I  ether8                  bridge access vlan30     0x80         10       none
 8 I  ether9                  bridge access vlan30     0x80         10       none
 9 I  ether10                 bridge access vlan30     0x80         10       none
10 I  ether11                 bridge access vlan40     0x80         10       none
11 I  ether12                 bridge access vlan40     0x80         10       none
12 I  ether13                 bridge access vlan40     0x80         10       none
13    vlan10                  bridge access vlan10     0x80         10       none
14    vlan20                  bridge access vlan20     0x80         10       none
15    vlan30                  bridge access vlan30     0x80         10       none
16    vlan40                  bridge access vlan40     0x80         10       none
 
yaikun94
Member Candidate
Member Candidate
Topic Author
Posts: 110
Joined: Tue Nov 24, 2015 10:05 am

Re: CAPsMAN v2 problem

Wed Dec 02, 2015 6:22 am

ok, i think i have found the problems
whenever i enabled "vlan mode" and "vlan id" on CAPsMAN datapath my clients can't received ip address if CAP2>>Switch>>CAPsMAN. but if i disabled it, everything works fine. So any idea what "vlan mode" and "vlan id" is??? I saw some guide say enabled it to use CAPsMAN with vlan but i have no idea how it works. Thanks in advance and sorry for my bad english

Who is online

Users browsing this forum: No registered users and 35 guests