Configuring Intranet and Internet on one PC

Mar 4, 2018
5
0
10
I have PC with one NICs connected to Internet and Intranet. I have given two Ips and gateways by advanced setting in IPv4

Intranet settings are

10.15.82.101
255.255.255.0
10.15.82.1

Internet settings are

192.168.82.101
255.255.255.0
192.168.82.1

I am not able to use both at a time.
 
What are you trying to do with this setup? Are you using your computer as a router? One issue I see here is that you are using a Class C private IP for internet therefore making that IP actually able to go onto the internet.
 


There are two routers, one for internet and another for intranet
 
Are you sure it's two routers? Did you mean a Modem and a router? It would not make any sense to have a router and another router (unless you were to be setting up a DMZ). Sorry for the questions I am trying to grasp the situation.
 




one router is intranet from another city, and another one is for internet by my ISP
 
What I would recommend is using one router because that one router can router through your LAN (intranet) and the internet, I would also recommend using the DHCP. There is little reason to set up two routers and the reason why it would not be working is because there aren't protocols (that I know of at least) for what you are trying to do. A router when it gets information, checks its routing table for the destination IP, if it is not in its routing tables (basically if its not on the LAN), it sends the packet through the default gateway and to the internet.

This is how most if not all consumer routers work.
 


Oh ok I see what you are trying to do, have you tried setting up a VPN? this will allow you to get into the network over the internet and would work. The problem is the IP's you are using are private they do not route on the internet.
 
https://www.howtogeek.com/135996/how-to-create-a-vpn-server-on-your-windows-computer-without-installing-any-software/ , https://www.pcworld.com/article/210562/networking/how-set-up-vpn-in-windows.html these should allow you to connect your networks via internet however if you are trying to connect to the internet of say your work or organization ask before doing this and they may have their own VPN.
 
Solution