4

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:

  • Computer 1

    • 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 -
      
  • Computer 2

    • 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?

  • Out of curiosity.. why not simply use the Windows 10 Internet Connection sharing? (Control Panel - Network and Internet - Network Connections - right click and Properties on the network you wanted to share - and go into the sharing tab) – Darius Apr 14 '17 at 22:43
  • Because that is the obvious answer. Again just testing other options. – Benjamin Jones Apr 15 '17 at 17:26
  • 1
    did you mange to get this working? – Gerrie Pretorius Oct 11 '17 at 16:13
-1

On Computer 1 make sure the Routing and Remote Access service is enabled and started. In windows 10 it is disabled by default.

| improve this answer | |
  • OP preferred static routing enabled by IPEnableRouter over ICS. NAT through RRAS is only available for Windows Server. – guest-vm Feb 26 '18 at 8:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.