Link to home
Start Free TrialLog in
Avatar of education-dynamics
education-dynamicsFlag for United States of America

asked on

DHCP Server on CentOS 6.4

I am setting up an Asterisk server. It is a Dell T110II with 2 NICs. I am running CentOS 6.4. My goal is to have two seperate networks. One for the Internet-accessible LAN (eth0), and one for the private non-internet-accessible LAN for the VOIP phones.

eth0 - needs Internet access. Plugged into the existing data switch with other PCs, printers, etc.
     IP               10.79.10.1
     Subnet        255.255.0.0
     Gateway     10.79.0.1
     DNS            10.10.0.99

eth1 - no Internet access needed. Plugged into a stand-alone, seperate switch
     IP                192.168.0.1
     Subnet         255.255.255.0
     Gateway      none
     DNS             none

I have installed dhcp on the server in order for the SIP phones to pick up and address during boot. Here is the dhcpd.conf file...

     #
     # DHCP Server Configuration file.
     #   see /usr/share/doc/dhcp*/dhcpd.conf.sample
     #   see 'man 5 dhcpd.conf'
     #
     default-lease-time 259200;
     max-lease-time 518400;
     ddns-update-style none;
     authoritative;
     subnet 192.168.0.0 netmask 255.255.255.0 {
     range dynamic-bootp 192.168.1.10 192.168.1.99;
     option broadcast-address 192.168.0.255;

Here is my /etc/sysconfig/dhcpd file

     # Command line options here
     DHCPDARGS=eth1

My questions is...what am I missing? The phones are not picking up an IP address from DHCP.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Daniel McAllister
Daniel McAllister
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of education-dynamics

ASKER

I could not get DHCP to work, so I just assigned static IP addresses since there were only 14 phones.