Fortinet black logo

Step 5: Assign Static IP Address for port1

7.2.0
Copy Link
Copy Doc ID fd810e5f-6143-11ed-96f0-fa163e15d75b:331372
Download PDF

Step 5: 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.

By default, 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. Once the virtual machine is running, click Connect to bring up the console.

  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 5: 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.

By default, 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. Once the virtual machine is running, click Connect to bring up the console.

  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.