|

楼主 |
发表于 2023-8-1 15:04:48
|
显示全部楼层
本帖最后由 cls3389 于 2023-8-1 15:06 编辑
配置文件如下 用op的dhcp分配即可 为了方便提前建立了一些空的保留向并配标签 后续直接添加就可以生效 当然你可以静态分配多网关dns
config tag 'need_outernet'
list dhcp_option '3,192.168.5.254'
list dhcp_option '6,192.168.5.254'
option force '1'
config host
option name 'DiskStaion'
option dns '1'
option mac '7e:21:36:3b:cd:10'
option ip '192.168.5.2'
option leasetime 'infinite'
option tag 'need_outernet'
config host
option tag 'need_outernet'
option name 'Yoga27_wlan'
option dns '1'
option mac '14:5a:fc:09:68:17'
option ip '192.168.5.21'
option leasetime 'infinite'
config host
option tag 'need_outernet'
config host
option tag 'need_outernet'
config host
option tag 'need_outernet'
config host
option tag 'need_outernet'
config host
option tag 'need_outernet'
config host
option name 'loushang_op'
option dns '1'
config host
config host
|
|