sukamusiru Posted September 26, 2006 Share Posted September 26, 2006 The setup: two adjacent rooms with separate internet connections both have a router that distributes each room's outside connection to two computers inside each room. There is a cat6 connecting one computer in one room to the router in the other room. That router has been configured to block internet access to the computer in the other room. This setup was to maintain separate internet connections but still have the two rooms on a single network. Diagram attached, hopefully that will make the description more clear. The problem is that the computer connected to the router in the next room and the router in its room does not get continuous internet access, it is off most of the time but occasionally flips on for a few moments, sometimes even as much as a few minutes, as if it is constantly switching between both routers for internet access. Is there a way to configure that computer connected to the two routers to accept an internet connection from one only? pc1 in the diagram needs internet from the left router but also to be on the network for the right router. Link to comment Share on other sites More sharing options...
brand Posted September 27, 2006 Share Posted September 27, 2006 (edited) now, i just woke up... but... how about running a proxy on PC1 that will direct it's (internet) traffic through the "internet for pc1" router? You should be able to "bind" the proxy to use the NIC that connects pc1 to the "internet for pc1" router; and try to direct network traffic (name resolutions) to the ip range of the "internet for pc2" network (static DNS settings on both NICs, so that, any DNS requests can only be resolved "properly"; and then edit the HOSTS file for DNS resolution to the PC that is on the "internet for pc1" network. Subnets will have to be different, obviously. Look into it, but I think you can set up "internet connection sharing," which I think is a built-in proxy in windows. Edited September 27, 2006 by bigflavor Link to comment Share on other sites More sharing options...
XgD Posted September 27, 2006 Share Posted September 27, 2006 Use the ROUTE command in the Windows XP command prompt. Make it route 0.0.0.0 through your router, then just the other network's subnet through the second NIC XgD Link to comment Share on other sites More sharing options...
andy2004 Posted September 27, 2006 Share Posted September 27, 2006 more efficent way would be to get yourself a network switch and connect all your pcs into that. Then connect each router to the switch. On each PC have 2 network cards. One to use router 1 and one to use router 2. Configure each router with a different ip address. Then on the pc's configure one card to use the ip of router 1 and the other to use the ip of router 2. Using a network switch would allow expansion for future use and also would be more efficent in moving traffic around the network. Link to comment Share on other sites More sharing options...
traffic Posted September 27, 2006 Share Posted September 27, 2006 (edited) yup as XgD said, you will need to do it on both subnets so the packets know how to get back. a setup somet like this should do. PC1 IP: 192.168.0.1 route add 192.168.1.0 mask 255.255.255.0 192.168.1.1 PC2 IP: 192.168.1.1 route add 192.168.0.0 mask 255.255.255.0 192.168.0.1 Edited September 27, 2006 by traffic Link to comment Share on other sites More sharing options...
+BudMan MVC Posted September 27, 2006 MVC Share Posted September 27, 2006 Why not just connect the routers together.. Run a cable between 2 lan ports on your routers. And put all the machines on the same network.. BTW what are the current LAN IPs of your routers? If they are the same - no wonder your having issues. Make sure your routers LAN are the same, ie 192.168.1.0/24 Router 1 LAN IP 192.168.1.1 Router 2 LAN IP 192.168.1.2 Then setup your machines 192.168.1.100 192.168.1.101 etc.. Mask would be 255.255.255.0 or 24 bit Then set the gateway to whatever router you want that machine to use, ie .1 or .2 and setup whatever DNS you want.. You could also setup dhcp on 1 of the routers, and the machines you do not want to use that router - set them up static. Here is a layout. This allows ALL machines to talk to each other, do not have to F with any routing or multiple interfaces on a machine, etc.. etc.. You could also allow for machines to use the other internet connection if one is down, just setup another gateway on the machine, and change the metric on it to be a seconday, etc.. Link to comment Share on other sites More sharing options...
brand Posted September 27, 2006 Share Posted September 27, 2006 "BudMan. Free network consulting for the poor." :D Link to comment Share on other sites More sharing options...
Recommended Posts