MikroTik RouterOS OPENVPN DHCP冲突问题
简介
最近有遇到一个问题,Windows 上的 OpenVPN 无法拨号成功,报错如下。
报错说明
1 | ERROR: There is a clash between the --ifconfig local address and the internal DHCP server address -- both are set to xxx.xxx.xxx.xxx -- please use the --ip-win32 dynamic option to choose a different free address from the --ifconfig subnet for the internal DHCP server |
解决方案
在ROS上,OpenVPN 貌似会使用当前网段的最后一个主机位作为DHCP服务器IP,导致OpenVPN拨号失败。
所以设置地址池范围的时候,不要把最后一个主机位分配出去。
配置相关
1 | /ip pool |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 网工格物 - Blog!