Fortinet black logo
7.2.0

Step 4: Assign Static IP Address for port1

Step 4: Assign Static IP Address for port1

FortiNAC is configured by accessing the Configuration Wizard using the Management interface (port1) IP address. Follow the instructions below to set the IP address for port1.

Port1 has the following default configurations:

  • IP address: 192.168.1.99

  • FortiNAC interfaces do not communicate without the required protocols added to the appliance’s access list for the port. The minimum required for appliance configuration are Administration UI access (port 8443) and SSH. Additional protocols can be added to the access list in the future as needed.

  1. Click on the hostname of the Virtual Machine. Make sure the VM is running and the console is displayed.

  2. Login to the FortiNAC CLI using the following:

    User name = admin

    Password = <no password>

  3. To set the IP address and default gateway, type the following:

    config system interface
    edit port1
    set ip <port1 ip addr>/<mask>
    set allowaccess https-adminui ssh
    next
    end
    config system route
    edit 1
    set device port1
    set gateway <default gateway>
    next
    end
    Example:
    config system interface
    edit port1
    set ip 10.12.234.175/22
    set allowaccess https-adminui ssh
    next
    end
    config system route
    edit 1
    set device port1
    set gateway 10.12.232.1
    next
    end
  4. Confirm SSH access to the port1 IP address works.

Step 4: Assign Static IP Address for port1

FortiNAC is configured by accessing the Configuration Wizard using the Management interface (port1) IP address. Follow the instructions below to set the IP address for port1.

Port1 has the following default configurations:

  • IP address: 192.168.1.99

  • FortiNAC interfaces do not communicate without the required protocols added to the appliance’s access list for the port. The minimum required for appliance configuration are Administration UI access (port 8443) and SSH. Additional protocols can be added to the access list in the future as needed.

  1. Click on the hostname of the Virtual Machine. Make sure the VM is running and the console is displayed.

  2. Login to the FortiNAC CLI using the following:

    User name = admin

    Password = <no password>

  3. To set the IP address and default gateway, type the following:

    config system interface
    edit port1
    set ip <port1 ip addr>/<mask>
    set allowaccess https-adminui ssh
    next
    end
    config system route
    edit 1
    set device port1
    set gateway <default gateway>
    next
    end
    Example:
    config system interface
    edit port1
    set ip 10.12.234.175/22
    set allowaccess https-adminui ssh
    next
    end
    config system route
    edit 1
    set device port1
    set gateway 10.12.232.1
    next
    end
  4. Confirm SSH access to the port1 IP address works.