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)
(1173)