I realize this is an old thread, but I've been tring to run a WLC 9800-CL on Unraid 7 and have been running into the same VLAN/Trunking issues. I couldn't get it to pass tagged traffic to save my life, so I thought if anyone else was trying to accomplish this, here's what I did to get it working.
I'm running C9800-CL-universalk9.17.09.06 and downloaded the QCOW file from Cisco's website.
I have a separate NIC connected to a trunked port on a cheap TP-Link switch. VLANs 10,20,30,40 are tagged on the switch port. VLAN 10 is where the controller's mgmt IP and the APs will join from.
In Unraid Network Settings
Bonded = NO
Bridged = YES. I did not add any other physical NICs to the bridge.
Enable VLANs = NO (I have not yet tried turning this on and creating sub interfaces for additional tagged traffic. IDK if this will break the config or not and I think I'll just put the tagged traffic on another NIC)
Protocol = IPv4 Only
IP Address = None
Unraid VM
Created a new VM from the Redhat template
Changed or set the following. All other settings remained tempalte default.
2 CPU
6GB RAM
Machine Type = Q36 6.0 (I think this was the magic setting)
BIOS = SeaBIOS
VDisk Location = Manual (Browse to the qcow downloaded from Cisco)
Network Source = br1 (could be br0, br2, etc depending on what NIC you use. In my system eth1 = br1). I only need one interface since I'm not configuring a dedicated service port.
WLC Console
Run through the 0 day wizard, don't configure a service port but generate your certs and you can set your IPs here, even configure your wifi if you choose. I prefer to do very minimal stuff here and setup my interfaces from the cli then move to the web interace for the WiFi setup. Below is a summary of my inital basic config.
conf t
no logging console
aaa new-model
aaa authentication login default local
aaa authorization exec default local
int gi1
switchport mode trunk
switchport trunk native vlan 10
switchport trunk allowed vlan 10,20,30,40
switchport nonegotiate
negotiation auto
no mop enabled
no mop sysid
exit
vlan 10
name Prod
vlan 20
name Guest
vlan 30
name IoT
vlan 40
name Dev
int vlan 10
ip address 192.168.0.100 255.255.255.0
no mop enabled
no mop sysid
ip routing
ip route 0.0.0.0 0.0.0.0 192.168.0.1
end
wr
I hope this helps someone.