shelto
(usa Debian)
Enviado em 18/12/2008 - 17:47h
Ola amigos!
Estou com um problema no meu servidor DHCP!
Como a maquina estava com problemas, troquei a placa mãe e instalei o dhcp novamente, porem usei o mesmo script mas a conexão wirelles não está recebendo o ip automatico!
aqui está meu script!
# Configuração do DHCP - 21 D Sup e da 2 Cia TRNP
# Ultima Alteração:
# Criado em 20/09/2008 - Ten César
#
######################
############# D H C P - SEC INFO #################
################################
########################
############ Configurações padrao ############
ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;
log-facility local7;
# Esta opcao faz com que o servidor dhcp aceite apenas os clientes do abaixo relacionados
deny unknown-clients;
authoritative;
########## Configuração Geral da rede #########
subnet 10.12.32.0
netmask 255.255.252.0 {
range 10.12.32.10 10.12.32.254;
option domain-name-servers 10.67.4.34, 200.204.0.10, 200.204.0.138;
# option domain-name "4bil.eb.mil.br";
option routers 10.12.32.6;
option broadcast-address 10.12.32.255;
}
######### Servidores e Roteadores - 1 a 11 ########
##
## IP 01 - Router
## IP 02 - ServerWeb (Winconnection)
## IP 03 - Proxy (Squid)
## IP 04 - Proxy (Squid)
## IP 05 - Faun (Samba)
## IP 06 - ServerWeb (Winconnection)
## IP 07 - Linksys S4 (Sala Bizarro)
## IP 08 - Linksys Aloj Tenentes
## IP 09 - Dhcp3-Server
## IP 10 - proxyS4
## IP 230 -Linksys Pavilão de Chefia
########### Sec Info #######################
## Ten César
host SecInfo01 {
hardware ethernet 00:E0:7D:D5:AB:C8;
fixed-address 10.12.32.111;
option routers 10.12.32.2;
}
## Sd Marques
host SecInfo02Cfio {
hardware ethernet 00:10:B5:C9:CC:2E;
fixed-address 10.12.32.12;
}
## SecInfo04 - Fundo
host SecInfo04 {
hardware ethernet 00:16:EC:5B:E7:C7;
fixed-address 10.12.32.18;
}
############### Cia Sup - 44;45;46;51 ######################
## ST_CiaSup
host ST_CiaSup {
hardware ethernet 00:0F:EA:D3:2C:37;
fixed-address 10.12.32.51;
}
## Sgtte_CiaSup02 - Porta
host SgttCiaSup_02 {
hardware ethernet 00:1A:92:BA:67:E3;
fixed-address 10.12.32.45;
}
## Sgtte_CiaSup01 - Fundo
host SgttCiaSup_01 {
hardware ethernet 00:13:D4:BC:EB:9C;
fixed-address 10.12.32.44;
}
## ArmariaCiaSup
host Armaria_CiaSup {
hardware ethernet 00:E0:7D:BA:D7:B6;
fixed-address 10.12.32.46;
}
## CMT Cia Sup
host ciasup {
hardware ethernet 00:1A:4D:AF:CE:FF;
fixed-address 10.12.32.74;
}
############# ALMOX - 35;36;37;38 #####################
## Sgt Paulo
host Almox04 {
hardware ethernet 00:1F:D0:F5:49:07;
fixed-address 10.12.32.35;
}
############ CLVIII - 122; #########################
## Porta
host CLVIII_01 {
hardware ethernet 00:08:54:14:B0:D6;
fixed-address 10.12.32.122;
}
############ SECPRAGAS - 113; #########################
## Porta
host SecPragas {
hardware ethernet 00:11:D8:D3:29:E2;
fixed-address 10.12.32.113;
}
############ ENFERMARIA - 126; #######################
#
## Sala4
host Enfermaria1 {
hardware ethernet 00:0B:DB:66:A2:FF;
fixed-address 10.12.32.126;
}
############ AV - 27; #################################
## SgtPaes
host AV1 {
hardware ethernet 00:1A:4D:A4:6E:89;
fixed-address 10.12.32.27;
}
############ SMI - 16; ###########################
## StAlmeida - Fundo
host SMI_03 {
hardware ethernet 00:1A:4D:AF:D5:06;
fixed-address 10.12.32.16;
}
############ S4 - 104;105;106;107;108;109 ########
## Sgt Henrique
host S4_01 {
hardware ethernet 00:15:58:B7:09:60;
fixed-address 10.12.32.105;
}
## Ten Daniela
host S4_05 {
hardware ethernet 00:15:F2:BA:14:3C;
fixed-address 10.12.32.109;
option routers 10.12.32.11;
}
########### RECEITA - 196; #######################
## Receita Federal
host Receita_01 {
hardware ethernet 00:40:F4:E6:A0:C1;
fixed-address 10.12.32.196;
}
########### NOTEBOOKS ##############################
## Notebook Ten César - Receita sem fio
host NotebookTenCesar2 {
hardware ethernet 00:90:96:91:8E:9D;
hardware ethernet 00:08:0D:37:BF:FA;
fixed-address 10.12.32.202;
option routers 10.12.32.6;
}
## Notebook Ten César - Home
host NotebookTenCesar {
hardware ethernet 00:C0:9F:ED:89:5A;
fixed-address 10.12.32.XX;
}
## Notebook Farias
host NoteFarias {
hardware ethernet 00:1F:E2:A5:2E:EB;
fixed-address 10.12.32.153;
}
## Notebook Sgt Vanzelli
host SgtVanzelliNotebook {
hardware ethernet 00:1A:73:B2:2A:15;
fixed-address 10.12.32.224;
}
## Notebook Sd Oliveira
host NotebookSDOliveira {
hardware ethernet 00:16:44:73:2A:39;
hardware ethernet 00:03:0D:96:64:87;
fixed-address 10.12.32.247;
}
## Notebook Ten Siloto
host NoteTenSiloto {
hardware ethernet 00:1A:73:84:C2:8A;
hardware ethernet 00:16:D3:AB:55:5F;
fixed-address 10.12.32.231;
}
## Notebook Ten Bizarro
#host NoteTenBizarro {
# hardware ethernet 00:1A:73:84:C2:8A;
# fixed-address 10.12.32.XX;
# option routers 10.12.32.11;
#}
########### SUBTEN CCSV ##############################
## SubTenente Waldomiro
host SubTen01 {
hardware ethernet 00:1D:7D:E2:F0:4E;
fixed-address 10.12.32.135;
}
########### 1a SEÇÃO ##############################
## SGT HUMBERTO
host s1_03 {
hardware ethernet 00:0F:EA:AC:19:03;
fixed-address 10.12.32.73;
}
########### SECSUBS - 19 ao 28 ##############################
## SGT Charles
host secsubs_01 {
hardware ethernet 00:0F:EA:DE:F8:27;
fixed-address 10.12.32.19;
}
## 1o SGT Marcelo
host secsubs_02 {
hardware ethernet 00:0F:EA:DE:FF:72;
fixed-address 10.12.32.20;
}
## TEN Marco Antonio
host secsubs_03 {
hardware ethernet 00:0F:EA:DF:0F:89;
fixed-address 10.12.32.21;
}
########### Lami ##############################
## Note Cap Maximiliano sem fio
host max {
hardware ethernet 00:1F:3A:F4:C3:CE;
hardware ethernet 00:1D:BA:0E:31:E7;
fixed-address 10.12.32.194;
}
######### Classe VIII - 121/122 ####################
## Ten Villaça
host classeVIII_01 {
hardware ethernet 00:0F:EA:AC:09:AB;
fixed-address 10.12.32.121;
}
## SGT Sandra
host classeVIII_02 {
hardware ethernet 00:08:54:14:B0:D6;
fixed-address 10.12.32.122;
}