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
Версия от 16:04, 19 мая 2022; Admin iph (обсуждение | вклад) (Новая страница: «=== Mikrotik - ERROR - There is a clash between the -ifconfig local address and the internal DHCP server address === Ошибка при подключении...»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к:навигация, поиск

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


После этого подключение должно будет заработать.