Build pxe Server using windowsdhcp server and ciscotftpserver

Source: Internet
Author: User

Build pxe Server using windowsdhcp server and ciscotftpserver

I haven't written a blog for a long time. I have read many books recently, but I have never studied technology.

As we all know, to Perform Batch online engraving, we need to meet the following conditions: system image + online engraving software + dhcp + tftp + dos + ghost.

Despite the fact that many excellent software have brought together the next five parts. But in some cases, it is worth splitting dhcp. For example, a dhcp server exists in the network environment, but it is not convenient for me to return to the office. I want to remotely use a network engraving system for one or more hosts, at this time, if the software integrated with dhcp is used, the ip distribution may be messy, and the normal work may be delayed.

What is the pxe Server? I would like to quote a message from someone else:

 

Simply put, the PXE Server is a DHCP server + a TFTP server. The Network startup process is like this (may not be rigorous): the client sends a broadcast packet that dynamically obtains the IP address to the network. After the DHCP server receives the broadcast packet, the response packet sent to the client to assign an IP address. After receiving the response packet, the client sets its own IP address and obtains the IP address of the startup server from the DHCP server (DHCP server 066 option, this is the IP address of the TFTP server) and the Startup File Name (DHCP server 067 option. The Startup File name here is pxelinux.0 or grldr that supports pxe grub4dos. Of course, it can also be startrom. n12 or the pxe boot menu file created using 3com Image Edit. In short, it should be an executable file in a fixed format specified by pxe boot specifications ), then the client obtains and executes the Startup file from the contact startup server (TFTP Server), which completes the pxe startup process.


In Unix or Linux systems, DHCP servers and TFTP servers are generally set separately. The two servers can even be set on two different machines. In fact, the settings in Windows are the same, however, in Windows, we can use the HaneWin DHCP server software or TFTPD32 software. (I personally recommend using the HaneWin DHCP server software, but TFTPD32 is easier to set, it is a little inefficient). Please find out the detailed setting method. You only need to know that when setting the PXE Server, you must set the DHCP and TFTP servers, for the DHCP server, set the startup server name (066 option) and Startup File Name (067 option ).

So OK, I know that when clint obtains the address through dhcp, it will get the address of the tftp server and the name of the file that tftp wants to transmit through dhcp. I only need to set the tftp location and the Startup File Name in dhcp, and copy the Startup file to the root directory of the tftp server.

Take Cisco TFTPserver, MAXDOS. PXE (boot file), and MaxDOS7.sys as an example:

First, enter the option 066 "start server host name" in the dhcp server option with the tftp IP address, and the option 067 "Start file name" with "MAXDOS. PXE"

Then, enter the path you want in "option-TFTP server root directory" in Cisco TFTPserver. For example, create a D: \ PXE \ Cisco TFTP Server \ img path and place MAXDOS. PXE and MaxDOS7.sys in this path.

During network engraving, the Cisco TFTPserver must be in the Enabled state on the server, and the client selects the network to start. After the IP address is obtained successfully, the ghost and other related software used in the network will be automatically transmitted. You can continue the online engraving step.

---------------------------------------------

Other supplements

1. tftpd32 is said to be available only in xp and win2000, with simple configuration but low efficiency.

2. Good Web engraving software integrated with dhcp, tftp, ghost, and other environmentsChenglong netke and Pxe netke SoftwareAnd so on

3. Try not to cross-switch during network engraving. If you use the same Gigabit Switch to access the Internet, even dozens of machines will be surprisingly efficient.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.