I have a Windows 10 LTSB PC that I am trying to treat as a server (Running IIS and SQL) and a router, but the router side is giving me issues.
I have 1 Ethernet based NIC (192.168.1.180 no gateway) and 1 cell modem based NIC (100.100.7.31 gateway: 100.100.7.1).
My goal is to route all 100.100.X.X (255.255.0.0) to the cell modem so my device(s) connected to the ethernet NIC can communicate with the 100.100.X.X devices.
I currently get ping time out errors when pinging 100.100.X.X from my ethernet device, but I can ping the ethernet and modem NICs. In addition, my server can ping the 100.100.X.X devices and it can ping my ethernet devices, so it is only "ethernet -> server -> 100.100.X.X device" that doesn't work. My routing table is as follows:
===========================================================================
Interface List
14...b4 9d 9f 5a 5f 48 ......Generic Mobile Broadband Adapter
16...74 fe 48 21 b0 52 ......Realtek PCIe GBE Family Controller
2...00 0b ab d8 69 90 ......Intel(R) I210 Gigabit Network Connection
1...........................Software Loopback Interface 1
9...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
7...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 100.100.7.1 100.100.7.31 2
100.100.7.0 255.255.255.192 On-link 100.100.7.31 257
100.100.7.31 255.255.255.255 On-link 100.100.7.31 257
100.100.7.63 255.255.255.255 On-link 100.100.7.31 257
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.1.0 255.255.255.0 On-link 192.168.1.180 11
192.168.1.255 255.255.255.255 On-link 192.168.1.180 266
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.1.180 266
224.0.0.0 240.0.0.0 On-link 100.100.7.31 257
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.1.180 266
255.255.255.255 255.255.255.255 On-link 100.100.7.31 257
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 100.100.7.1 1
===========================================================================
From my understanding, when I ping 100.100.X.X from my ethernet connected device, the server will not find a specific route for it, so it will use the default route of 0.0.0.0 and send the traffic to 100.100.7.1.
However, when I ping from my ethernet device, I do not get any replies. What am I doing wrong?
UPDATED THOUGHT AS A TYPED THIS:
Is this the flaw in my logic?: The server will route ALL 100.100.X.X traffic to the cell modem, including replies from 100.100.X.X devices, which causes a loop?
I send a ping to a 100.100.X.X device from my ethernet device, then the server routes the ping to 100.100.7.1, then gets a reply from 100.100.X.X,
then routes that reply back through the 100.100.X.X route to 100.100.7.1 resulting in an infinite loop, causing the timeout (Explains why I don't receive net/host not found errors)
Other info:
The server has IP Routing (via regedit) turned on, and is reported as:
IP Routing Enabled. . . . . . . . : Yes
viaipconfig /all
.My ethernet device can successfully ping the cell adapter and ethernet adapter on the server (100.100.7.31 and 192.168.1.180 respectively)
My ethernet device does not receive any 'host not found' or 'net not found' errors when pinging
Pathping result when pinging a 100.100.X.X device from my ethernet device:
C:\>pathping 100.100.X.X Tracing route to 100.100.X.X over a maximum of 30 hops 0 DESKTOP-BFB4MID [192.168.1.5] 1 DESKTOP-UGFIN0H [192.168.1.180] 2 * * * Computing statistics for 25 seconds... Source to Here This Node/Link Hop RTT Lost/Sent = Pct Lost/Sent = Pct Address 0 DESKTOP-BFB4MID [192.168.1.5] 0/ 100 = 0% | 1 0ms 0/ 100 = 0% 0/ 100 = 0% DESKTOP-UGFIN0H [192.168.1.180] Trace complete.