I have a PC with 2 NIC Cards, (Call it PC1). The First NIC Card is connected to a DSL Modem. The IP Details are :
IP : 22.214.171.124, SubnetMask : 255.255.255.240, Gateway : 126.96.36.199, DNS : 188.8.131.52, 184.108.40.206
The PC can connected to the Internet without any problems.
Its second NIC Card, (LAN) is connected to a switch and has the IP details :
IP : 192.168.5.240, SubnetMask : 255.255.254.0, Gateway : <blank>, DNS : <blank>
I have another seperate PC, (PC2), attached to the same switch as the LAN NIC on PC 1. Its IP details are: IP: 192.168.5.222, SubnetMask : 255.255.254.0, Gateway : 192.168.5.240, DNS : 192.168.5.240.
Both PC's can ping each other but I want PC2 to be able to get internet access "through" PC1, but it cannot. I think I need to add some sort of route command but I dont know what. Can somone tell me how I achieve the result I am after.
Both PC's are Windows XP Service Pack 2. Windows Firewall is switched off on both PC's and I'm aware of the security problems but I need to do this as a test please.