VMPS only

Edik Mkoyan e.mkoyan at betconstruct.com
Wed Jun 4 15:23:13 CEST 2014


Hi,

I have multivlan wide l2 network and need to implement vmps.
I made server work for single vlan, but I need to make it work with many
vlans and mac2vlan file(I have about 300 hosts). Tell me how to enable
mac2vlan module(if that is a module), when I remove the # sign from the
mapping example line, server crashes with parse error, after the mac
address.

Here is the debug output that works for a single vlan
Waking up in 4.9 seconds.
Cleaning up request 19 ID 10529 with timestamp +1165
Ready to process requests.
        VMPS-Packet-Type = VMPS-Reconfirm-Request
        VMPS-Error-Code = VMPS-No-Error
        VMPS-Sequence-Number = 10545
        VMPS-Client-IP-Address = 192.168.10.218
        VMPS-Port-Name = "Fa0/16"
        VMPS-VLAN-Name = "default"
        VMPS-Domain-Name = "vivaro"
        VMPS-Unknown = 0x01
        VMPS-Cookie = f4:6d:04:48:36:5f
Doing VMPS
+- entering group vmps {...}
        expand: %{VMPS-Mac} ->
++[reply] returns noop
Done VMPS
        VMPS-VLAN-Name = "default"
        VMPS-Cookie = 00:00:00:00:00:00
Finished request 20.
Going to the next request
Waking up in 4.9 seconds.
Cleaning up request 20 ID 10545 with timestamp +1225
Ready to process requests.

and here is the configuration
prefix = /usr
exec_prefix = /usr
sysconfdir = /etc
localstatedir = /var
sbindir = /usr/sbin
logdir = ${localstatedir}/log/radius
raddbdir = ${sysconfdir}/raddb
radacctdir = ${logdir}/radacct

log_file = /var/log/radius/vmpsd.log
log_destination = files
libdir = @libdir@
pidfile = ${localstatedir}/run/vmps.pid
max_request_time = 30
cleanup_delay = 5
listen {
        ipaddr = *
        port = 1589
        type = vmps
        interface = eth1
}

hostname_lookups = no
allow_core_dumps = no
log {
        syslog_facility = daemon
        }

thread pool {
        start_servers = 5
        max_servers = 32
        min_spare_servers = 3
        max_spare_servers = 10
        max_requests_per_server = 0
        }
$INCLUDE clients.conf

vmps {
        update reply {
        VMPS-Packet-Type = VMPS-Join-Response
        VMPS-VLAN-Name = "default"
        VMPS-Cookie = "%{VMPS-Mac}"
        }
}

Best,
Edik.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140604/c9f62d64/attachment.html>


More information about the Freeradius-Users mailing list