0
I have two pc running on Windows. They are connected with direct Ethernet cable. PC1 has two interfaces. One is connected to the LAN with static ip:172.16.50.2 mask: 255.255.0.0 and gateway: 172.16.20.1. and the second interface is used to connect directly to PC2 with ip: 192.168.0.1 mask:255.255.255.0 and no gateway. PC2 has one interface for direct connecting to PC1 with ip: 192.168.0.2 mask: 255.255.255.0 and gateway: 192.168.0.1 These two PC can see each other with no problem. But I want to access the LAN resources from PC2 without using Bridge on PC1. I have already enabled IP Packet Forwarding in PC1. What specific "route add" command should I use?
But I don't want PC2 to get ip from LAN dhcp. – Mohammad – 2017-07-09T11:16:01.307
Please see updated Answer – I say Reinstate Monica – 2017-07-09T12:34:55.830