Boot por PXE
Pessoal,
estou tentando dar boot num micro que tem uma placa de rede intel
(antiga, é verdade - talvez tenha algum bug) pelo PXE, mas não há
meios de que funcione.
No meu syslog fica assim:
[...]
Nov 9 19:55:59 valinhos dhcpd: DHCPDISCOVER from 00:90:27:94:fe:fa via eth0
Nov 9 19:55:59 valinhos dhcpd: DHCPOFFER on 192.168.14.8 to
00:90:27:94:fe:fa via eth0
Nov 9 19:56:00 valinhos dhcpd: DHCPDISCOVER from 00:90:27:94:fe:fa via eth0
Nov 9 19:56:00 valinhos dhcpd: DHCPOFFER on 192.168.14.8 to
00:90:27:94:fe:fa via eth0
[...]
Como se a placa não recebesse nunca a resposta do meu DHCP. Lá no
micro ele dá o erro "PXE-E53: No boot filename received"
Como eu achei que tinha configurado o dhcpd.conf certinho (abaixo),
resolvi apelar p/ o ethereal, e aparentemente a conversa tá rolando
numa boa (e o nome do arquivo está por lá sim)
-------------------- DHCPDISCOVER:
User Datagram Protocol, Src Port: bootpc (68), Dst Port: bootps (67)
Source port: bootpc (68)
Destination port: bootps (67)
Length: 556
Checksum: 0x45ff (correct)
Bootstrap Protocol
Message type: Boot Request (1)
Hardware type: Ethernet
Hardware address length: 6
Hops: 0
Transaction ID: 0x2b94fefa
Seconds elapsed: 2816
Bootp flags: 0x8000 (Broadcast)
1... .... .... .... = Broadcast flag: Broadcast
.000 0000 0000 0000 = Reserved flags: 0x0000
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 0.0.0.0 (0.0.0.0)
Next server IP address: 0.0.0.0 (0.0.0.0)
Relay agent IP address: 0.0.0.0 (0.0.0.0)
Client MAC address: 00:90:27:94:fe:fa (Intel_94:fe:fa)
Server host name not given
Boot file name not given
Magic cookie: (OK)
Option 53: DHCP Message Type = DHCP Discover
Option 55: Parameter Request List
1 = Subnet Mask
3 = Router
60 = Vendor class identifier
43 = Vendor-Specific Information
67 = Bootfile name
128 = Private
129 = Private
130 = Private
131 = Private
132 = Private
133 = Private
134 = Private
135 = Private
Option 57: Maximum DHCP Message Size = 1260
Option 93: Client System Architecture (2 bytes)
Option 94: Client Network Device Interface (3 bytes)
Option 60: Vendor class identifier = "PXEClient:Arch:00000:UNDI:002001"
End Option
Padding
--------------------
-------------------- DHCPOFFER
User Datagram Protocol, Src Port: bootps (67), Dst Port: bootpc (68)
Source port: bootps (67)
Destination port: bootpc (68)
Length: 308
Checksum: 0x7576 (correct)
Bootstrap Protocol
Message type: Boot Reply (2)
Hardware type: Ethernet
Hardware address length: 6
Hops: 0
Transaction ID: 0x2894fefa
Seconds elapsed: 1024
Bootp flags: 0x8000 (Broadcast)
1... .... .... .... = Broadcast flag: Broadcast
.000 0000 0000 0000 = Reserved flags: 0x0000
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 192.168.14.8 (192.168.14.8)
Next server IP address: 192.168.14.3 (192.168.14.3)
Relay agent IP address: 0.0.0.0 (0.0.0.0)
Client MAC address: 00:90:27:94:fe:fa (Intel_94:fe:fa)
Server host name not given
Boot file name: pxelinux.0
Magic cookie: (OK)
Option 53: DHCP Message Type = DHCP Offer
Option 54: Server Identifier = 192.168.14.3
Option 51: IP Address Lease Time = 10 minutes
Option 1: Subnet Mask = 255.255.255.192
Option 3: Router = 192.168.14.1
End Option
Padding
--------------------
Estou usando o dhcp3-server do sarge (3.0.1-2), a placa de rede é
"Intel UNDI, PXE-1.0 (build Dev)", o meu micro (servidor tftp, dhcp,
etc) é 192.168.14.3 e meu dhcpd.conf está assim:
-----------------------
ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;
allow booting;
allow bootp;
authoritative;
log-facility local7;
subnet 192.168.14.0 netmask 255.255.255.192 {
range 192.168.14.50 143.106.14.60;
option routers 192.168.14.1;
option domain-name-servers 192.168.14.1;
}
host bot {
hardware ethernet 00:90:27:94:FE:FA;
fixed-address 192.168.14.8;
filename "pxelinux.0";
}
--------------------
Realmente nao estou conseguindo ver o que está acontencedo de
errado... Será que é algum bug do firmware da placa de rede? Ou estou
esquecendo de ligar algum compatibility-mode?
Um detalhe importante é nem chega no tftp (que alias está sendo outro
problema.... mas vamos tentar resolver um de cada vez).
--
Marcos
Reply to: