mschott
(usa Debian)
Enviado em 01/05/2012 - 22:16h
Gente ainda estou tentando resolver esse problema mas sem sucesso, vou passar todas minhas configurações espero que alguem consiga me ajudar.
/etc/dhcpd.conf
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
# see 'man 5 dhcpd.conf'
#
#
ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;
authoritative;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.3 192.168.0.199;
option routers 192.168.0.1;
option domain-name-servers 8.8.8.8,8.8.4.4;
option broadcast-address 192.168.0.255;
host net {
hardware ethernet F0:BF:97:47:51:DC;
fixed-address 192.168.0.3;
}
}
####################################################################
/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=DHCP
HWADDR=48:5B:39:52:6C:C5
ONBOOT=yes
####################################################################
/etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BOOTPROTO=static
HWADDR=00:E0:52:BC:8E:51
IPADDR=192.168.0.1
NETMASK=255.255.255.0
ONBOOT=yes
####################################################################
/etc/sysconfig/dhcpd
# Command line options here
DHCPDARGS="eth1"
se eu der um service dhcpd start ele falha, só funciona se der dhcpd -f.