当前位置:网站首页>手动配置DHCP服务
手动配置DHCP服务
2022-07-23 05:46:00 【Y坚定的唯物主义者】
目录
一、安装DHCP服务 
进入

进入dhcp的配置文件中进行配置
vim /etc/dhcp/dhcpd.conf


这里面是空文件,但是会有一行注释,意思就是在/usr/share/doc/dhcp*/dhcpd.conf.example下有一个模板,可以看这个模板来写配置

产看是否复制

二、更改网卡配置


配置网卡信息



3、配置ensp



SW2配置
[sw2]int e0/0/1
[sw2-Etherneto/o/1]p l t
[Sw2-Ethernet0/0/1]p t a v a
[sw2-Ethernet0/0/1]int e0/0/2
[Sw2-Etherneto/o/2]p l a
[sw2-Etherneto/0/2]p d v 10
[sw2-Ethernet0/0/2]int e0/0/3
[Sw2-Ethernet0/0/3]p l t
[sw2-Ethernet0/0/3]p d v 20
[sw2-Ethernet0/0/3]int e0/0/4
[sw2-Ethernet0/0/4]p l a
[Sw2-Ethernet0/0/4]p d v 100
[sw2-Ethernet0/0/4]int e0/0/5
[sw2-Ethernet0/0/5]p l a
[sw2-Ethernet0/0/5]p d v 100
SW1配置
[sw1]vlan ba 10 20 100
[sw1]int vlanif 10
[sw1-vlanif10]ip add 192.168.l0.2 24
[sw1-vianif10] int vlanif 20
[Sw1-vlanif20]ip add 192.168.20.2 24
[sw1-vianif20]int vianif 100
[sw1-vianif100]ip add 192.168.25.2 24
[Sw1-vianif100]q
[Sw1]int g0/0/1
[swl-GigabitEthernet0/0/1]p l t
[Sw1-GigabitEthernet0/0/1]p t a v a
[Sw1-GigabitEthernet0/0/1]q
边栏推荐
- 0动态规划 LeetCode918. 环形子数组的最大和
- LeetCode题解汇总
- GameFramework:资源热更代码分析,检查版本信息,下载版本文件,校验版本文件,得到更新文件数量,下载文件,TaskPool
- Unity3D+moba+技能指示器(二)
- Knowledge points and skills of Wireshark network analysis is so simple
- C #: TOPK: take the largest 100 before 10000 numbers, and sort the heap
- 数组 LeetCode977. 有序数组的平方
- unity3d:Assetbundle模拟加载,同步加载,异步加载,依赖包加载,自动标签,AB浏览器,增量打包
- C # custom stack
- 学习日记(路由与交换技术)——浮动静态路由和缺省路由
猜你喜欢

Unity3D+moba+技能指示器(一)

C # custom stack

HCIP---BGP相关配置

[Reading Notes "Phoenix architecture" - a large-scale distributed system with reliable architecture. Zhou Zhiming] (I)

Hcip - first experiment

LSM-tree(Log Structured-Merge Tree)的理解

Analysis of inheritablethreadlocal and Alibaba's transmittablethreadlocal design ideas

即时通讯WebSocket

psutil监控的简单使用

C (CSharp) wechat official account development - basic configuration
随机推荐
htpasswd作用
Unity3d:UGUI,UI与特效粒子层级,2018.2以上版本BakeMesh,粒子在两个Image之间且在ScrollView
0动态规划 LeetCode1024. 视频拼接
GameFramework:Resource加载,资源加载,依赖加载,任务池,对象池,引用计数
Hcip--- BGP related configuration
OSPF综合实验
牛客面试必考真题【算法篇】高频Top200 题目汇总
0数组 LeetCode605. 种花问题
Explain the flow control mechanism and congestion control mechanism of TCP in detail
OSPF的链路扩展配置
HCIP --- HDLC和PPP协议
C#(CSharp) 微信公众号开发一 基本配置
Hcip ---- relevant knowledge points of GRE protocol, mGRE environment and OSPF Protocol
C# 自定义Queue队列集合
0回溯/动态规划中等 LeetCode526. 优美的排列
0最短路径问题 LeetCode743. 网络延迟时间
Design experience of log file IO system
Unity shader missing problem
Unity3d:ugui, UI and special effect particle level, bakemesh above 2018.2, particles between two images and in Scrollview
LeetCode题解汇总