How do I get windows to recognize there is no Internet

This is a very interesting issue. I’m trying to get windows to recognize that there’s no Internet out of one of my network ports.

I’m trying to create a home lab of sorts and I can’t have it on the Internet so I bought an Asus router work as a DHCP server, but my computer with dual network parts thinks both my main line with Internet and this router I have Internet.

This is screwing up all of the routing in the computer. Every time I search for this issue everyone’s trying to connect to the Internet.

Any ideas?

I do have it TP Link managed switch would it be easier just to use that and set all of the ports to static IP addresses?

Can you outline what it is you’re trying to do?

What IP Ranges are you using on each port?

Right now I’m just trying to get windows to recognize that this network port doesn’t actually have Internet because it thinks it does and it’s trying to route stuff through that network port.

I have sinology Nas is that I’m trying to connect. I’m kind of trying to create a whole subnetwork.

It might be uselful to share detailed steps of what you did, step by step when setting this up

Rought network map is also neccesary here, because your description offers little insight how your network actually looks and works.

Windows complaining about network connectivity is easy - it tries to ping microsoft servers and if it fail, bam you have no internet warning. It has no functional impact though, except to warn you.

It has no impact on routing, it is a result of fucked up routing.

Number of network interfaces does not matter here, unless routing is messed up.

You did set network route for second nic right? You cannot set two interfaces with subnet and gateway, even if that setting was accepted itcould not work.

I have two network port one on the laptop dock and one on the laptop itself.

The one on the dock is the one with my home Internet, going to a ubiquity router with Internet access.

The one on the laptop goes to a Asus router with a network that I wanna keep off the Internet.

When does was letting traffic in but routing it incorrectly and everything was saying it was off-line. Teams said it was off-line but would let new messages come in.

Even after restarting the port without any Internet access finally said that I had no Internet, however teams was still having the same issue.

The ubiquity is 192.168.99.xxx or 192.168.2 or 3.xxx depending on the vlan

The Asus is the default 192.168.50.xxx

Okay, to summarize:

  • two separate physical networks
    * A has internet access
    * B has not
  • net subnets do not overlap, check

OS cannot automatically decide where each packet goes without hints.

Only one nic can have subnet + gateways set, this will be your primary network. All traffic that is outside its subnet and not matching other routing rules will be set via that interface to gateways specified. This is catchall rule.

Each other nic has to have routing rule set that all trafic for matching target network goes through it.

Follow this guide to set up routing on host https://www.howtogeek.com/22/adding-a-tcpip-route-to-the-windows-routing-table/

no need for another router just make an internal network dhcp.
put your labs on it
that way your not connecting to the nat at all.

chuck has a quick setup guide to creating a dhcp server and securing it…
yes i know this is a setup for kali but the process is the same.
at the end you will have an internal network you can connect your labs to.