{"id":37,"date":"2007-12-17T02:53:12","date_gmt":"2007-12-16T23:53:12","guid":{"rendered":"http:\/\/www.held.org.il\/blog\/?p=37"},"modified":"2007-12-17T02:53:12","modified_gmt":"2007-12-16T23:53:12","slug":"pxelinux-different-pxe-config-for-each-subnet","status":"publish","type":"post","link":"http:\/\/www.held.org.il\/blog\/2007\/12\/pxelinux-different-pxe-config-for-each-subnet\/","title":{"rendered":"PXELinux: Different PXE config for each subnet"},"content":{"rendered":"<p><a href=\"http:\/\/en.wikipedia.org\/wiki\/Preboot_Execution_Environment\">PXE<\/a> boot might need different configuration for different subnets (i.e. server names\/IPs are different).<\/p>\n<p><a href=\"http:\/\/syslinux.zytor.com\/pxe.php\">PXELinux<\/a> has a neat feature: in the <em>pxelinux.cfg\/<\/em> directory, one can put different configuration files for different machines or subnets, identified by the <strong>file name<\/strong>:<\/p>\n<p>The configuration file names can be:<\/p>\n<ol>\n<li><em>Machine UUID<\/em><\/li>\n<li><em>MAC Address<\/em> i.e. <strong><tt>00-11-22-33-44-55<\/tt><\/strong><\/li>\n<li><em>IP or prefix IP <\/em>-<em> <\/em>hexadecimal i.e. :\n<ol>\n<li><strong><tt>C0<\/tt><\/strong> for 192.0.0.0\/255.0.0.0 subnet<\/li>\n<li><strong><tt>C0A8<\/tt><\/strong> for 192.168.0.0\/255.255.0.0 subnet<\/li>\n<\/ol>\n<\/li>\n<li><strong><em><code><\/code><\/em><code>default<\/code><em><code><\/code><\/em>:<\/strong> if nothing else matches, PXELinux will load the config named \"default\".<\/li>\n<\/ol>\n<p>Ref: <a href=\"http:\/\/syslinux.zytor.com\/pxe.php\">official PXE documentation<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PXE boot might need different configuration for different subnets (i.e. server names\/IPs are different). PXELinux has a neat feature: in the pxelinux.cfg\/ directory, one can put different configuration files for different machines or subnets, identified by the file name: The configuration file names can be: Machine UUID MAC Address i.e. 00-11-22-33-44-55 IP or prefix IP [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[75],"tags":[],"_links":{"self":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts\/37"}],"collection":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/comments?post=37"}],"version-history":[{"count":0,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts\/37\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/media?parent=37"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/categories?post=37"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/tags?post=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}