Two Connections at once - windows

So basically I have a WiFi network which has internet, then I have a LAN network that does not have internet its just a dummy internet so I can test things with higher speeds. But here's my issue since the LAN doesn't have internet when I plug it in my computer doesn't keep internet even though I am still connected to my WiFi which has internet. any solutions?

sorry guys. I just figured out that both the gateways on my routers were the same and that was causing the issue.

Related

Different bandwidth between from modem and Mikrotik routerboard

I have level up of my internet bandwidth from 100mbps to 300mps, I tested from modem directly, I got 300mpbs. On the other hand, when I tested from Mikrotik-Routerboard RB1100AHx4 version, I got 100mbps, anyone can help me to resolve it?
I have checked menu of Filter, Queues, and others, but I don't get anything from this..

How does my computer know that it is connected to the Internet?

Sorry for asking such a mundane question, but I'm suddenly curious. If I open the network connections dialog on my Windows machine, it shows me a cute little picture of my computer connecting to a router and then to a globe (labeled Internet). What is Windows trying to connect to in order for it to decide that the computer has Internet connectivity? I assume there is no IP4 address for 'The Internet', so where is it going? Is it just sending a ping to an address back at the Microsoft home office? If that address were to disappear, would my window's machine suddenly decide that it no longer has a route to the Internet? Would Windows boxes that were 'close' to that address incorrectly report that they could get to the Internet when they couldn't.
I'll stop now before this gets too silly. But seriously, what criteria does a Windows box use to determine that it has Internet connectivity? I'm assuming that Linux and iOS systems have an equivalent feature. Do they use the same criteria?
The general IP address that is used for 'the internet' is 8.8.8.8 - or Google.com.
If you can ping it, and get a web page from it, then there's a pretty good chance you can get to at least some of the internet.
But for specifically Windows - Network Connectivity Status Indicator - it uses a different domain: dns.msftncsi.com
It will (unless disabled by GPO):
resolve the name, and verify it has the 'right' IP (131.107.255.255
fd3e:4f5a:5b81::1 )
Perform a HTTP get to this address and check it gets a result. NCSI
Presumably if different responses are retrieved, then it can tell if it has a wi-fi login or similar.
Your intuitions seem correct. I am not on a Windows machine but you could find out by firing netstat and then connecting.
If I was programming this I'd make Ping, TCP and HTTP requests. Some devices are connected through proxies such as firewalls, captive portals and others. the only way to be sure is to send something and receive a reply.
My Android device for example can detect captive portals. It probably does that by trying to HTTP connect somewhere.

wireless connection co-exist with wired Ethernet connection

I can have a USB wireless connection to visit internet and an Ethernet wired connection to
the intranet(dynamic IP). However, they can NOT co-exist.
Every time I want to use one of them, I have to unplug the other one.
This is so annoying! Does anyone has a solution to let them compatible that computer uses
the wifi to visit internet and wired to ssh to the other local servers?
thanks in advance!
Might want to check the IP addresses of these two interfaces: they should fall into different subnets. For example, 192.168.x.y for wireless and 10.10.m.n for wired. Otherwise your outgoing packets may go to the wrong interface.

Need to find solution to route major traffic via LAN internet and minor traffice via dialup network

I have lan internet with some proxy server (corporate internet) and usb dial up direct network. I am using win7 prof edition.
I want to control the internet traffic(based on applications & most of it ) to LAN internet and minor traffic to dialup network.
After connecting to LAN and then dialup, always dialup take precedence and hence my lan is not used when dialup it is active. All communication I meant here is IE or any application on windows communication.
Interestingly I could control it manually in firefox, by switching/changing the proxy settings to proxy server on LAN or ip address of dial up connection. But if I try the same in IE it doesn't work and always point to dialup(until it is active)
let me know how to achieve this. I was looking in to route command line tool to solve this but need experts advice on this.
Try Fiddler 2
The free web debugging proxy for any browser, system or platform
Features:
http://fiddler2.com/Features/http-https-traffic-recording

Wifi and LAN at same time

As the question states, I have two ethernet devices I need to use. A wifi hotspot for general traffic as well as a LAN connection for local traffic (192.168.1.*). Right now the wifi receives all traffic and disregards the existence of my local LAN devices. I am trying to communicate with this device using python's urllib2 and basic http fetches. The program works partially when I turn one or the other off (turning wifi off makes the LAN code work, and turning LAN off makes wifi/general traffic code work). I believe this is more of an operating system issue than a programming question, but I might be mistaken. I have been messing with the Ethernet setting in system preferences, but nothing has been working so far.
Thanks for the help.
Depending on your needs and degrees of freedom, you can:
1) Easiest: If you can control one or both network ranges, you can put wifi and LAN on different subnets. For example, 192.168.2.* could be LAN traffic, and 192.168.1.* could be wifi. If only the WiFi side has a gateway, then all traffic except 2.* traffic should route through WiFi, and all 1.* traffic goes to the LAN. No change to your computer.
2) Medium: if you don't control the networks, you can define routing rules for the two ports. This lets you say certain IP addresses should be reached thru wifi, vs others thru LAN port. An example in Linux, which I think should work on OS X too: http://linux-ip.net/html/routing-tables.html The trickiest thing is to make sure you won't get in the way when you're in someone else's network. You can do this by creating narrow routing rules, or turning them off when you don't need them. It sounds like you're doing this from a python program, so maybe the program could turn this on and off at start and finish.
3) Slightly more exotic: I wasn't totally sure from your question, but if you're trying to do load balancing (not separate networks), you could create rules to bond together two network ports and spread traffic across them. This isn't something I've done, but real network engineers know how to set this stuff up.
I could expand on one of these if you clarify what you're trying to do and what degrees of freedom you have.
For somebody don't want to do the study you can simply repeat my steps:
Open system preferences
click on Network
(ensure the precedence, first thunderbolt then wifi) click on thunderbolt
Configure IPv4 choose manually
delete router
done!
I have exactly the same user case. But I read this without any network knowledge.
I achieved this by simply following #Nils' 1) instructions. I only understand theses instructions after reading this link

Resources