how to configure windows10 as router for mobile broadband

Copper Contributor

Hello, I'm trying to configure w10 as router to share mobile broadband which is connected to win10.

My hardware is like the following:

 

LAN -- W10 -- mobile usb MODEM ---> internet.

192.168.137.0/24 --- 192.168.137.2 on ethernet and ip alias 192.168.137.1 on cellular net ----> default gw.

 

 

I just want route all the lan traffic through the windows10 box to the internet.

I overcome some obstacles ... for example the mobile connection goes down when I connected the ethernet cable. Then I enabled the following reg entry to enable both interface to work:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WcmSvc\Local\fMinimizeConnections DWORD32 ---> 0

 

also I enabled the routing ip with the following reg entry:

 

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\IpEnableRouter DWORD32 ----> 1

 

I also tried to share the internet connection from the ethernet interface making right click on the eth interface --> share internet connection..

 

anyway now I fired up a traffic capture software and I see the ping that come from lan (on my other pc) that should go to 8.8.8.8 then it's redirect to the cellulare net gateway but it's not routed... I show you the result from the sniffer:

 

17:44:28.855999 ARP, Request who-has 192.168.137.1 tell 192.168.137.2, length 28
17:44:29.019169 IP 192.168.137.6 > 8.8.8.8: ICMP echo request, id 16436, seq 567, length 64
17:44:29.856664 ARP, Request who-has 192.168.137.1 tell 192.168.137.2, length 28
17:44:29.977790 IP 192.168.137.6 > 8.8.8.8: ICMP echo request, id 16436, seq 568, length 64
17:44:30.855963 ARP, Request who-has 192.168.137.1 tell 192.168.137.2, length 28
17:44:30.938790 IP 192.168.137.6 > 8.8.8.8: ICMP echo request, id 16436, seq 569, length 64
17:44:31.856441 ARP, Request who-has 192.168.137.1 tell 192.168.137.2, length 28
17:44:31.901478 IP 192.168.137.6 > 8.8.8.8: ICMP echo request, id 16436, seq 570, length 64
17:44:32.856293 ARP, Request who-has 192.168.137.1 tell 192.168.137.2, length 28
17:44:33.018122 IP 192.168.137.6 > 8.8.8.8: ICMP echo request, id 16436, seq 571, length 64

 

the following is my current routing table (im sorry, it's in italian):

λ  route print
===========================================================================
Elenco interfacce
 13...84 47 09 11 81 43 ......Realtek PCIe GbE Family Controller #2
 25...00 a0 c6 00 00 18 ......SimTech HS-USB WWAN Adapter 9001
  1...........................Software Loopback Interface 1
===========================================================================

IPv4 Tabella route
===========================================================================
Route attive:
     Indirizzo rete             Mask          Gateway     Interfaccia Metrica
          0.0.0.0          0.0.0.0     10.153.34.25     10.153.34.26    306
          0.0.0.0          0.0.0.0    192.168.137.1    192.168.137.2     71
     10.153.34.24  255.255.255.252         On-link      10.153.34.26    306
     10.153.34.26  255.255.255.255         On-link      10.153.34.26    306
     10.153.34.27  255.255.255.255         On-link      10.153.34.26    306
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    331
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    331
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    331
    192.168.137.0    255.255.255.0         On-link     192.168.137.2    326
    192.168.137.0    255.255.255.0         On-link      10.153.34.26    370
    192.168.137.0    255.255.255.0    192.168.137.1     10.153.34.26     51
    192.168.137.2  255.255.255.255         On-link     192.168.137.2    326
  192.168.137.255  255.255.255.255         On-link     192.168.137.2    326
  192.168.137.255  255.255.255.255         On-link      10.153.34.26    306
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    331
        224.0.0.0        240.0.0.0         On-link     192.168.137.2    326
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    331
  255.255.255.255  255.255.255.255         On-link     192.168.137.2    326
===========================================================================
Route permanenti:
   Indirizzo rete             Mask   Indir. gateway Metrica
          0.0.0.0          0.0.0.0    192.168.137.1       1
===========================================================================

IPv6 Tabella route
===========================================================================
Route attive:
 Interf Metrica Rete Destinazione      Gateway
  1    331 ::1/128                  On-link
 13    281 fe80::/64                On-link
 13    281 fe80::9ca5:19b4:204e:420b/128
                                    On-link
  1    331 ff00::/8                 On-link
 13    281 ff00::/8                 On-link
===========================================================================
Route permanenti:
  Nessuna

 

 

thanks with heart for any help.

 

0 Replies