当前位置:网站首页>Manually configure DHCP service
Manually configure DHCP service
2022-07-23 12:54:00 【Y firm materialist】
Catalog
One 、 install DHCP service edit
Two 、 Change the network card configuration
Configure network card information
One 、 install DHCP service 
Get into

Get into dhcp Configuration in the configuration file
vim /etc/dhcp/dhcpd.conf


There are empty files , But there will be a line of comments , It means in the /usr/share/doc/dhcp*/dhcpd.conf.example There is a template under , You can use this template to write configuration

See whether to copy

Two 、 Change the network card configuration


Configure network card information



3、 To configure ensp



SW2 To configure
[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 To configure
[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
边栏推荐
猜你喜欢
![[AUTOSAR DCM 1. module introduction (DSL, DSD, DSP)]](/img/99/55b3162ad061fbd00145d0b6810592.png)
[AUTOSAR DCM 1. module introduction (DSL, DSD, DSP)]

学习日记——(路由与交换技术)单臂路由

Hcip-hcia knowledge review (II)

Hcip - first experiment

学习日记(路由与交换技术)——浮动静态路由和缺省路由

DHCP second experiment

Unity3d: script execution sequence on scene loading gameobejct

Explanation of websocket protocol

MySQL performance optimization, index optimization

C # custom stack
随机推荐
手动配置DHCP服务
Unity3d+moba+ skill indicator (II)
InheritableThreadLocal与阿里的TransmittableThreadLocal设计思路解析
学习日记——(路由与交换技术)单臂路由
Unity3d+GameFramework:资源分析,资源依赖,循环依赖检测
MySQL performance optimization, index optimization
剖析Redis中的Sentinel模式
Unity3d: ugui source code, rebuild optimization
DNS域名解析服务
浅做一下思科实验吧!
C (CSharp) wechat official account development - basic configuration
C# 自定义Queue队列集合
Analysis of inheritablethreadlocal and Alibaba's transmittablethreadlocal design ideas
Learning diary (routing and switching technology) -- floating static routing and default routing
学习日记——(路由与交换技术)DHCP(动态主机配置协议)
详解TCP分段与IP分片
Hcip --- BGP --- border gateway protocol
C # custom stack
学习日记——(路由与交换技术)ACL访问控制列表
HCIP---BGP ---边界网关协议