Weird DHCP behavior
Posted: Sun May 14, 2023 7:10 pm
Hello,
I found very weird DHCP behavior.
I have two clients connected to my VPN server.
- Client 1 - SSTP (Mikrotik router)
- Client 2 - OpenVPN client (Linux OpenVPN client)
At the initial connection, Client 2 - OpenVPN client received IP 192.168.97.1
At the initial connection, Client 1 - SSTP received IP 192.168.97.2
After some days, I found that Client 1 and Client 2 received the same IP address - 192.168.97.1.
According to Secure NAT operation Status:
Allocated DHCP Clients - 0
Virtual DHCP server status is empty.
According to Client 2:
According to Client 1: DHCP config: Rebooting the VPN server and reconnecting clients fixed the issues for some time, but after several days, the problem occurred.
Any idea what's wrong with my configuration?
I found very weird DHCP behavior.
I have two clients connected to my VPN server.
- Client 1 - SSTP (Mikrotik router)
- Client 2 - OpenVPN client (Linux OpenVPN client)
At the initial connection, Client 2 - OpenVPN client received IP 192.168.97.1
At the initial connection, Client 1 - SSTP received IP 192.168.97.2
After some days, I found that Client 1 and Client 2 received the same IP address - 192.168.97.1.
According to Secure NAT operation Status:
Allocated DHCP Clients - 0
Virtual DHCP server status is empty.
According to Client 2:
Code: Select all
```
tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
inet 192.168.97.1 netmask 255.255.255.255 destination 192.168.97.2
inet6 HIDDEN_INFO prefixlen 64 scopeid 0x20<link>
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 500 (UNSPEC)
RX packets 234504 bytes 24085222 (24.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 692 bytes 33216 (33.2 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
```
According to Client 1: DHCP config: Rebooting the VPN server and reconnecting clients fixed the issues for some time, but after several days, the problem occurred.
Any idea what's wrong with my configuration?