Obtain an IP Address from a DHCP Server

This topic describes how to configure Yeastar P-Series PBX System 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 PBX System 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.
      • Bridge: LAN port will be used for up-link connection. WAN port can be used as a bridge to connect other device.
    • 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.

  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.