Does using ifconfig-push garanteed that no other client will take this ip ?
does using ifconfig-push garanteed that no other client will take this ip ?
Collapse
X
-
Hi,
It depends on the setup.
Please post your server configuration.
You would want to start read about
Code:--topology mode --server args --ifconfig-pool args --ifconfig-push args
-
Code:topology subnet push "topology subnet" ifconfig 192.168.200.1 255.255.255.0 server 192.168.200.0 255.255.255.0 nopool ifconfig-pool 192.168.200.2 192.168.200.100 route-gateway 192.168.200.1 push "route-gateway 192.168.200.1" push "dhcp-option DNS 172.16.10.1" push "dhcp-option DNS 172.16.10.2" push "route 172.16.10.0 255.255.255.0" push "route 172.16.11.0 255.255.255.0" ifconfig-pool-persist ipp.txt
Code:ifconfig-push 192.168.200.* 255.255.255.0
Comment
-
Hi,
I see you already use the nopool and ifconfig-pool options which makes ifconfig-pool-persist a possible conflicting option.
Just remove,
Code:ifconfig-pool-persist ipp.txt
For clarity,
Code:ifconfig-pool 192.168.200.2 192.168.200.100
Fixed clients (clients with ccd file) can be allocated a tunnel IP from 192.168.200.101 till 192.168.200.254 via ifconfig-push.
Also,
Code:ifconfig 192.168.200.1 255.255.255.0 route-gateway 192.168.200.1 push "route-gateway 192.168.200.1" push "topology subnet"
Code:server 192.168.200.0 255.255.255.0 nopool
Please read
Code:--server args
(dev tun AND topology == subnet)
Comment
Comment