Page 1 of 1

secureNat DHCP

Posted: Sat Apr 25, 2020 5:58 pm
by hyper91
hi

i want more than 255 ip in the virtual dhcp but when i set it to 10.1.0.1 to 10.1.7.254
the secureNat just use 10.1.1.1/24 and does not use next range

Does virtual dhcp have a limition to just 255 ip?
please help me

Re: secureNat DHCP

Posted: Sat Apr 25, 2020 9:25 pm
by OliverTejada
Absolutely no, there is no limit. Just use a different subnet mask if you want more than 255 hosts.

For example you can use 10.1.1.0/23 (255.255.254.0) which gives you twice as much (512 hosts)

10.1.1.0 being the network ID
10.1.0.1 being the first usable address
10.1.1.254 being the last usable address


If you want to use that custom range you're saying, you must set the subnet mask to be /21 or 255.255.248.0, which results in 2046 usable addresses.

10.1.0.0 being the network ID
10.1.0.1 being the first usable address
10.1.7.254 being the last usable address

Re: secureNat DHCP

Posted: Sat Apr 25, 2020 9:52 pm
by hyper91
I used 255,255,248.0 subnet
But secureNat only uses the first 255 hosts
Of course, I also run the Open vpn and L2TP services and
They get a new IP for each connect

also i used local-bridge before secure-nat but when connect on the phone (with openvpn or l2tp) It takes a long time to get the data :(

and my secound question:
how many online clients can handle by softether? in securenat and local-bridge?

Re: secureNat DHCP

Posted: Sat Apr 25, 2020 11:58 pm
by OliverTejada
Make sure to restart SoftEther VPN Server Service or SecureNAT itself for it to take effect. It should work fine for you, I'm currently using SecureNAT's DHCP for a large network of hosts, and it works.

Re: secureNat DHCP

Posted: Sun Apr 26, 2020 9:39 pm
by hyper91
thanks for your reply bro
I activated securenat_randomizeAssignIp from virtual hub extended option
And virtual dhcp working fine right now

Re: secureNat DHCP

Posted: Wed Apr 29, 2020 3:39 am
by edsadeghi
Thanks. It works fine now.