|
|
While windows lacks an ifconfig command, it has a similar command called netsh. Suppose you had a TAP-Win32 adapter called "my-tap", and you wanted to change the IP/netmask to 10.3.0.1/255.255.255.0. This command would do it: netsh interface ip set address my-tap static 10.3.0.1 255.255.255.0 In fact netsh is so useful, I have coded the --ifconfig option for Windows in a way that calls netsh (in upcoming 1.5-beta8). I would like to know from other OpenVPN on Windows users (preferably those using Win2K), the answer to this question: Does the netsh command as shown above ever require a reboot to finalize the configuration change? If so, it may be infeasible to implement an --ifconfig option for Windows using netsh. James ____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2003-09/msg00015.html on line 193 Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2003-09/msg00015.html on line 193 |