I am trying to provide Windows 10 with router capabilities(IP Forward). Yes I know I could buy a router or switch. This setup is for TESTING only.
Found a good resource: http://www.home-network-help.com/ip-forwarding.html
However after setting everything up, I still cannot get to the internet from LAN2(USB). LAN1 can get to internet. My setup:
Lan1 (main connection, can access Internet)
IP 192.168.130.47 Submask 255.255.255.0 Gateway 192.168.130.1
Lan2 (USB NIC)
IP 192.168.140.47 Submask 255.255.255.0 Gateway -
Lan1 (Connected to Lan2 of Computer1)
IP 192.168.140.48 Submask 255.255.255.0 Gateway 192.168.140.47
In regedit I have enabled IPEnableRouter. I rebooted my computer.
- I can ping Lan1-Computer2 192.168.140.48 from Lan2-Computer 1 192.168.140.47
- I can ping Lan2-Computer1 192.168.140.47 from Lan2-Computer2 192.168.140.46
- I can ping LAN1-Computer1 192.168.130.47
So LAN1 can contact LAN2 vice versa but not the internet (which gateway is 192.168.130.1)
Any help please?