Hello
When I changed my node from the status from unregisterd to registered, I have
following log entry, and the VLAN does not changed.
Sep 06 11:28:31 pfcmd(3922) INFO: pfcmd calling node_modify for
00:18:8b:db:ff:65 (main::command_param)
Sep 06 11:28:31 pfcmd(3922) INFO: re-evaluating access for node
00:18:8b:db:ff:65 (node_modify called) (pf::enforcement::reevaluate_access)
Sep 06 11:28:31 pfcmd(3922) INFO: 00:18:8b:db:ff:65 is currentlog connected at
10.1.0.1 ifIndex 10001 in VLAN 2 (pf::enforcement::_should_we_reassign_vlan)
Sep 06 11:28:31 pfcmd(3922) INFO: MAC: 00:18:8b:db:ff:65, PID: 1, Status: reg.
Returned VLAN: 1 (pf::vlan::fetchVlanForNode)
Sep 06 11:28:31 pfcmd(3922) INFO: VLAN reassignment required for
00:18:8b:db:ff:65 (current VLAN = 2 but should be in VLAN 1)
(pf::enforcement::_should_we_reassign_vlan)
Sep 06 11:28:31 pfcmd(3922) INFO: switch port for 00:18:8b:db:ff:65 is 10.1.0.1
ifIndex 10001 connection type: Wired SNMP (pf::enforcement::_vlan_reevaluation)
Sep 06 11:28:31 pfcmd(3922) ERROR: ERROR ! Unknown switch 127.0.0.1
(pf::SwitchFactory::instantiate)
Sep 06 11:28:31 pfcmd(3922) ERROR: Can't instantiate switch 127.0.0.1! Check
your configuration! (pf::enforcement::_vlan_reevaluation)
Why is there a switch "127.0.0.1", I have not configured one. ?
Here ist my switches.conf:
#
# Copyright 2006-2008 Inverse inc.
#
# See the enclosed file COPYING for license information (GPL).
# If you did not receive this file, see
# http://www.fsf.org/licensing/licenses/gpl.html
[default]
SNMPCommunityRead=public
SNMPCommunityWrite=private
SNMPCommunityTrap=public
SNMPVersion=2c
SNMPVersionTrap=2c
vlans=1,2,3,4,5
normalVlan=1
registrationVlan=2
isolationVlan=3
macDetectionVlan=4
guestVlan=5
VoIPEnabled=no
#
# Command Line Interface
#
# cliTransport could be: Telnet, SSH or Serial
cliTransport=Telnet
cliUser=admin
cliPwd=test
cliEnablePwd=test
type=
mode=production
voiceVlan=
customVlan1=
customVlan2=
customVlan3=
customVlan4=
customVlan5=
uplink=
wsTransport=
wsUser=
wsPwd=
SNMPUserNameTrap=
SNMPAuthProtocolTrap=
SNMPAuthPasswordTrap=
SNMPPrivProtocolTrap=
SNMPPrivPasswordTrap=
SNMPEngineID=
SNMPUserNameRead=
SNMPAuthProtocolRead=
SNMPAuthPasswordRead=
SNMPPrivProtocolRead=
SNMPPrivPasswordRead=
SNMPUserNameWrite=
SNMPAuthProtocolWrite=
SNMPAuthPasswordWrite=
SNMPPrivProtocolWrite=
SNMPPrivPasswordWrite=
radiusSecret=
controllerIp=
roles=
macSearchesMaxNb=
macSearchesSleepInterval=
[10.1.0.1]
uplink=10101,10102
type=Cisco::Catalyst_2960
Mit freundliche Grüßen
Matthias Rauch
IT-Service
Sozialstiftung Bamberg
Buger Straße 80
96049 Bamberg
e-Mail: [email protected]
<mailto:[email protected]>
Internet: www.sozialstiftung-bamberg.de <http://www.sozialstiftung-bamberg.de/>
---------------------------
Sozialstiftung Bamberg
Buger Straße 80, 96049 Bamberg
-----------------------------------------------------------------------------------------------------------------------
Vorsitzender des Stiftungsrates: Oberbürgermeister Andreas Starke | Vorstand:
Xaver Frauenknecht
-----------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users