Connecting to multiple networks at the same time with one PC
Hi all,
I have a question about being on multiple networks at the same time.
I have two networks at home, first I'll explain the topology of each of them.
Directly on my internet connection, behind my modem, there is a switch (which functions as a hub I guess). Behind this hub are 2 routers. Each router has a different network under it, with an own DHCP server and configuration.
I'll list the configuration I think you need, do ask more if you need any!
Network1:
Router: 10/100 SMC 7004ABR
LAN IP:192.168.2.1
DHCP range: 192.168.2.111-192.168.2.120
Network2:
Router: 10/100 Linksys WRT54GR
LAN IP:192.168.3.1
DHCP range: 192.168.3.111-192.168.3.120
Now, the linksys router has 2 wireless clients (but this is of no matter in this case I guess)
The wired router has 1 wired client (which is on a fixed ip address).
Now I have my computer, another, I didn't mention it before, which is connected on both networks with 2 nic's.
For network1 I set myself on a fixed ip 192.168.2.101, for network 2 I'm on 192.168.3.101.
The subnet masks and gateways are set correctly for each one of them.
Now I want to use internet via network1 (because on network2 the internet is slower because of the crap router), but I want to be able to view shares and share myself on both networks (windows share)
How would I accomplish that?
Thanks in advance,
LethPhaos
(P.S. the networks are functioning allright, even with me on both of them, but I don't know which one gives me internet. I can only see shares network1.)
EDIT: I'm on wired connections
EDIT2: computers on network2 CAN copy from my windows shares and I see the computers of network 1 AND 2 in my network places (except for 1 computer on network2, but this could be caused by it's firewall I guess) so that fixes one of my 2 questions. Only question remaining: which network am I using for internet, network1, network2 or both?
Another question that I came up with, is it possible to share a folder only on one of the 2 networks?
EDIT3: by dns'ing myself on irc I found out I'm using network1 for internet, as I wanted. Will I always be or will I be using the one that is first available when I boot?