Hello, I am trying to configure the PBX as a DHCP server. There are two NICs now.
eth0 – connect to WAN directly. Assigned static IP as 22.214.171.124.
eth1 – connects to a switch. Want to set up as a DHCP server with address range 192.168.5.10 – 192.168.5.100. My plan is having all the phones connect to the switch and get IP so they can register to the PBX server.
The server works fine with eth0. It can register with outside trunks and call out. Test computer connecting to the switch doesn’t get IP. I assign a static IP for eth1 as 192.168.5.1. What should I do to make this work? Thank you.
Hello Gary, I set it up already after some Google research. It’s a Linux network question. I didn’t do it from the ADMIN- SYSTEM SETTINGS – DHCP SETTINGS from the panel. I do it all from the command line. It involves two parts: 1, set up DHCP. 2, set up routing.
1, For DHCP, you need to install it first. Then configure the dhcpd.conf file. Also you have to make sure information in the config file match the eth1 subnet.