Myluzh Blog

RouterOS配置DHCP Server中继

2022-9-26 myluzh RouterOS

0x01 交换机配置DHCP中继 1.在交换机虚拟接口VlanIf211(10.1.211.1/24)上设置DHCP中继,Relay地址为ROS-DHCP接口地址10.1.23.203 # interface Vlan-interface211  ip address 10.1.211.1 255.255.255.0  dhcp select relay  dhcp relay server-address 10.1.23.202 # 0x02 Routeros配置DHCP Sever 1新建routeros,完成接口地址基本配置 查看接口名称,可以看到接口NAME为ether1命令如下: interface/ print 设置ether1地址为10.1.23.203,命令如下: ip address/ add address=10.1.23.203 network=255.255.255.0 interface=ether1 设置默认路由 到10.1.23.1,routeros命令如下: ip route/ add gateway=10.1.23.1 ...

阅读全文>>

标签: routeros dhcp 中继

评论(0) (1179)

华为交换机DHCP配置

2022-3-26 myluzh Huawei

[HX-SW1]dhcp enable [HX-SW1]ip pool v10 [HX-SW1-ip-pool-v10]network 10.1.10.0 mask 24 [HX-SW1-ip-pool-v10]gateway-list 10.1.10.1 [HX-SW1-ip-pool-v10]dns-list 114.114.114.114 8.8.8.8 [HX-SW1]int Vlanif 10 [HX-SW1-Vlanif10]dhcp select global

阅读全文>>

标签: 华为 交换机 dhcp

评论(0) (355)