jcarter650
Member
- Local time
- 1:38 AM
- Posts
- 2
- OS
- Windows 11
I recently received a new laptop and went through our company's IT process to install the base Windows image (Windows 11 Pro 24H2). I connect to my WiFi router fine and receive an IP address (for example, 192.168.1.xxx). When I ping my host name (ping %COMPUTERNAME%), I can see in the results that the %COMPUTERNAME% environment variable resolves to my host name, which resolves to the IP address 192.168.1.xxx. And the ping is successful.
I then connect to our Cisco AnyConnect VPN, which assigns me a new IP address (for example, 10.43.105.xxx). Now when I ping my host name (ping %COMPUTERNAME%), it still resolves to the 192.168.1.xxx IP address, instead of to the VPN-assigned IP address of 10.43.105.xxx. And the ping fails with the error "General failure".
This failure to be able to address my host by name when connected to the VPN is causing problems with some of the applications I have to use.
I have an older machine that is set up in a similar way that does not have this issue. The ipconfig /all command shows the WiFi and VPN IP addresses and other attributes, but I don't see any issues there. Is there a way to determine why the host name is resolving to the WiFi IP instead of to the VPN IP?
A search turned up this link on this forum, but it looks like the VPN interface already has the lowest Interface metric (which I believe means it has the highest priority). Thanks.
I then connect to our Cisco AnyConnect VPN, which assigns me a new IP address (for example, 10.43.105.xxx). Now when I ping my host name (ping %COMPUTERNAME%), it still resolves to the 192.168.1.xxx IP address, instead of to the VPN-assigned IP address of 10.43.105.xxx. And the ping fails with the error "General failure".
This failure to be able to address my host by name when connected to the VPN is causing problems with some of the applications I have to use.
I have an older machine that is set up in a similar way that does not have this issue. The ipconfig /all command shows the WiFi and VPN IP addresses and other attributes, but I don't see any issues there. Is there a way to determine why the host name is resolving to the WiFi IP instead of to the VPN IP?
A search turned up this link on this forum, but it looks like the VPN interface already has the lowest Interface metric (which I believe means it has the highest priority). Thanks.
- Windows Build/Version
- Windows 11 24H2 OS Build 26100.4061
My Computers
System One System Two
-
- OS
- Windows 11
- Computer type
- PC/Desktop
- Manufacturer/Model
- Lenovo
- CPU
- Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz 3.19 GHz
- Motherboard
- LENOVO 3132 SDK0J40697 WIN 3305239413822
- Memory
- 32 GB
- Hard Drives
- SSD 1 TB + 2 TB
-
- Operating System
- Windows 11
- Computer type
- Laptop
- Manufacturer/Model
- Dell
- CPU
- Intel(R) Core(TM) Ultra 7 268V 2.20 Ghz
- Memory
- 32 GB
- Hard Drives
- SSD 2 TB