John Summerfield
2007-Nov-28 09:13 UTC
[Fedora-xen] Problem with network install, network wrong
I''m using the click-through wizard to try to network-install F8, fully-vertualised, on F8. My dhcpd configuration gives special treatment to PXE clients which it recognises: class "pxeclients" { match if substring (option vendor-class-identifier, 0, 9) = "PXEClient"; option vendor-class-identifier "PXEClient"; # At least one of the vendor-specific option must be set. We set # the MCAST IP address to 0.0.0.0 to tell the bootrom to still use # TFTP (address 0.0.0.0 is considered as "no address") # option PXE.mtftp-ip 192.168.9.1; vendor-option-space PXE; option PXE.mtftp-ip 0.0.0.0; vendor-option-space PXE; } and later, pool { allow members of "pxeclients"; default-lease-time 1800; max-lease-time 3600; range 192.168.9.150 192.168.9.169; filename "/PXE/pxelinux.0"; } I give etherboot clients special (different). treatment too. class "Etherboot" { match if substring (option vendor-class-identifier, 0, 13) = "Etherboot-5.0"; option vendor-encapsulated-options 3c:09:45:74:68:65:72:62:6f:6f:74:ff; option vendor-class-identifier "Etherboot-5.0"; filename "tftpboot.vc"; } and IBM thin clients. Unfortunately, virt-manager tells the user it''s using PXE, but something tells the DHCPD server it''s etherboot. Here''s a bit of 17:57:56.001102 IP (tos 0x0, ttl 60, id 0, offset 0, flags [none], proto 17, length: 576) Possum.demo.lan.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from 00:16:3e:3a:0b:74, length: 548, xid:0x3e4202c2, flags: [none] (0x0000) Client Ethernet Address: 00:16:3e:3a:0b:74 Vendor-rfc1048: DHCP:REQUEST SID:ns.demo.lan RQ:Possum.demo.lan MSZ:1500 VC:"Etherboot-5.4" PR:SM+DG+HN+VO+RP+T128+T129+T130+T150 T150:175.5.1.16.236.129.57.177.2.3.0 17:57:56.004481 IP (tos 0x10, ttl 16, id 0, offset 0, flags [none], proto 17, length: 328) ns.demo.lan.bootps > Possum.demo.lan.bootpc: [udp sum ok] BOOTP/DHCP, Reply, length: 300, xid:0x3e4202c2, flags: [none] (0x0000) Your IP: Possum.demo.lan Server IP: ns.demo.lan Client Ethernet Address: 00:16:3e:3a:0b:74 Vendor-rfc1048: DHCP:ACK SID:ns.demo.lan LT:84400 SM:255.255.255.0 DG:ns.demo.lan For this application, the "boot rom" needs to claim it''s PXE. btw I can also recognise Macs (good to deal with openfirmware) Anaconda (a shame it won''t use the filename I return), debian-installer -- Cheers John -- spambait 1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 You cannot reply off-list:-)