My computer is on 10.0.1.0/24 with a DHCP granted IP address. There is also a NAS device with an IP address of 10.0.1.10 (which I assume is static). I would like to take the NAS off of the LAN and connect to it directly from my computer with a USB-Ethernet dongle but preferably without doing a lot of reconfiguring of addresses and so forth.
I set my dongle's IP to 10.0.1.9 and then I used
route print to discover that the dongle was given an IF number of 8. So then I tried
route -4 ADD 10.0.1.10 METRIC 1 IF 8
But all I get is the "usage" output for the route command, which I assume means that it failed (not to mention that the desired route is not in a subsequent
route print output).
Is there some way to get this to work?