<div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>I have multivlan wide l2 network and need to implement vmps. <br></div>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.<br>
<br></div>Here is the debug output that works for a single vlan<br>Waking up in 4.9 seconds.<br>Cleaning up request 19 ID 10529 with timestamp +1165<br>Ready to process requests.<br> VMPS-Packet-Type = VMPS-Reconfirm-Request<br>
VMPS-Error-Code = VMPS-No-Error<br> VMPS-Sequence-Number = 10545<br> VMPS-Client-IP-Address = 192.168.10.218<br> VMPS-Port-Name = "Fa0/16"<br> VMPS-VLAN-Name = "default"<br>
VMPS-Domain-Name = "vivaro"<br> VMPS-Unknown = 0x01<br> VMPS-Cookie = f4:6d:04:48:36:5f<br>Doing VMPS<br>+- entering group vmps {...}<br> expand: %{VMPS-Mac} -> <br>++[reply] returns noop<br>
Done VMPS<br> VMPS-VLAN-Name = "default"<br> VMPS-Cookie = 00:00:00:00:00:00<br>Finished request 20.<br>Going to the next request<br>Waking up in 4.9 seconds.<br>Cleaning up request 20 ID 10545 with timestamp +1225<br>
Ready to process requests.<br><br></div>and here is the configuration<br>prefix = /usr<br>exec_prefix = /usr<br>sysconfdir = /etc<br>localstatedir = /var<br>sbindir = /usr/sbin<br>logdir = ${localstatedir}/log/radius<br>
raddbdir = ${sysconfdir}/raddb<br>
radacctdir = ${logdir}/radacct<br><br>log_file = /var/log/radius/vmpsd.log<br>log_destination = files<br>libdir = @libdir@<br>pidfile = ${localstatedir}/run/vmps.pid<br>max_request_time = 30<br>cleanup_delay = 5<br>listen {<br>
ipaddr = *<br> port = 1589<br> type = vmps<br> interface = eth1<br>}<br><br>hostname_lookups = no<br>allow_core_dumps = no<br>log {<br> syslog_facility = daemon<br> }<br><br>thread pool {<br>
start_servers = 5<br> max_servers = 32<br> min_spare_servers = 3<br> max_spare_servers = 10<br> max_requests_per_server = 0<br> }<br>$INCLUDE clients.conf<br><br>vmps {<br> update reply {<br>
VMPS-Packet-Type = VMPS-Join-Response<br> VMPS-VLAN-Name = "default"<br> VMPS-Cookie = "%{VMPS-Mac}"<br> }<br>}<br><br></div>Best,<br></div>Edik.<br><div><div><br></div></div>
</div>