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 - 2024
Admin iph (обсуждение | вклад) (Новая страница: «=== Mikrotik - ERROR - There is a clash between the -ifconfig local address and the internal DHCP server address === Ошибка при подключении...») |
Admin iph (обсуждение | вклад) |
||
(не показана 1 промежуточная версия этого же участника) | |||
Строка 1: | Строка 1: | ||
+ | [[Файл:B_1.gif |link=https://bit.ly/3tbFsd6| Доступная цена]] | ||
+ | |||
=== 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 серверу на микротике: | Ошибка при подключении к 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:05, 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
После этого подключение должно будет заработать.