Obtain an IP Address from a DHCP Server

This topic describes how to configure Yeastar P-Series Software Edition to automatically obtain an IPv4 address from a DHCP server running in your network.

Background information

If you choose this method to configure IP address for the PBX, the IP address assigned to the PBX may vary every time the PBX starts up. We suggest that you configure a static IP address for the PBX. For more information, see Configure a Static IPv4 Address.

The following instructions assume that you need to use LAN port and WAN port of Yeastar P-Series Software Edition to connect different networks, and need to obtain an IP address from the DHCP server.

Prerequisites

  • DHCP feature is enabled on your router.
  • Only one DHCP server in the local network, or the PBX cannot get the IP address.

Procedure

  1. Log in to PBX web portal, go to System > Network > Basic Settings.
  2. In the Basic section, configure the following settings:

    • Ethernet Mode: Select the Ethernet mode. In this scenario, select Dual.
      • Single: Only the LAN port will be used for up-link connection.
      • Dual: Both LAN and WAN can be used for up-link connection.
        Note: The traffic will be routed to the default interface; you may need to add a static route to override the default route entries, routing the traffic from a specific IP address to the specified destination.
    • Number of WAN Ports: Optional. To connect more than one service providers, specify the number of WAN ports as needed.
      Note: This is only supported on P-Series Software Edition deployed on Ubuntu, and the PBX version must be 83.17.0.60 or later.
    • Default Interface: Select a default interface if select Dual mode. In this scenario, select LAN.
  3. In the LAN section, select IPv4 Internet protocol, then select DHCP.

  4. In the WAN section, select IPv4 Internet protocol, then select DHCP.

    Note: If you specify the number of WAN ports, enable the WAN X (X refers to the specific number between 2 and 5) and configure related settings.

  5. Click Save and reboot the PBX to take effect.

Result

The PBX will obtain new IP addresses from the DHCP server in your local network.

You need to log in to the web interface of your router to see assigned IP addresses.