[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Using netsh on Windows


  • Subject: Re: [Openvpn-users] Using netsh on Windows
  • From: Marco Corte <marco.corte@xxxxxxxx>
  • Date: Wed, 03 Sep 2003 11:51:20 +0200

James Yonan ha scritto:

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.

I tried it right now and it works without reboots. Transcript from a cmd window:


----------------------

Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\>ipconfig

Windows 2000 IP Configuration

Ethernet adapter my-tap:

        Media State . . . . . . . . . . . : Cable Disconnected

Ethernet adapter onboard:

[snip]

C:\>netsh interface ip set address my-tap static 10.3.0.1 255.255.255.0

C:\>ipconfig

Windows 2000 IP Configuration

Ethernet adapter my-tap:

        Media State . . . . . . . . . . . : Cable Disconnected

Ethernet adapter onboard:

[snip]


C:\>ipconfig /all

Windows 2000 IP Configuration

        Host Name . . . . . . . . . . . . : otello
        Primary DNS Suffix  . . . . . . . : babel.it
        Node Type . . . . . . . . . . . . : Hybrid
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No
        DNS Suffix Search List. . . . . . : babel.it

Ethernet adapter my-tap:

        Media State . . . . . . . . . . . : Cable Disconnected
        Description . . . . . . . . . . . : TAP-Win32 Adapter
        Physical Address. . . . . . . . . : 00-FF-63-2B-F9-C5

Ethernet adapter onboard:

[snip]

C:\>ping 10.3.0.1

Pinging 10.3.0.1 with 32 bytes of data:

Reply from 10.3.0.1: bytes=32 time<10ms TTL=128
Reply from 10.3.0.1: bytes=32 time<10ms TTL=128
Reply from 10.3.0.1: bytes=32 time<10ms TTL=128
Reply from 10.3.0.1: bytes=32 time<10ms TTL=128

Ping statistics for 10.3.0.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum =  0ms, Average =  0ms

-------------------------------------------------------


Note 1: the onboard interface has public address, so I am sure I am pinging my-tap


Note 2: I'm not pinging someone else (TTL=128)

Note 3: The media sense is disabled (see http://support.microsoft.com/?kbid=239924)


Hope this helps.

Bye

---Marco


____________________________________________ 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/msg00016.html on line 232

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/msg00016.html on line 232