当前位置:网站首页>DHCP Relay
DHCP Relay
2022-06-22 09:33:00 【A clever lamb】
Purpose : solve DHCP How the server provides services for cross network segment access
requirement :s C On different networks ( Network segment )
(1) Selection meets RFC 1542 Standard router , Can be DHCP Messages are forwarded to different networks
(2) Use DHCP Relay agent (DHCP Relay Agent), Have the ability to DHCP Forward the message to DHCP The function of the server 
Premise
1、 Add two virtual networks VMnet1 and VMnet2, The type is host only mode , The subnet addresses are 192.168.10.0 and 192.168.20.0
2、 Prepare a virtual machine , The computer is named DNS1, Network adapter selection VMnet1, Turn off firewall ;
3、 Prepare a virtual machine , The computer is named (GW1), And add a network adapter , Turn off firewall ;
4、 Prepare two computers , The computer names are Client1 and Client2,Client1 Your network adapter is VMnet1,Client2 Your network adapter is VMnet2.

One 、 Cross network DHCP The server (DNS1)
configure network 

install DHCP

Create two scopes
Scope 1



Scope 2




Two 、 To configure DHCP Relay agent (GW1)
configure network 


Add routing and remote access capabilities 








Create a new routing protocol , choice DHCP Relay agent 


Connection interface , Select no connection DNS The network card of the server , Namely dns1 yes DNS The server , He is vmnet0 Network card of , So we choose vmnet1 network card 

3、 ... and 、 Verification and testing
To configure client1 The network card of is automatically obtained 

hold client2 The network card of is set to obtain automatically 

边栏推荐
- C语言刷题 | 判断某年是否只闰年(15)
- 逻辑回归和线性回归
- cocoscreator编译报错记录 Could not write cache value 。。。.gradle\daemon\4.10.3\regi
- 看看volatile你深知多少
- Recruitment order | data visualization development platform "flyfish" super experience Officer Recruitment
- ==Classic interview questions
- 景联文科技:机器学习AI数据集产品汇总(三)
- Debian10安装Zabbix5.4
- container_of
- pytorch的模块使用:线性模型(未完成)
猜你喜欢

Byte/byte? Don't get dizzy!
![[node] theory + practice enables you to win sessions and cookies](/img/26/ef15896094d1887619c6ba9f6f287a.png)
[node] theory + practice enables you to win sessions and cookies
![[uni app] actual combat summary (including multi terminal packaging)](/img/35/6b0672311b033bc89f1518dd794777.png)
[uni app] actual combat summary (including multi terminal packaging)

一个老开源人的自述-如何干好开源这件事

前馈和反向传播
![[node] node+ SMS API to realize verification code login](/img/92/acd2abf73a7b0459127dd19bf32a7c.png)
[node] node+ SMS API to realize verification code login

Fuzzy query and aggregate function

Feedforward and backpropagation

User insight into the video industry in January 2022: active users began to pick up under the influence of holidays

It is hoped that more and more women will engage in scientific and technological work
随机推荐
Lifecycle of Servlet
招募令|数据可视化开发平台“FlyFish”「超级体验官」招募啦
Shengdun technology joined dragon lizard community to build a new open source ecosystem
断言assert()
See how much volatile you know
循环队列超详细实现,小白秒懂
list_head
Function summary (1)
Share 830 spider IP segments (by analyzing 1g logs)
微服务架构概述
A readme of an old open source person - how to do open source well
C语言刷题 | 用%f控制符输出6位小数(17)
DOM programming
Sound and shadow 2022 heavy release! Detailed explanation of the new functions of Huisheng Huiying 2022
Mapping multiple exit servers on ENSP
Php+stripe payment API, the latest PHP version of stripe overseas payment tutorial
Volumedetect of ffmpeg
Phpexcel reads the contents of the xls/xlsx table and saves it as a CSV file
接口抽象类的比较
编译basalt时出现的报错