Frango182
(usa Ubuntu)
Enviado em 07/06/2013 - 14:27h
segue.
dhcpd.conf
# A slightly different configuration for an internal subnet.
subnet 192.168.200.0 netmask 255.255.252.0 {
range 192.168.202.1 192.168.203.254;
option domain-name-servers 200.165.132.155,200.149.55.140,200.175.5.133,200.175.89.139,192.168.200.1;
option routers 192.168.200.1;
option broadcast-address 192.168.203.255;
default-lease-time 600;
max-lease-time 7200;
}
/default/isc-dhcp-server
# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/isc-dhcp-server by the maintainer scripts
# This is a POSIX shell fragment
# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="1"
/network/interfaces
auto lo eth0 eth1
iface lo inet loopback
iface eth0 inet dhcp
auto eth1
iface eth1 inet static
address 192.168.200.1
netmask 255.255.252.0
network 192.168.200.0
broadcast 192.168.203.255