Hi,
my guest node are assigned to normal vlan and not to guest vlan.
I have create the guest category, and I add the node as guest, but when 
packetfence reassign the vlan, the host is assigned to the normal vlan.

I added to the fuction getNormalVlan of pf/lib/pf/vlan/custom.pm

    if (defined($node_info->{pid}) && $node_info->{pid} =~ /^guest$/i) {
         return $switch->getVlanByName('guestVlan');
         }

and

  if (defined($node_info->{'category'}) && lc($node_info->{'category'}) 
eq    "guest") {

       return $switch->getVlanByName('guestVlan');
      }

but didn't work, and the system returns howewer the normal Vlan.

Any suggestion?

Thank you in advance,

Giovanni

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to