Windows 7 How to specify a range of IP addresses when writing a routing table?

  • Thread starter Thread starter Windows.Geek
  • Start date Start date
W

Windows.Geek

Hello,In order for two computers to see each other through an intermediate computer, I wrote a routing command on those two computers as below:PC-1 (192.168.1.1):C:\> route ADD 172.16.1.0 MASK 255.255.255.0 192.168.1.2PC-2 (172.16.1.1):C:\> route ADD 192.168.1.0 MASK 255.255.255.0 172.16.1.2The intermediary computer has two network cards. The IP address of one network card is 192.168.1.2 and the other network card is 172.16.1.2.I want all computers with IP addresses in the range of 192.X.X.X to be able to see PC-2.Thank you.

Continue reading...
 
Back
Top