Skip to main content
Configure Static IP for 5G APs

This guide outlines the steps to configure a static IP, Network Time Protocol (NTP) server, and DNS server on 5G APs through the CLI

A
Written by Aparna Jaiswal
Updated over 2 months ago

This guide outlines the steps to configure a static IP, Network Time Protocol (NTP) server, and DNS server on 5G APs through the CLI is a DHCP server is not available on the network.
Celona recommends Access Points obtain IP address via DHCP server for ease of bringup and management.

Steps to configure via CLI

  1. Login to AP via CLI: Login via SSH to the common Management IP (192.168.169.100) of the AP using the admin credentials admin/Celona123

    Login to AP

  2. Generate an OTP:

    1. Upon login, you will be prompted for a passcode.

      Passcode on CLI

    2. Go to the Access Points page on Celona Orchestrator, open the required AP page, and click the PASSWORD GENERATOR button.

      Password Generator on CSO

    3. Paste the passcode shown in the CLI into the Password Generator window and click GENERATE.

      Copy Password

    4. Copy and paste the generated One Time Password (OTP) into the CLI.

      NOTE: The OTP is valid only for 10 minutes.

  3. Configure Static IP Address:

    1. Configure the static IP with the following command once you log into the AP.

      Command: static_ip <IP Address> <Subnetmask> <DefaultGateway>

      Static IP Config

    2. If invalid parameters are entered, an error message will appear. Ensure all inputs are valid.

    Invalid IP

  4. Configure NTP Server:

    1. Configure the NTP Server with the following command.
      Command: ntp <IP Address> pool.ntp.org

      NTP Server

  5. Configure DNS Server:

    1. Configure the DNS Server with the following command.
      Command: dns <IP Address>

      DNS Server

  6. Reboot:

    1. After configuring Static IP, NTP server, and DNS server, reboot the AP to apply the changes

      Command: reboot

    2. The new static IP will take effect after the reboot.

      Reboot

  7. Remove Static IP Configuration:

    1. Login to the AP using the admin credentials.
      NOTE: AP can be accessed through Management IP (192.168.169.100) even after configuring static IP.

    2. To remove the static IP configuration, enter the following command.


      Command: no static_ip

      Remove Static IP

    3. When the static IP configuration is cleared, and DHCP is enabled on a 5G AP, the AP will no longer use the manually assigned static IP address. Instead, it will request an IP address dynamically from a DHCP server on the network.

NOTE:

  • Static IP config is saved on /cfg/static_ip.txt

  • ntp, dns server config is saved on /cfg/ntp_server.cfg and /cfg/dns_server.cfg files respectively.


Did this answer your question?