Without using all the ccd nonsense, is there a way to reserve an IP address to prevent it from being given out by openvpn's DHCP "server"?
server.conf:
dev tap
server 192.168.113.0 255.255.255.0
...
Client router has a static IP address of 192.168.113.3. How do I prevent IP conflicts? I can't change IP addresses on the router and it has to be in the same 24 subnet. What I really want is the functionality of server-bridge where you can specify the dhcp range.
Thanks.
Reserve an IP address from the DHCP server
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 1
- Joined: Thu Jul 28, 2011 10:26 pm
- Bebop
- Forum Team
- Posts: 301
- Joined: Wed Dec 15, 2010 9:24 pm
Re: Reserve an IP address from the DHCP server
CCD is hard to understand at first, I give you that. But far from nonsense though. If its just a single IP to reserve, then CCD is actually the least nonsensical method available to you.gp0000000000 wrote:Without using all the ccd nonsense, is there a way to reserve an IP address to prevent it from being given out by openvpn's DHCP "server"
The cure for boredom is curiosity
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Reserve an IP address from the DHCP server
hi there,
if your clients router has the same range with your vpn range
then you have to choose another subnet for openvpn...
you can still use any of the private ranges for this job.
Michael.
if your clients router has the same range with your vpn range
then you have to choose another subnet for openvpn...
you can still use any of the private ranges for this job.
Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: Reserve an IP address from the DHCP server
try usingWhat I really want is the functionality of server-bridge where you can specify the dhcp range.
Code: Select all
ifconfig 192.168.113.10 255.255.255.0
ifconfig-pool 192.168.113.100 192.168.113.200 255.255.255.0