pxe-cobbler
Pxe-Cobbler
环境
| IP | HOSTNAME | ROLE |
|---|---|---|
| dhcp | t1 | dhcp |
| dhcp | t2 | c1 |
| 192.168.222.30,dhcp(192.168.222.201) | t3 | c2 |
一、dhcp
dhcp是基于rarp,和arp相反,arp是通过对IP来识别物理网卡mac地址,而dhcp是通过识别客户端机器的物理网卡mac地址来判断给予客户端的IP地址
监听在67端口
Server: 67/UDP
Client: 68/UDP
arp: address resolving protocol
IP —> MAC
rarp: reverse arp
MAC —> IP
工作流程:
(1) Client: dhcp discover |
配置文件,使用dhcp服务
dhcp的配置模板文件在/usr/share/doc/dhcp-4.2.5下面
[root@ dhcp]# yum install -y dhcp |
[root@ t2]# dhclient -d //-d是前台运行,不用-d是后台运行 |
持续更新中…

Invitation
你会发光叭
公众号
created:28/07/2022
Welcome to my blog
The girl with the flaxen hair wants you to be happy forever
私はいつも椎名マデイを愛します
评论












