Windows 8 and 8.1 Forums


uncommon network settings

  1. #1


    Posts : 5
    Windows 8

    uncommon network settings


    Hi,

    I have a few problems related to uncommon network configuration.

    Firstly, under network connections > adapter properties > ipv4 properties, I can choose to obtain DNS server automatically or specify my own DNS server. I would like to be able to choose different DNS servers based on which connection I am currently connected to. Is it possible? I believe this should be a common practice in corporate environment with local DNS servers serving internal zones. When employee brings back his notebook and connects to his home network, he should use a public DNS server.

    I am currently using corporate DNS server as primary NS and public as secondary. However, I do experience 404 occasionally when browsing intranet because secondary NS was used to resolve. My corporate server is able to forward requests outside of our zone so I am looking to put both primary and secondary NS as my corporate NS.

    Secondly, is it possible to specify the BSSID or mac address of the access point I wish to connect to? This is because there are multiple access points broadcasting the same SSID and I am automatically connected to the one with strongest signal. Im omitting the details because it is rather complicated but I do need to select a particular access point and there is no way around it.

    Is windows 8 able to do so, if not are there are 3rd party software which allows such settings?

    Thanks in advance.

      My System SpecsSystem Spec

  2. #2


    Maybe separate hardware profiles? How to Create a Hardware Profile
      My System SpecsSystem Spec

  3. #3


    Posts : 5
    Windows 8


    huh???

    I am not running a VM, did you reply in the wrong thread?
      My System SpecsSystem Spec

  4. #4


    My apologies. I (obviously) did not read the first sentence or two of that article. I know you could do this in XP and thought you would be able to do it in Win 7/8 but I just came across an article that said MS removed this ability in Vista and up.

    What about two batch files to change the DNS? Change IP address and DNS servers using the Command Prompt - Help Desk Geek
      My System SpecsSystem Spec

  5. #5


    Posts : 5
    Windows 8


    Hi,

    Thanks a lot for your help. I will implement a script to read from ipconfig every few seconds and use netsh above to change DNS information.

    For any users in future who may be looking for a solution to a similar problem, there is a GUI utility out there
    https://code.google.com/p/netprofiles/ if you are uncomfortable working in cmd line. Unfortunately, you have to manually switch profiles when you change the connection.
      My System SpecsSystem Spec

  6. #6


    Seems like that would be a lot of overhead. Why not just a batch file you can launch from the desktop whenever you change locations that will set the IP address?
      My System SpecsSystem Spec

  7. #7


    Posts : 5
    Windows 8


    Personally feel quite a hassle to remember to click it everytime. My bad, the script will not be checking every few seconds, I will set it to run on boot so it will check only once.
      My System SpecsSystem Spec

  8. #8


    Ah, much better solution.

    Would you post the script when done?
      My System SpecsSystem Spec

  9. #9


    You can also bind multiple DNS servers, gateways, and IP settings to a single NIC by using the Advanced TCP/IP settings. Just go to IPv4 properties then click the Advanced button which gets you to the Advanced TCP/IP settings.
    Attached Thumbnails Attached Thumbnails Advanced TCPIP settings.PNG  
      My System SpecsSystem Spec

  10. #10


    Posts : 5
    Windows 8


    Simple powershell script here.

    Code:
    $ip = Get-WmiObject -Class Win32_NetworkAdapterConfiguration -Filter IPEnabled=TRUE 
    if ($ip.IPAddress -eq "192.168.1.100") //this IP is assigned by my home router.
    {
    	netsh interface ip set dns “Wi-Fi” static 8.8.8.8//set to google public DNS
    }
    else
    {
    	netsh interface ip set dns “Wi-Fi” static 192.168.1.252//set to company DNS server
    }
      My System SpecsSystem Spec

uncommon network settings
Related Threads
How would I completely reset network settings in Windows 8.1? I've been having intermittent issues with network connectivity for a while, and I want to make it like it's the first time I'm setting up a connection when my computer was new.
Hi guys, I have intel Wireless adapter card.. wanted to get your opinion on what settings for performance can be set for these in the advanced settings on the adapter ? ARP offload for WoWLAN - ? Bluetooth amp.. (i do use a bluetooth sound mini speaker)
How to Create a Network Connection Settings Shortcut in Windows 8.1 Network -> Connections in PC settings allows you to edit, manage, and view connection settings of your added networks on the PC. This tutorial will show you how to create or download a Network Connection Settings shortcut...
Hey guys. I tried all over the net to find the solution to this problem but it seems to be a dead end and I thought this site may help more.... Anyhow basically I had the original "user" in control panel that I used when getting my gateway laptop and I decided to make a new user with admin...
English is not my native tongue, I apologize for any misspells or similar in advance. Iím connected to a Konica Minolta C224 network multifunction printer. I have never had any similar issues with any other of my printers. Let me also say I work in traditional Desktop view. I have no...
Is there a way to setup network profiles or something so that when I bring my Surface Pro to work and connect to the wireless network there it will use the static ip address I have but when I disconnect and then connect to my home wifi it will go back to DHCP? On my MacBook Pro I can go into the...
Hi, On my Win 8 pc i have LAN card setting problem, i have 2 lan card`s, one integrated and one i pci slot. I remove lan card from pci slot and now i only use only integrated lan card. Network connection woks fine, buth i cannot change tcp/ip adress to static, when i try to change adress i got...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook