Configure dhcp server 1. create the disk mount location mkdir-p/media/cdrom2, mount/dev/cdrom/media/cdrom3, and enter cd/media/in SERVER mode/ cdrom/Server4, view the DHCP file lsdhcp * 5, cp file /...
Configure DHCP server
1. create the disk mount position mkdir-p/media/cdrom
2. mount the disk file mount/dev/cdrom/media/cdrom.
3. enter cd/media/cdrom/SERVER in Server mode
4. view the DHCP file ls dhcp *
5. cp file to/etc/dhcpd. conf cp/user/share/doc/dhcp-3.0.5/dhcpd. conf. sample/etc/dhcpd. conf
6. edit dhcpd. conf vi/etc/dhcpd. conf.
7. restart dhcp server dhcpd restart
Configure the DHCP client
1. set the network adapter eth0 to obtain the IP address through DHCP
Vi/etc/sysconfig/network-soripts/ifcfg-eth0
2. restart the Nic service ifdown eth0; idup eth0
3. use dhclient-d eth0 to obtain the address dhclient-d eth0
This article is from the "Dong 'er" blog