mlgrassi
(usa Debian)
Enviado em 17/04/2012 - 22:06h
Pessoal configurei a minha rede conforme as instruções que segui pesquisando na internet e as aqui passadas mas o DHCP não está atribuindo o ip da vlan para o mac que eu configurei. Para melhor entenderem segue abaixo um print das confs:
###########
ifconfig
###########
eth0 Link encap:Ethernet Endereço de HW 00:1f:c6:01:53:0e
inet end.: 10.0.0.2 Bcast:10.255.255.255 Masc:255.0.0.0
endereço inet6: fe80::21f:c6ff:fe01:530e/64 Escopo:Link
UP BROADCASTRUNNING MULTICAST MTU:1500 Métrica:1
RX packets:907833 errors:0 dropped:0 overruns:0 frame:0
TX packets:595008 errors:0 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:1000
RX bytes:1094216742 (1.0 GiB) TX bytes:67832401 (64.6 MiB)
IRQ:19
eth1 Link encap:Ethernet Endereço de HW 00:1f:c6:01:4f:02
inet end.: 10.1.1.1 Bcast:10.1.1.255 Masc:255.255.255.0
endereço inet6: fe80::21f:c6ff:fe01:4f02/64 Escopo:Link
UP BROADCASTRUNNING MULTICAST MTU:1500 Métrica:1
RX packets:963212 errors:0 dropped:0 overruns:0 frame:0
TX packets:1250944 errors:0 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:1000
RX bytes:129124968 (123.1 MiB) TX bytes:1444609350 (1.3 GiB)
IRQ:16
eth2 Link encap:Ethernet Endereço de HW 00:1a:3f:71:f2:f0
inet end.: 192.168.0.10 Bcast:192.168.0.255 Masc:255.255.255.0
endereço inet6: fe80::21a:3fff:fe71:f2f0/64 Escopo:Link
UP BROADCASTRUNNING MULTICAST MTU:1500 Métrica:1
RX packets:304707 errors:0 dropped:0 overruns:0 frame:0
TX packets:275726 errors:0 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:1000
RX bytes:319063553 (304.2 MiB) TX bytes:43160140 (41.1 MiB)
IRQ:22 Endereço de E/S:0x6c00
eth1.10 Link encap:Ethernet Endereço de HW 00:1f:c6:01:4f:02
inet end.: 192.168.1.1 Bcast:192.168.1.255 Masc:255.255.255.0
endereço inet6: fe80::21f:c6ff:fe01:4f02/64 Escopo:Link
UP BROADCASTRUNNING MULTICAST MTU:1500 Métrica:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3440 errors:0 dropped:2 overruns:0 carrier:0
colisões:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:210799 (205.8 KiB)
lo Link encap:Loopback Local
inet end.: 127.0.0.1 Masc:255.0.0.0
endereço inet6: ::1/128 Escopo:Máquina
UP LOOPBACKRUNNING MTU:16436 Métrica:1
RX packets:68739 errors:0 dropped:0 overruns:0 frame:0
TX packets:68739 errors:0 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:0
RX bytes:10746610 (10.2 MiB) TX bytes:10746610 (10.2 MiB)
###########
dhcpd.conf
###########
default-lease-time 300;
max-lease-time 21600;
option domain-name-servers 4.2.2.2, 8.8.8.8;
option domain-name "meudominio.com.br";
option time-offset 0;
autoritative;
option ip-forwarding on;
subnet 10.1.1.0 netmask 255.255.255.0 {
option broadcast-address 10.1.1.255;
option routers 10.1.1.1;
range 10.1.1.20 10.1.1.100;
##GRUPO REDE1
group rede1 {
host teste1 {
hardware ethernet 00:00:00:00:00:01;
fixed-address 10.1.1.6;
}
host teste2 {
hardware ethernet 00:00:00:00:00:02;
fixed-address 10.1.1.7;
}
}
subnet 192.168.1.0 netmask 255.255.255.0 {
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
range 192.168.1.10 192.168.1.254;
##GRUPO VISITANTES
group visitantes {
host visitante1 {
hardware ethernet 00:00:00:00:00:03;
fixed-address 192.168.1.7;
}
}
}
############################
/etc/default/isc-dhcp-server
############################
INTERFACES="eth1 eth1.10"