I
I
Ivan2016-09-29 10:31:07
DHCP
Ivan, 2016-09-29 10:31:07

The problem is getting ip via dhcp. Where to dig?

Hello. The essence of the problem. The client does not receive ip addresses via dhcp. If you register by hand, then everything works.
OS: CentOS release 6.7 (Final)
dhcp-4.1.1-51.P1.el6.centos.x86_64 eth4
interface looks to the world
eth5 interface looks to LAN
config

cat /etc/dhcp/dhcpd.conf
#
# DHCP Server Configuration file.
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample
#   see 'man 5 dhcpd.conf'
#

authoritative;
ddns-update-style interim;

DHCPDARGS=eth5;

subnet 172.16.54.0 netmask 255.255.255.0 {

        default-lease-time     86400;                # Время аренды в секундах
        max-lease-time         86400;
        option routers                  172.16.54.1;  # default gateway
        option subnet-mask              255.255.255.0;
        option broadcast-address        172.16.54.255;
        option domain-name-servers      172.16.54.1;
        range                           172.16.54.3 172.16.54.254;

}

The server is virtual. ESX platform.
addresses arrive on the test virtual machine. When running dhcp through the switch in the vlan, it does not work. What did I do wrong, where to dig?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question