Thanks for taking the time to check this out. Here is the additional
information you've requested. Again I'm trying to get the node view updated
with switch/port/VLAN without the switch being in production. Thanks Josh

Here is the log output from /usr/local/pf/logs/packetfence.log

Aug 15 08:41:59 pfdhcplistener(31649) INFO: DHCPREQUEST from
00:24:e8:be:00:74 (10.96.1.239) (main::listen_dhcp)
Aug 15 08:41:59 pfdhcplistener(31649) WARN: unable to resolve
00:24:e8:be:00:74 to ip (pf::iplog::mac2ip)
Aug 15 08:41:59 pfdhcplistener(31649) INFO: UPDATE New node
00:24:e8:be:00:74 (10.96.1.239) (main::update_iplog)
Aug 15 08:41:59 pfdhcplistener(31649) INFO: 00:24:e8:be:00:74 requested an
IP. DHCP Fingerprint: OS:: (Microsoft Windows Vista/7 or Server 2008).
Modified node with last_dhcp = 2011-08-15 08:41:59,computername =
lab-PC,dhcp_fingerprint = 1,15,3,6,44,46,47,31,33,121,249,43,
(main::listen_dhcp)
Aug 15 08:41:59 pfdhcplistener(31649) INFO: DHCPACK from 10.32.4.65
(00:25:90:04:6a:dc) to host 00:24:e8:be:00:74 (10.96.1.239)
(main::listen_dhcp)
Aug 15 08:42:00 pfsetvlan(5) INFO: nb of items in queue: 1; nb of threads
running: 0 (main::startTrapHandlers)
Aug 15 08:42:00 pfsetvlan(5) INFO: up trap received on 10.96.0.3 ifIndex
10118 (main::handleTrap)
Aug 15 08:42:00 pfsetvlan(5) INFO: setting 10.96.0.3 port 10118 to MAC
detection VLAN (main::handleTrap)
Aug 15 08:42:00 pfsetvlan(5) WARN: Should set ifIndex 10118 to VLAN 1 but
the switch is not in production -> Do nothing (pf::SNMP::setVlan)
Aug 15 08:42:00 pfsetvlan(5) INFO: MAC learnt traps are configured on this
switch port. Stopping UP trap handling here (main::handleTrap)
Aug 15 08:42:00 pfsetvlan(5) INFO: finished (main::cleanupAfterThread)
Aug 15 08:42:10 pfsetvlan(8) INFO: learnt trap received on 10.96.0.3 ifIndex
10118 for 00:24:e8:be:00:74 in VLAN 3 (main::handleTrap)
Aug 15 08:42:10 pfsetvlan(8) INFO: MAC: 00:24:e8:be:00:74, PID: 1, Status:
unreg. Returned VLAN: 3 (pf::vlan::fetchVlanForNode)
Aug 15 08:42:10 pfsetvlan(8) INFO: learnt trap received on 10.96.0.3 ifIndex
10118 for 00:24:e8:be:00:74 in VLAN 3 (main::handleTrap)

Here is the config for the switch (which is in testing mode) in switch.conf

[default]
vlans=1,2,3,4,5
normalVlan=1
registrationVlan=2
isolationVlan=3
macDetectionVlan=4
guestVlan=5
customVlan1=
customVlan2=
customVlan3=
customVlan4=
customVlan5=
VoIPEnabled=no
voiceVlan=
mode=testing
macSearchesMaxNb=30
macSearchesSleepInterval=2
uplink=dynamic

[10.96.0.3]
type=Cisco::Catalyst_3560
SNMPUserNameTrap=
SNMPAuthProtocolTrap=
SNMPAuthPasswordTrap=
SNMPPrivProtocolTrap=
SNMPPrivPasswordTrap=
SNMPVersion=2c
SNMPCommunityRead=########
SNMPEngineID=
SNMPUserNameRead=
SNMPAuthProtocolRead=
SNMPAuthPasswordRead=
SNMPPrivProtocolRead=
SNMPPrivPasswordRead=
SNMPUserNameWrite=
SNMPAuthProtocolWrite=
SNMPAuthPasswordWrite=
SNMPPrivProtocolWrite=
SNMPPrivPasswordWrite=
SNMPVersionTrap=2c
SNMPCommunityTrap=########
normalVlan=3
macDetectionVlan=1
SNMPCommunityWrite=#########
vlans=1,2,3,4,5,6,15,16,200,250,299


Here is what shows up in node view

MAC Address    : 00:24:e8:be:00:74
IP Address     : 10.96.1.239 (active)
IP Info        : IP active since 2011-08-15 08:41:59
Owner          : unregistered
Category       : No category
Status         : unregistered
Name           : lab-PC
MAC Vendor     : Dell Inc.
VoIP           : no

NODE USER-AGENT INFORMATION

NODE DHCP INFORMATION
OS             : Microsoft Windows Vista/7 or Server 2008
DHCP Info      : Last DHCP request at 2011-08-15 08:41:59
No connectivity information available (We probably only saw a DHCP request)




On Wed, Aug 10, 2011 at 8:57 AM, Olivier Bilodeau <[email protected]>wrote:

> >
> > I've put the switch in testing mode, restarted the packetfence service
> > and I'm not getting the switch/port information to show up in Node View.
> > Any tips that you can pass on would be greatly appreciated. I'm running
> > the latest version of packetfence through a yum update.
>
> Can you send us the last few lines of /usr/local/pf/logs/packetfence.log
> when you plug in a *new* device on a given port?
>
> Cheers!
> --
> Olivier Bilodeau
> [email protected]  ::  +1.514.447.4918 *115  ::  www.inverse.ca
> Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
> (www.packetfence.org)
>
>
> ------------------------------------------------------------------------------
> uberSVN's rich system and user administration capabilities and model
> configuration take the hassle out of deploying and managing Subversion and
> the tools developers use with it. Learn more about uberSVN and get a free
> download at:  http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> Packetfence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to