> -----Original Message----- > From: Mark Holmes [mailto:[email protected]] > Sent: 17 July 2012 16:52 > To: [email protected] > Subject: [PacketFence-users] Assign VLAN based on category > > Hi all, > > I am trying to have PF assign a customVLAN based on the node category. > > I have edited vlan/custom.pm, uncommenting the lines in the example that > should enable this functionality and restarted packetfence but nothing > happens - ie the correct VLAN is not applied to the node, it just stays in the > normal VLAN and nothing in the packetfence.log to say that it's attempting to > put the node into the correct VLAN for the category. > > The code to apply a bypass VLAN is working correctly. Is there something > else I need to do to enable the VLAN to be set according to category. Note I > have defined customvlan5 in the switch config in packetfence and restarted > services. Is there another step I am missing? > > The relevant part of my custom.pm is below. > > Grateful for any ideas... > Hi Mark, Have you done anything with the node after restarting packetfence? I've found that hitting edit on the node will trigger a vlan reevaluation, or plugging into a different port to trigger a trap. We do find this to be an issue sometimes where packetfence has lost its locationlog for a device then it needs a new trap generated before it can move vlans about. Hope that helps.
-- James Turner IT Systems Administrator, Wadham College ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
