PacketFence - BTS - PacketFence
View Issue Details
0000715PacketFencecorepublic2009-06-05 04:002012-02-29 10:56
canepan 
user4 
normalmajoralways
closedno change required 
 
 
0000715: When plugging a new PC in a switch, it's stuck in the MAC Detection VLAN (C3500XL)
I'm using a Cisco 3500XL for my tests, and I managed to configure PacketFence correctly (I think, even if I didn't find snmptrapd.conf and networks.conf full documentation).
Now, when I plug a laptop in a PF-managed switch port, I get this in packetfence.log:

Jun 05 09:23:41 pfsetvlan(3): nb of items in queue: 1; nb of threads running: 0 (main::startTrapHandlers)
Jun 05 09:23:41 pfsetvlan(3): up trap received on X.X.X.X ifIndex 12 (main::handleTrap)
Jun 05 09:23:41 pfsetvlan(3): setting X.X.X.X port 12 to MAC detection VLAN (main::handleTrap)
Jun 05 09:23:41 pfsetvlan(3): MAC learnt traps are configured on this switch port. Stopping UP trap handling here (main::handleTrap)
Jun 05 09:23:41 pfsetvlan(3): finished (main::cleanupAfterThread)

But I never get the MAC for the laptop (through the web GUI), neither I get an IP for the laptop.
The switch is configured to send mac-notification and up/down traps to PF.
I tried different switch ports, asked the laptop to renew its DHCP lease, and even tried to assign a static IP and to browse the web (to do some traffic), but with no results.
Switch port configuration:
interface FastEthernet0/11
 switchport access vlan 999
 snmp trap mac-notification added
 no cdp enable

Switch SNMP configuration:
snmp-server enable traps snmp linkdown linkup
snmp-server enable traps mac-notification
snmp-server host Y.Y.Y.Y trap version 2c ZZZZ MAC-Notification snmp
No tags attached.
Issue History
2009-06-05 04:00canepanNew Issue
2009-06-05 08:12user4Statusnew => assigned
2009-06-05 08:12user4Assigned To => user4
2009-06-08 05:40canepanNote Added: 0001261
2009-06-08 07:38user4Statusassigned => closed
2009-06-08 07:38user4Resolutionopen => no change required
2010-04-15 17:55obilodeauCategory1.8.3 => 1.8.x
2012-02-29 10:56obilodeauCategory1.8.x => core

Notes
(0001261)
canepan   
2009-06-08 05:40   
Was missing
mac-address-table notification interval 0
from switch config.
Once enabled, now I get MAC change notifications (and MAC learned).