clon¥
(usa Debian)
Enviado em 18/05/2012 - 17:00h
renato_pacheco escreveu:
Edite o arquivo
/etc/default/dhcp3-server e coloque a seguinte linha:
INTERFACES="eth2"
E reinicie o serviço. Simples!
============================================================
DETALHE ainda não mencionado:
Este servidor está funcionando como firewall (2 interfaces) WAN e LAN
Já estava assim.
Tens outra dica mais "simples" ainda? :o)
# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/dhcp3-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="eth2"
root@server:/etc/default#
eth0 Link encap:Ethernet HWaddr xxxxxxxxxxxxxxxx
inet addr:10.1.1.3 Bcast:10.1.1.255 Mask:255.255.255.0
inet6 addr: fe80::21e:90ff:fefa:7156/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1316774 errors:0 dropped:0 overruns:0 frame:0
TX packets:1194375 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1226935567 (1.2 GB) TX bytes:248851890 (248.8 MB)
Interrupt:26 Base address:0xe000
eth2 Link encap:Ethernet HWaddr xxxxxxxxxxxxxxxxx
inet addr:192.168.10.1 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:52ff:fec0:a5ce/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1259666 errors:0 dropped:0 overruns:0 frame:0
TX packets:1369649 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:255810268 (255.8 MB) TX bytes:1214752506 (1.2 GB)
Interrupt:19 Base address:0x4c00