DHCP server setup under Linux

Source: Internet
Author: User

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

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.