Showing results for 
Search instead for 
Did you mean: 

How to configuration between wing controller and aps

How to configuration between wing controller and aps

New Contributor

I tried make the GRE tunnel between Two wing controller and 200 over the APs
but i can't find for the configuration WING GRE anywhere (WING guide, internet searches....)

- WING version :

anyone can help me?

Thank you.

Extreme Employee

First of all what is the reason to tunnel via GRE when you can tunnel via MINT natively. Just use "bridging-mode tunnel" on SSID. On the controller you need just add respective vlan to ethernet interface on controller side.

Please be aware that with VX9000 tunneling is unsupported. 

The only reason to tunnel via GRE is to use different than controller "tunnels concentrator".

The nice things about L2GRE tunnels in Wing are:
- You can have redundant GRE peers (concentrators)
- You can tunnel the traffic from whole RF domain via RF domain manager as well (use: "establishment-criteria rf-domain-manager")

I highly suggest to use AP profile to configure gre tunnels. It's easier

I did once configuration between Wing AP and Ubiquiti Edge Router Pro, catch the example for one AP with single UBNT Edge Router Pro:

wlan L2TUN
ssid L2TUN
vlan 10
bridging-mode local
encryption-type ccmp
authentication-type none
wpa-wpa2 psk 0 yourverysecretpass
relay-agent dhcp-option82

profile ap7632 ap7632-default
no autoinstall configuration
no autoinstall firmware
crypto ikev1 policy ikev1-default
isakmp-proposal default encryption aes-256 group 2 hash sha
crypto ikev2 policy ikev2-default
isakmp-proposal default encryption aes-256 group 2 hash sha
crypto ipsec transform-set default esp-aes-256 esp-sha-hmac
crypto ikev1 remote-vpn
crypto ikev2 remote-vpn
crypto auto-ipsec-secure
crypto load-management
crypto remote-vpn-client
interface radio1
 wlan L2TUN bss 1 primary
interface radio2
  wlan L2TUN bss 1 primary
interface bluetooth1
  mode le-sensor
interface ge1
interface vlan1
  ip address dhcp
  ip address zeroconf secondary
  ip dhcp client request options all
interface pppoe1
use management-policy AP
use firewall-policy default
logging on
logging buffered debugging
controller vlan 1
service pm sys-restart
router ospf
gre tunnel VLAN10-Tun
  peer 1 ip
  tunneled-vlan 10,200
  native vlan 200
 no native tagged
  dscp reflect
establishment-criteria always
adoption-mode controller

By default native vlan is "1". In my caee I had all my lab on on vlan1 so just in order
to not encapsulate untagged packets from vlan1 into gre i used vlan200 as a dummy placeholder (unused).
My target vlan is 10.

Of course to make all work you need to have a router which supports L2 GRE tunneling!
It's not Layer3 GRE, so be aware.

Ubiquiti config (VyOS):

set interfaces bridge br0 aging 300                                            
set interfaces bridge br0 bridged-conntrack disable                            
set interfaces bridge br0 hello-time 5                                         
set interfaces bridge br0 max-age 20                                           
set interfaces bridge br0 multicast disable                                    
set interfaces bridge br0 priority 32768                                       
set interfaces bridge br0 promiscuous disable                                  
set interfaces bridge br0 stp false   
set interfaces ethernet eth1 address
set interfaces ethernet eth1 duplex auto                                       
set interfaces ethernet eth1 speed auto                                        
set interfaces ethernet eth2 bridge-group bridge br0                           
set interfaces ethernet eth2 duplex auto                  
set interfaces tunnel tun100 bridge-group bridge br0
set interfaces tunnel tun100 encapsulation gre-bridge
set interfaces tunnel tun100 local-ip
et interfaces tunnel tun100 multicast enable
set interfaces tunnel tun100 remote-ip
set interfaces tunnel tun100 ttl 255

In the example AP has address, and router has

Also please bear in mind that GRE tunneling will have an impact on overall wireless performance as it is done in the software. I encountered 50% drop of real throughput.