sábado, dezembro 11, 2010

Anoteções dhcp Debian

Arquivo: /etc/iftab

eth0 mac 00:07:95:d5:9d:ba
eth1 mac 00:05:00:a0:05:d3


Arquivo: /etc/dhcp3/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.5 192.168.0.100;
option routers 192.168.0.2;
option domain-name-servers 200.204.0.10,200.204.0.138;
option broadcast-address 192.168.0.255;
}


Arquivo: /etc/network/interfaces

auto lo
iface lo inet loopback

# Rede Local

auto eth0
iface eth0 inet static

address 192.168.0.1
netmask 255.255.255.0
# network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.2

# Internet

auto eth1
# allow-hotplug eth1
iface eth1 inet dhcp


Arquivo: /etc/default/dhcp3-server
INTERFACES="eth0"

0 Comentários:

Postar um comentário

Assinar Postar comentários [Atom]

<< Página inicial