Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

traffice routing in windows 10

Oct 14, 2015 10:20PM PDT

Hi, Good Day!

On my laptop (windows-10), I have 2 network interfaces to work in parallel.

1. Wifi device connected to USB port (192.168.1.0)
2. LAN connectivity connected through cable (192.168.16.0)

I need to route all traffic of other than sub-net 192.168.16.0 (which is actually my internet access requests) to sub-net 192.168.1.0.

Please share your opinion to get this done.

P.S. both interfaces are in working state, but my internet traffic is also traversing through sub-net 192.168.16.0, which should be through 192.168.1.0.

Thanks
-X

Discussion is locked

- Collapse -
Clarification Request
Did you examing the routes with NET ROUTE?
Oct 15, 2015 4:40AM PDT

If not, you won't know. But I must preface that use of NET ROUTE is not something I'll write about as that is on the web. I'll point out the commands to look at the route but as you are the one that must maintain your system, you must command the skills to control it. Look at the route and change it with net route as needed. Be sure to check the gateway and default route too.

- Collapse -
net traffice routing
Oct 15, 2015 11:03PM PDT

Hi, Thanks for your reply R.Proffitt.

I need to route outgoing internet traffic. how can I add route if I don't know the destination ip/hostname (internet)

route ADD 10.10.10.0 MASK 255.255.255.0 192.168.1.12

what to write here "above underline bold/underline address" : )
that's why I have asked about how can I specify a route which can specify that if outgoing traffic is not of sub-net 192.168.16.0/24 then route it to gateway 192.168.1.1?

Thanks.
-X

- Collapse -
That's what the netmask is for.
Oct 16, 2015 6:10AM PDT

Remember I don't repeat what's on the web about IP networking. You must know your routes and the commands to change it if need be.

But in short the adapter IP, netmask determine what addresses are on that LAN and when it doesn't fall inside the netmask that set the LAN address range then it's sent to the gateway.

https://www.google.com/#q=how+to+set+gateway+on+Windows+10