First, the experimental environment:
RHEL1--DHCP Server--ip:192.168.1.20/24
client--xp--Get IP between 192.168.1.20-192.168.1.100
Second, the specific configuration steps:
(1.) Service side:
1. Install the DHCP server-side software:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4C/A4/wKioL1RCgCnCTBzNAAEgbDCNOQQ048.jpg "title=" ff.jpg "alt=" Wkiol1rcgcnctbznaaegbdcnoqq048.jpg "/>
Umount/dev/cdrom
Mount/dev/cdrom/mnt
Vim/etc/yum.repos/aaa.repo
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4C/A3/wKiom1RCgDKyyS7fAADbKi3Qz3g018.jpg "title=" ss.jpg "alt=" Wkiom1rcgdkyys7faadbki3qz3g018.jpg "/>
Yum-y instll dhcp*
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/4C/A4/wKioL1RCgK2hkPMaAAC1Vsix1BI342.jpg "title=" Sss.jpg "alt=" Wkiol1rcgk2hkpmaaac1vsix1bi342.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4C/A3/wKiom1RCgIjSgGGvAACnHytyzyk170.jpg "title=" sa.png "alt=" Wkiom1rcgijsgggvaacnhytyzyk170.jpg "/>
Vim/etc/dhcpd.conf
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4C/A4/wKioL1RCgPbxnTPJAAGXTMSIF44161.jpg "title=" vv.jpg "alt=" Wkiol1rcgpbxntpjaagxtmsif44161.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4C/A3/wKiom1RCgMPTWP5tAAB-DXs_Z-w621.jpg "title=" cc.jpg "alt=" Wkiom1rcgmptwp5taab-dxs_z-w621.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4C/A4/wKioL1RCgSCwHoMjAAIsdrZmb3M943.jpg "title=" gg.jpg "alt=" Wkiol1rcgscwhomjaaisdrzmb3m943.jpg "/>
Bind Nic:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4C/A4/wKioL1RCgZqRBFsbAAC-scMtq28902.jpg "title=" yy.jpg "alt=" Wkiol1rcgzqrbfsbaac-scmtq28902.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4C/A3/wKiom1RCgS-zsGvHAAEduAw9yJ0706.jpg "title=" yy.png "alt=" Wkiom1rcgs-zsgvhaaeduaw9yj0706.jpg "/>
Let the machine get a fixed IP address
The experiment is simple. You can also use two NICs to define two gateways and address pools,
This article from the "heartbroken people in the Tianya" blog, declined reproduced!
DHCP server setup under Linux