Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parametrize subnet according to a router config (subnet and default gateway) #2

Open
fabriciorsf opened this issue Sep 18, 2021 · 1 comment

Comments

@fabriciorsf
Copy link

fabriciorsf commented Sep 18, 2021

Wich files must I change to parametrize to my network parameters (subnet and default gateway)?
Only in configureWSL2Net.sh, that had set subnet value to 192.168.1.10/24 and default gateway to 192.168.1.1 ?

In my case, I use 10.0.0.0/24 and 10.0.0.1.

@pawelgnatowski
Copy link
Owner

You are correct. Only configureWSL2Net.sh need to be changed then.
30.20.30.66 as default gateway so replace it with your paramater or ip for router. The other ip and subnet is for your wsl2 instance.
I do plan to do step by step walkthrough with explaination and as to why it is done the way it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants