Network configuration with Freepbx 17

Overview

This page guides you through configuring your system's network interface settings.

There are four ways to configure the network on FreePBX V17 (Debian 12)

  1. Using interfaces configuration file at /etc/network/interfaces

  2. Using Networking Manager NetworkManager - Debian Wiki

  3. Using Systemd utility Chapter 5. Network setup

  4. Using Netplan Netplan - Debian Wiki


The Freepbx sysadmin network configuration only supports the first method (Using interfaces configuration). If your system’s network is configured using any other method, the sysadmin module will display the warning below on the dashboard and networks settings page.

image-20240911-092015.png

Sysadmin Network settings configuration

Logging in

  • In the top menu, click Admin.

  • In the drop-down, click System Admin.

  • In the right-hand navigation menu, click Network Settings.

Network Settings

image-20240910-071557.png

Network Interface
The physical interface, such as ens3.

IP Assignment
Static/DHCP/Unconfigured: The protocol used for addressing. If you choose Static, the next three fields become available (Static IP, Netmask, and Gateway). Otherwise, these fields will be grayed out.

Static IP
(If IP Assignment = Static) The network IP address you want to assign. Example: 10.0.0.1

Netmask
(If IP Assignment = Static) The subnet mask. Example: 255.255.255.0

Gateway
(If IP Assignment = Static) The default gateway. Example: 10.0.0.254

Start Automatically
Yes/No: Specifies whether this interface should load on system boot.

Save
To save your settings, click the Save Interface button.

 

Create Interface

From the Network Settings page, click the Create Interface button.

Enter the details for the new interface in the pop-up window.

 

Parent
Choose the parent interface from the drop-down menu.

Label
(If Type = Secondary) This is simply a label. You can use a number (0, 1, 2) or a name (e.g., dmz, internal, lan10). Do not include the interface name.

VLAN ID
(If Type = VLAN) You cannot use "extra" non-standard VLAN identifiers. You can only use standard 802.1q VLAN IDs, which are between 1 and 4094.

Protocol
Static/DHCP: The protocol used for addressing. It is rare to select DHCP for alternative interfaces, as it can cause unexpected and unwanted network dropouts. If you choose Static, the next two fields become available (Static IP, Netmask). Otherwise, these fields will be grayed out.

Static IP
(If Protocol = Static) The network IP address you want to assign.

Netmask
(If Protocol = Static) The netmask that you want to assign.

Save
To save the settings, click the Save and Apply button.

 

Return to Documentation Home I Return to Sangoma Support