networking - Enable Internet (Wi-Fi) and Intranet (Ethernet) to work at the same time

06
2014-04
  • Questioner

    EDIT: OS is Windows 7.

    I have seen a couple of threads about this, but I am so limited in my networking knowledge that I have been unable to get those solutions to work for me.

    I am trying to connect to an intranet so that I can navigate to internal sites (such as Sharepoint, etc.), but I also need to be able to access my internet over a Wi-Fi connection, which is a 3G Mi-Fi.

    What's currently happening is that, when I have the ethernet cable plugged in and Wi-Fi on at the same time, my internet works, but I cannot access the intranet. And it is really a huge pain to switch between the two.

    My network details are below (not sure what other details would be needed?):

    Wireless:

    Default Gateway: 192.168.1.1
    IPv4 Address: 192.168.1.102 (preferred)
    Subnet mask: 255.255.255.0
    DNS: 192.168.1.1
    

    Wired:

    Default Gateway: 172.23.42.1
    IPv4 Address: 172.23.42.165 (preferred)
    Subnet mask: 255.255.255.0
    DNS: 172.24.130.12
    

    Please advise.

    Thanks and regards, Amy

  • Answers
  • David Schwartz

    You should not have a default gateway on the wired connection. There is no gateway to anything on that network.

  • MariusMatutiae

    All you have to do is to manipulate your routing table. Since you do not state your OS, I cannot give you the excat commands, but basically what you need to do is:

    1.Have only one default gateway, via your wifi. If it does not exists, create it; if there is default gateway of the intranet connection delete this one, and create the one via the wifi.

    2.Leave all other routes as they are.

    To find out how to do it, just Google *How to change default gateway in Your_Operating_System*.

    If you make an error, nothing to worry about: turn the pc off, and back, and the error has disappeared.


  • Related Question

    Windows 7 computer apparently connected to working wireless network but can't access router page or internet
  • Hemmer

    I can consistently connect successfully to both the router and the internet using both my phone and two different computers which strongly suggests that the issue is at the desktop end.

    Only my Windows 7 desktop machine has stopped getting internet connectivity. It manages to connect to the router's network using the Windows 7 wireless dialog, but can't access either the router configuration page (192.168.1.1) or the internet in general once connected. The strange thing is the wireless network icon in the notification bar shows a full strength signal, sometimes with the yellow warning triangle. The output of ipconfig /all is:

    Wireless LAN adapter Wireless Network Connection:
    
    Connection-specific DNS Suffix  . :
    Description . . . . . . . . . . . : Broadcom 802.11g Network Adapter
    Physical Address. . . . . . . . . : 00-12-17-94-98-90
    DHCP Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    IPv4 Address. . . . . . . . . . . : 192.168.1.102(Preferred)
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Lease Obtained. . . . . . . . . . : 08 June 2011 10:32:16
    Lease Expires . . . . . . . . . . : 08 June 2011 12:32:16
    Default Gateway . . . . . . . . . : 192.168.1.1
    DHCP Server . . . . . . . . . . . : 192.168.1.1
    DNS Servers . . . . . . . . . . . : 194.168.4.100
                                        194.168.8.100
    NetBIOS over Tcpip. . . . . . . . : Enabled
    

    I've tried

    • renewing DCHP settings
    • disabling IPv6
    • resetting TCP stack
    • uninstalling and reinstalling WLAN card drivers

    I've not installed anything new or made any changes to my knowledge, this just happened out of the blue. The only possible change is my friend connected his macbook to the network, but that has gone now and shouldn't have any lasting effects? TCP/IPv4 is set to automatically find an IP address. Antivirus is MSE (up to date) and doesn't detect anything unusual. Any ideas where to go next? Any help is greatly appreciated.

    For reference, the results of ipconfig /all on one of the working computers is:

    Ethernet adapter Wireless Network Connection:
    
        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Broadcom 802.11g Network Adapter
        Physical Address. . . . . . . . . : 00-16-CF-67-E5-97
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 192.168.1.100
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.1.1
        DHCP Server . . . . . . . . . . . : 192.168.1.1
        DNS Servers . . . . . . . . . . . : 194.168.4.100
                                            194.168.8.100
        Lease Obtained. . . . . . . . . . : 08 June 2011 10:26:38
        Lease Expires . . . . . . . . . . : 08 June 2011 12:26:38
    

    UPDATE: Still not working, but I've managed to find a temporary workaround by tethering my Android phone, effectively becoming a new wifi adapter. Will be moving to a new flat so will test if it is a network specific thing - maybe the card has got damaged somehow? Also will see if the card is working with Linux soon.


  • Related Answers
  • techie007

    The next few things I'd try (to see if I could get it working at all) based on info given:

    1. Right click the wireless icon and choose "Troubleshoot problems".
    2. Reboot.
    3. Hard-set it to a different IP address in the same subnet.

    If one of these works and doesn't 'just fix it', it will hopefully at least lead you to the next steps you'll need to take (which would depend on the results of these tests).

    Edit: Couple more

    1. Try Safe mode with networking
    2. Boot to another operating system (grab a Linux LiveCD or alike)
  • oleschri

    Try a traceroute to your gateway, maybe routing somehow got misconfigured. Check the current route settings.

     tracert 192.168.1.1
    
     route print
    

    See if the router configuration denies your preferred IP 192.168.1.102. See if your PCs MAC address is allowed on the router if the default is to deny any MAC address.

    Some background: route, Default route, Default gateway

    Update:

    Found some additional ideas at another SU question: WiFi Network is fine for Macbook Pro and Win XP, but Win Vista "Limited Connectivity"

  • KCotreau

    I did an NSLOOKUP of several hosts I know using your DNS servers. They are refusing queries. You need to change your DNS servers. You can use Google's: 8.8.8.8 and 8.8.4.4

    If you can ping them, you have Internet connectivity, and you just need to fix resolution.

  • jonsca

    I had the same problem in my laptop using Windows 7. I ran in recovery mode with network connection and it was able to access the router and internet.

    Then, I rebooted to normal mode again and executed route add 0.0.0.0 mask 0.0.0.0 192.168.0.1 (my router IP) in a cmd with admin privileges and it said

    "The route addition failed: The object already exists".

    Right after that the warning icon in the wireless connection disappeared and now I have my router and internet connection again!