|
From: mcf <mig...@ya...> - 2010-02-03 17:26:25
|
Thanks for the speedy response. I've checked that the SNMP port is open in IPTables, nothing in the log and the problem persists even if you disable the firewall. --- On Wed, 3/2/10, Sallee, Stephen (Jake) <Jak...@um...> wrote: From: Sallee, Stephen (Jake) <Jak...@um...> Subject: Re: [Packetfence-users] VLAN switching issue To: pac...@li... Date: Wednesday, 3 February, 2010, 16:53 It might sound dumb but I had the exact same problem and iptables was the culprit, I had to make sure UPD ports 161 and 162 (I think, whatever the default SNMP ports are) were open. I think iptables writes to a log every time it denies a stream, if you can find the iptables log it may help. Jake Sallee Network Engineer University of Mary Hardin-Baylor 900 College St. Belton Texas, 76513 Fone: 254-295-4658 Phax: 254-295-4221 From: Steven Venn [mailto:mig...@ya...] Sent: Wednesday, February 03, 2010 10:35 AM To: pac...@li... Subject: [Packetfence-users] VLAN switching issue I'm having difficulty getting PacketFence on my CentOS 5.4 PC to perform the VLAN switching, everything appears to be configured correctly, all processes running, VLANs trunked ok, using a basic SNMPv2 setup and the defaut VLANs for PacketFence. tail -f /usr/local/pf/logs/snmptrapd.log shows the incoming link state changes /usr/local/pf/bin/pfcmd_vlan -getAllMACs -switch 192.168.1.240 shows the mac is obtained from the switchport I can set the VLAN on the switch /usr/local/pf/bin/pfcmd_vlan -SetVlan -vlan 2 -switch 192.168..1.240 -ifIndex 10109 I am using a Cisco 3750G, however I've also tried a 2950 with no more success, the SNMP debug output is essentially the same. I've included the Cisco IOS debug in case this sheds any light on the issue grateful for any assistance with this 3750G SNMP Debug ======================================================================== *Mar 9 18:38:17.820: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/11, changed state to up *Mar 9 18:38:18.827: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/11, changed state to up *Mar 9 18:38:18.827: SNMP: Queuing packet to 192.168.1.249 *Mar 9 18:38:18.827: SNMP: V2 Trap, reqid 107, errstat 0, erridx 0 sysUpTime.0 = 75829884 snmpTrapOID.0 = snmpTraps.4 ifIndex.10111 = 10111 ifDescr.10111 = GigabitEthernet1/0/11 ifType.10111 = 6 lifEntry.20.10111 = up *Mar 9 18:38:19.078: SNMP: Packet sent via UDP to 192.168.1.249 *Mar 9 18:38:22.979: SNMP: Packet received via UDP from 192.168.1.249 on Vlan1 *Mar 9 18:38:22.979: SNMP: Get request, reqid 14911, errstat 0, erridx 0 system.6.0 = NULL TYPE/VALUE *Mar 9 18:38:22.987: SNMP: Response, reqid 14911, errstat 0, erridx 0 system.6.0 = *Mar 9 18:38:22.987: SNMP: Packet sent via UDP to 192.168.1.249 *Mar 9 18:38:22.996: SNMP: Packet received via UDP from 192.168.1.249 on Vlan1 *Mar 9 18:38:22.996: SNMP: Get request, reqid 14912, errstat 0, erridx 0 ifType.10111 = NULL TYPE/VALUE *Mar 9 18:38:23.004: SNMP: Response, reqid 14912, errstat 0, erridx 0 ifType.10111 = 6 *Mar 9 18:38:23.004: SNMP: Packet sent via UDP to 192.168.1.249 *Mar 9 18:38:23.029: SNMP: Packet received via UDP from 192.168.1.249 on Vlan1 *Mar 9 18:38:23.029: SNMP: Get request, reqid 14913, errstat 0, erridx 0 cpsIfConfigEntry.1.10111 = NULL TYPE/VALUE *Mar 9 18:38:23.029: SNMP: Response, reqid 14913, errstat 0, erridx 0 cpsIfConfigEntry.1.10111 = 2 *Mar 9 18:38:23.038: SNMP: Packet sent via UDP to 192.168.1.249 *Mar 9 18:38:23.038: SNMP: Packet received via UDP from 192.168.1.249 on Vlan1 *Mar 9 18:38:23.046: SNMP: Get request, reqid 14914, errstat 0, erridx 0 vmMembershipEntry.2.10111 = NULL TYPE/VALUE *Mar 9 18:38:23.046: SNMP: Response, reqid 14914, errstat 0, erridx 0 vmMembershipEntry.2.10111 = 4 *Mar 9 18:38:23.046: SNMP: Packet sent via UDP to 192.168.1.249 *Mar 9 18:38:23.054: SNMP: Packet received via UDP from 192.168.1.249 on Vlan1 *Mar 9 18:38:23.054: SNMP: Get request, reqid 14915, errstat 0, erridx 0 vtpVlanEntry.4.1.4 = NULL TYPE/VALUE *Mar 9 18:38:23.054: SNMP: Response, reqid 14915, errstat 0, erridx 0 vtpVlanEntry.4.1.4 = VLAN0004 *Mar 9 18:38:23.063: SNMP: Packet sent via UDP to 192.168.1.249 *Mar 9 18:38:23.063: SNMP: Packet received via UDP from 192.168.1.249 on Vlan1 *Mar 9 18:38:23.063: SNMP: Get request, reqid 14916, errstat 0, erridx 0 cmnMacAddrLearntEnable.10111 = NULL TYPE/VALUE *Mar 9 18:38:23.063: SNMP: Response, reqid 14916, errstat 0, erridx 0 cmnMacAddrLearntEnable.10111 = 1 *Mar 9 18:38:23.071: SNMP: Packet sent via UDP to 192.168.1.249 -----Inline Attachment Follows----- ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com -----Inline Attachment Follows----- _______________________________________________ Packetfence-users mailing list Pac...@li... https://lists.sourceforge.net/lists/listinfo/packetfence-users |