diff --git a/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml b/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml index 6a03d4929b..42e50e09d4 100644 --- a/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml +++ b/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml @@ -4098,36 +4098,23 @@ Received 264951 bytes in 0.1 seconds diskless operation - PXE requires a TFTP - and a DHCP server to be set up. The + The DHCP server does not need to be the same - machine as the TFTP server, but it needs + machine as the TFTP and NFS server, but it needs to be accessible in the network. - The ISC DHCP server can - answer both BOOTP and - DHCP requests. - - ISC DHCP is not part of the - base system. Install the + DHCP is not part of the &os; + base system but can be installed using the net/isc-dhcp42-server port or - package, following the instructions documented at . Make sure that - /etc/rc.conf and - /usr/local/etc/dhcpd.conf are - correctly configured.. + package. - Once ISC DHCP is installed, - edit its configuration file, + Once installed, + edit the configuration file, /usr/local/etc/dhcpd.conf. Configure the next-server, filename, and - option root-path settings to specify - the TFTP server IP - address, the path to /boot/pxeboot - in TFTP, and the path to the - NFS root file system. Here is a sample - dhcpd.conf setup: + root-path settings as seen in this + example: subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.2 192.168.0.3 ; @@ -4138,14 +4125,13 @@ Received 264951 bytes in 0.1 seconds option domain-name "example.com"; # IP address of TFTP server - next-server 192.168.0.1 ; + next-server 192.168.0.1 ; - # path of boot loader obtained - # via tftp - filename "FreeBSD/install/boot/pxeboot" ; + # path of boot loader obtained via tftp + filename "FreeBSD/install/boot/pxeboot" ; # pxeboot boot loader will try to NFS mount this directory for root FS - option root-path "192.168.0.1:/b/tftpboot/FreeBSD/install/" ; + option root-path "192.168.0.1:/b/tftpboot/FreeBSD/install/" ; } @@ -4160,37 +4146,29 @@ Received 264951 bytes in 0.1 seconds inside the host declarations. --> - The next-server directive - designates the TFTP or - NFS server to use for loading - &man.loader.8; or the kernel file. The default is to - use the same host as the DHCP + The next-server directive is used + to specify the IP address of the + TFTP server. The filename directive defines - the file that PXE will load for the - next execution step. It must be specified according - to the transfer method used. - PXE uses TFTP, - which is why a relative filename is used here. Also, - PXE loads - pxeboot, not the kernel. There are - other interesting possibilities, like loading - pxeboot from a &os; CD-ROM - /boot directory. - Since &man.pxeboot.8; can load a - GENERIC kernel, it is possible to - use PXE to boot from a remote - CD-ROM. + the path to /boot/pxeboot. A + relative filename is used, meaning that + /b/tftpboot is not included in the + path. The root-path option defines - the path to the root file system, in usual - NFS notation. When using - PXE, it is possible to leave off the - host's IP address as long as the - BOOTP kernel option is not enabled. - The NFS server will then be the - same as the TFTP one. + the path to the NFS root file system. + + Once the edits are saved, enable + NFS at boot time by adding the + following line to /etc/rc.conf: + + dhcpd_enable="YES" + + Then, start the DHCP service: + + &prompt.root; service isc-dhcpd start