Technical Tip: Registration fails with multiple adapters when one adapter is invalid
Description
- Is not in the vendor OUI list under System -> Settings -> Identification- > Vendor OUIs.
- Is a randomized MAC address (randomized MAC addresses are not in the vendor OUI table).
Two ‘Host Registration Success’ events are listed under events view for the host, but the host maintains the "Rogue" status and is not switched to the production network.
The following error is seen in output.master:
yams SEVERE :: 2020-05-14 06:26:15:383 :: java.lang.NullPointerException
yams SEVERE :: 2020-05-14 06:26:15:383 :: at com.bsc.plugin.dynamic.HostServer.updateEtherRelations(HostServer.java:3397)
Scope
FortiNAC v8.6.4 and v8.7.2.
Solution
Workaround: Disable valid MAC address check via the CLI. Contact Support for assistance.
- Log in to the CLI as root of the Control Server.
- Using vi or another editor, modify /bsc/campusMgr/master_loader/.masterPropertyFile.
- Add the following lines.
FILE_NAME=./properties_plugin/devicemanager.properties
{
com.bsc.plugin.manager.DeviceManager.checkValidMAC=false
}
-
Save the changes to the file.
-
Restart processes.
- Create or modify the current README file in /bsc/campusMgrUpdates to indicate these settings will need to be undone after upgrading to the fixed version.
Bypasses valid MAC address check as a workaround. Fixed in 8.6.5 and 8.7.4.
Added the following lines to /bsc/campusMgr/master_loader/.masterPropertyFile
FILE_NAME=./properties_plugin/devicemanager.properties
{
com.bsc.plugin.manager.DeviceManager.checkValidMAC=false
}
To re-enable MAC address check after upgrading to fixed version:
1. Delete the lines above from .masterPropertyFile
2. Restart processes
shutdownNAC
<wait 30 seconds>
startupNAC
-----------------------------------------------------------------------------