Mikrotik - ERROR - There is a clash between the -ifconfig local address and the internal DHCP server address: различия между версиями
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Admin iph (обсуждение | вклад) (Новая страница: «=== Mikrotik - ERROR - There is a clash between the -ifconfig local address and the internal DHCP server address === Ошибка при подключении...») |
Admin iph (обсуждение | вклад) |
||
Строка 4: | Строка 4: | ||
Ошибка при подключении к openvpn серверу на микротике: | Ошибка при подключении к openvpn серверу на микротике: | ||
2022-05-19 18:25:28 ERROR: There is a clash between the --ifconfig local address and the internal DHCP server address | 2022-05-19 18:25:28 ERROR: There is a clash between the --ifconfig local address and the internal DHCP server address | ||
− | -- both are set to 192.168.2.254 -- please use the --ip-win32 dynamic option to choose a different free address from the --ifconfig subnet for the internal DHCP server | + | -- both are set to 192.168.2.254 -- please use the --ip-win32 dynamic option to choose a different free address from the --ifconfig subnet for the internal DHCP server |
2022-05-19 18:25:28 Exiting due to fatal error | 2022-05-19 18:25:28 Exiting due to fatal error | ||
Версия 16:04, 19 мая 2022
Mikrotik - ERROR - There is a clash between the -ifconfig local address and the internal DHCP server address
Ошибка при подключении к openvpn серверу на микротике:
2022-05-19 18:25:28 ERROR: There is a clash between the --ifconfig local address and the internal DHCP server address -- both are set to 192.168.2.254 -- please use the --ip-win32 dynamic option to choose a different free address from the --ifconfig subnet for the internal DHCP server 2022-05-19 18:25:28 Exiting due to fatal error
Решение - уменьшить пул адресов и убрать .254, то есть:
> ip pool print Columns: NAME, RANGES # NAME RANGES 0 ovpn-dhcp-pool 192.168.2.2-192.168.2.254
> ip pool set ovpn-dhcp-pool ranges=192.168.2.2-192.168.2.100 > ip pool print Columns: NAME, RANGES # NAME RANGES 0 ovpn-dhcp-pool 192.168.2.2-192.168.2.100
После этого подключение должно будет заработать.