Dynamic VLAN - limiting switchs VLANs?

Alan Dekok aland at deployingradius.com
Fri May 25 11:36:44 CEST 2007


Robert wrote:
> I can plug a computer into the switch, have the switch grab the MAC
> addy, pass it to FR, hit the DB and return what VLAN that MAC belongs
> to, and then have the switch configure to port to the correct VLAN.
> 
> Now the complication that I'm facing is that in our environment, a MAC
> might be assigned to multiple VLANs and our switches only have a
> fraction of the total number VLANs trunked to them.
> 
> What I need is a way FR can not only match the MAC to a VLAN, but also
> to cross reference that result to the VLANs that are available from the
> requesting switch. 
> 
> Anyone know how to do this? Or at least a good place that I can start?

  Create an SQL table containing the relationships, and SELECT the
appropriate one.  Test it with the MySQL command-line tool first, and
once you have the table && select set up right, transfer the SELECT to
FreeRADIUS.

  Alan DeKok.
--
  http://deployingradius.com       - The web site of the book
  http://deployingradius.com/blog/ - The blog



More information about the Freeradius-Users mailing list