Hi, did you setup SNMP for both incoming and outgoing? I made the mistake of 
only doing one part of the SNMP config and had the same problem.

Regards,

Wikus

From: John Ertmann [mailto:[email protected]]
Sent: Tuesday, October 25, 2011 8:02 PM
To: [email protected]
Subject: [Packetfence-users] HP Procurve 2524 setup help

I am trying to setup Packetfence for a trial in our network.

I installed version 3.1 on Centos 5.7.

I have the Packetfence web interface running.

I have configured a single switch (HP 2524 configured as suggested in the 
Network Device Configuration Guide).

I have single client to plug into the switch.

The switch is sending traps to the Packetfence server (verified in the 
snmptrapd.log), and I can affect the switch with pfcmd_vlan (i.e. force an 
interface to be untagged to a new VLAN).

What isn't happening is any VLAN configuration from Packetfence to the switch 
when I plug a device in.

I have the switch setup with 5 vlans as indicated in the setup guide.
1 Normal
2 Registration
3 Isolation
4 Mac Detection
5 Guest

On Packetfence
eth0 DHCP server - Normal VLAN 192.168.1.5
type=internal,management
enforcement=vlan

eth0.2 DHCP Server - Registration Vlan 192.168.2.1
type=internal
enforcement=vlan

eth0.3 DHCP Server - Isolation Vlan
192.168.3.1
type=internal
enforcement=vlan

eth0.4 No DHCP Server - Mac Detect Vlan
192.168.4.1
type=internal
enforcement=vlan

eth0.5 DHCP Server - Guest Vlan
192.168.5.1
type=internal
enforcement=vlan

If I turn off port-security on a port and then plug in my test machine to that 
port, it will get an IP address in the 192.168.1.X scope.

Shouldn't the reciept of the trap be enough to initiate some kind of change in 
the switch?

This is a sample of the smnptrap.log

NET-SNMP version 5.3.2.2
2011-10-25|17:32:29|UDP: [192.168.1.25]:161|192.168.1.25|BEGIN TYPE 6 END TYPE 
BEGIN SUBTYPE .5 END SUBTYPE BEGIN VARIABLEBINDINGS 
.1.3.6.1.4.1.11.2.14.11.1.7.2.1.4.18 = INTEGER: 
12|.1.3.6.1.4.1.11.2.14.11.1.7.2.1.5.18 = INTEGER: 
2|.1.3.6.1.4.1.11.2.14.11.1.7.2.1.6.18 = INTEGER: 
2|.1.3.6.1.4.1.11.2.14.11.1.7.3.0.18 = STRING: 
"http://192.168.1.25/cgi/fDetail?index=18"; END VARIABLEBINDINGS
2011-10-25|17:32:29|UDP: [192.168.1.25]:161|192.168.1.25|BEGIN TYPE 6 END TYPE 
BEGIN SUBTYPE .1 END SUBTYPE BEGIN VARIABLEBINDINGS 
.1.3.6.1.4.1.11.2.14.2.10.2.1.2.1.8 = INTEGER: 
1|.1.3.6.1.4.1.11.2.14.2.10.2.1.3.1.8 = INTEGER: 
8|.1.3.6.1.4.1.11.2.14.2.10.2.1.4.1.8 = Hex-STRING: 3C 07 54 1A 9A 96 
|.1.3.6.1.4.1.11.2.14.2.10.2.1.6.1.8 = INTEGER: 
1|.1.3.6.1.4.1.11.2.14.2.10.2.1.7.1.8 = INTEGER: 1 END VARIABLEBINDINGS

At this point I can't even find anything to troubleshoot.

Any help would be greatly appreciated.


John Ertmann
Network Administrator
Pattonville School District
314-213-8056


  
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to