FortiNAC
NOTE: FortiNAC is now named FortiNAC-F. For post-9.4 articles, see FortiNAC-F. FortiNAC is a zero-trust network access solution that provides users with enhanced visibility into the Internet of Things (IoT) devices on their enterprise networks.
Megha_Bansal
Staff
Staff
Article Id 326248
Description

 

This article describes that after changing the gateway IP and eth0/Port1 IP from the FortiNAC CLI, Admin UI is not accessible while ssh is still accessible. 

 

Scope

 

FortiNAC and FortiNAC-F.

 

Solution

 

The main reason for such an issue could be the IP changes on the interface were made through the CLI, however, it is preferred to make any sort of IP changes in the ConfigWizard from FortiNAC GUI. When config Wizard is not used to make such changes, the '.networkConfig' file does not get properly updated as it should, which can cause this issue.

 

Troubleshooting steps:

  1. Check the default gateway and port1 configuration and see whether everything is properly configured.
  2. Check and verify that allowaccess has been set for https-adminui on port1.
  3. Check to verify the routing table.

    Use the command:

 

route -n

 

  1. Ping the gateway and port 1 IP from FortiNAC, both should be reachable.

execute ping < IP>

 

  1. Check if the required processes are running or not. Use the following command:

jps

 

  1. If all required processes are not running check the logs:
  • Switch to logs directory.
  • Enter the command: tf output.processManager and check the logs to find what could be causing the issue (most probably there will be a mismatch of IPs). 

  1. Check the .networkConfig file to see if the changes made on the interfaces through CLI are also updated in this file.  The '.networkConfig' file can be found here:  /bsc/campusMgr/bin/.networkConfig. Run the following:

cat .networkConfig

 

Megha_Bansal_0-1721135639844.png

 

  1. Check and verify whether the changes made on the interface through CLI are also updated in this file or not.
  2. If the file was not properly updated, update the file. Run the below commands and make the appropriate changes.

vi .networkConfig

Press 'r' and replace the necessary.

Press ':wq!' to write and escape the file.

  1. Now restart NAC. Use the following command:

    startupNAC

  2. The Admin UI should now be accessible.