I need some help with a network problem I'm having with 2 NICs:
I have an XP computer on a LAN that I need to access remotely via PCAnywhere. However, there is no internet access via the LAN (because of firewall restrictions), so I have a DSL modem, plugged into a router that connects to a NIC in the computer. The computer has a second NIC that connects to the LAN. So the config is like this:
NIC1: Internet
NIC2: LAN
Now, straight away this configuration works just fine. I can access the printer on the LAN that I need (which is about the only thing i need on the LAN), and I can access the Internet, and connect to the computer from my remote office using PCAnywhere. The problem comes a few days later, when all
of a sudden, I can't access the computer remotely, and I can't access the internet from the computer.
I figured the network was getting the routes mixed up, so what I did was figure out the routing configuration that I needed, wrote a batch file for it, and set the batch file to run every two hours. That way, the system will be constantly "reminded" that it's supposed to go through the router (192.168.0.1) to get to the Internet (0.0.0.0), and that it needs to go through the lan to get to the printer I need.
However, since I was there on Tuesday, it has again "forgotten" how to access the Internet. Friday this happened and we rebooted it and it was fine. It happened again today. I don't know how to make this configuration
work reliably. Can anyone shed some light on this for me?
By the way, the batch file contains these lines:
route change 0.0.0.0 192.168.0.1 metric 1 (to set the default route)
route add 0.0.0.0 mask 0.0.0.0 192.168.0.1 (router)
route add 209.100.100.31 208.100.100.3 (printer)
