Syntax of mac2vlan file in freeradius?
Posted
by
Edik Mkoyan
on Server Fault
See other posts from Server Fault
or by Edik Mkoyan
Published on 2014-06-02T13:50:22Z
Indexed on
2014/06/02
15:31 UTC
Read the original article
Hit count: 314
freeradius
below is the content of mac2vlan file in freeradius When I uncomment this 00:01:02:03:04:05,VLAN1 it logs parsing error including configuration file /etc/raddb/modules/mac2vlan /etc/raddb/modules/mac2vlan[10]: Parse error after "00:01:02:03:04:05" Errors reading /etc/raddb/radiusd.conf what is the correct syntax?
# -*- text -*-
#
# $Id$
# A simple file to map a MAC address to a VLAN.
#
# The file should be in the format MAC,VLAN
# the VLAN name cannot have spaces in it, for example:
#
00:01:02:03:04:05,VLAN1
# 03:04:05:06:07:08,VLAN2
# ...
passwd mac2vlan {
filename = ${confdir}/mac2vlan
format = "*VMPS-Mac:=VMPS-VLAN-Name"
delimiter = ","
#}
© Server Fault or respective owner