[CoovaChilli] Can't get VLAN assignment to work with MAC authentication
Giovanni Lovato
giovanni at lova.to
Fri Feb 2 12:02:22 GMT 2018
Hello, before opening an issue on GitHub I’d like to make sure my configuration is right.
I’m trying to setup CoovaChilli with MAC authentication and VLAN assignment, but I cannot get it to work.
This is my configuration:
HS_LANIF=eth0
HS_WANIF=eth1
HS_MACAUTH=on
HS_IEEE8021Q=on
# plus RADIUS configuration
Client requests come from eth0 and are successfully authenticated by RADIUS which replies with a "CoovaChilli-VLAN-Id” attribute based on the authenticate MAC address, e.g.
Request from: 00:11:22:33:44:55 => CoovaChilli-VLAN-Id := 100, CoovaChilli-DHCP-Gateway := 192.168.100.1
Request from: aa:bb:cc:dd:ee:ff => CoovaChilli-VLAN-Id := 200, CoovaChilli-DHCP-Gateway := 192.168.200.1
I would expect then to see packets from 00:11:22:33:44:55 be forwarded to eth1 with VLAN tag 100 (thus receiving DHCP address from 192.168.100.1), and from aa:bb:cc:dd:ee:ff to eth1 with VLAN tag 200 (thus receiving DHCP address from 192.168.200.1).
Is this doable with CoovaChilli or is my scenario not supported?
More information about the CoovaChilli
mailing list