Hello Everyone,
Newbie here trying out PacketFence for the first time.
Background: PacketFence setup with a Cisco Catalyst 3560 with the latest 15
series ios. Setup the switch for Radius and mab. PacketFence and the switch
were working great together before I started working with vlan categories.
Here is my custom.pm settings:
sub getNormalVlan {
#Category: default
if (defined($node_info->{'category'}) &&
lc($node_info->{'category'}) eq "default") {
return $switch->getVlanByName('normalVlan');
}
#Custom Category: BYOD
if (defined($node_info->{'category'}) &&
lc($node_info->{'category'}) eq "BYOD") {
return $switch->getVlanByName('customVlan1');
}
#Custom Category: guest
if (defined($node_info->{'category'}) &&
lc($node_info->{'category'}) eq "guest") {
return $switch->getVlanByName('guestVlan');
}
return $switch->getVlanByName('normalVlan');
}
Problem: When I connect a device to the switch I get the following in the
packetfence.log
Nov 09 09:33:50 pf::WebAPI(2722) INFO: MAC: b8:27:eb:ba:41:15, PID: 1,
Status: reg. Returned VLAN: (pf::vlan::fetchVlanForNode)
Nov 09 09:33:50 pf::WebAPI(2722) WARN: new VLAN is not a managed VLAN ->
Returning FAIL. Is the target vlan in the vlans=... list?
(pf::radius::authorize)
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users