etino
(Stefano Giraldi)
October 4, 2018, 7:58am
1
NethServer Version: v7
Module: openvpn
Hello guys,
Under my openvpn module, I need to set up a reserved IP for a client (Fixed/Static IP 192.168.169.51)
Via httpd-admin I’ve made this configuration for the client.
The client connection seems to ignore this setting and it comes with a different automatic IP assignment (192.168.1.6)
The weird situation is that for the first client I’ve set up (client-000 with ip 192.168.169.10) the reserved ip assignment works as aspected.
Do you have some ideas about where could be the problem?
Thank you for your help
etino
(Stefano Giraldi)
October 4, 2018, 8:33am
3
@filippo_carletti as always your answer are like pearls.
Anyhow, I’m not so confidend like you in the network/mask/ip calculation… so I’ve take your indication as a dogma for me.
But I’had a problem: 192.168.169.50 was already taken (indeed it works)
So in the server I’ve configured 192.168.169.60 for my client-001
The result was that the client has taken the 196.168.1.62 at the connection
Why have you told me that the ip .50 was ok for my setup?
(I know… I was in trouble with the openvpn document you have shared)
[Update] I’ve understood!
Thank you again @filippo_carletti
2 Likes
mardarg3
(mardarg3)
November 24, 2023, 11:54am
4
Hello. I have some problems too with reserved IP address for clients but is something else. I will post below a connection history. It seems that client lost connection and on reconnect receives a different IP address. Maybe the server thinks that the IP is taken. The reserved IP address is 10.1.44.22.
Anybody knows how can I prevent this?
Thank you!