I came across this question here:
Mounting network drive in Windows 10 bash?
Where mounting network share directories between Windows 10 and WSL is supported in Windows 10 Creator's Update (1703). Here in this question, the proposed solution is to mount the directory like so:
sudo mount -t drvfs '\\192.168.xxx.xxx\folder' /mnt/new_folder
I'm going to be focusing on the IP address, the '\\192.168.xxx.xxx'
part.
I wanted to know the correct process and procedures required to figure how to find this IP address for WSL and Windows 10 to use. Here are a few questions I have:
- How to lookup for this IP Address, especially for LAN/WLAN, and LANs joined by a hub/router?
- How do you make changes to the IP Address, so you know exactly how to map the first
xxx
and the secondxxx
? Are they related to one another when you're doing the above mentioned lookup? - When a network configuration change occurs, such as needing to reinstall WSL because of accidents (i.e., worst-case scenario like someone running a
rm -rf /*
in WSL), is the same procedures for finding said IP Address the same as the procedures mentioned/answered for Question 1?
I'm learning as I go, and hopefully the procedures aren't too much of a hassle. If there are duplicate questions, please let me know, because I am pretty sure there are similar questions being asked, but:
- Superuser's suggested questions didn't come up with what I wanted to know about.
- Most of the Google search results I find are about mapping directories locally and remotely to different hosts/OSes, but there aren't a whole lot of information for WSL (possibly due to how recent WSL is).
Thanks.