How should I configure a Linux machine to share internet connection with a W10 machine
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How should I configure a Linux machine to share internet connection with a W10 machine
Hi, I'm trying to set up my malware lab.
I have 2 laptops: on one I have installed Kali Linux, on the other one I have installed Windows 10.
Both laptops have 1 ethernet port/NIC and one wireless interface.
I have also 1 physical network line to dedicate to this setup, with only one ethernet port. The idea I'm trying to implement is that the Linux machines will receive the internet connection through ethernet, and I want to share this connection with the Windows 10 machine 'somehow'.
Also, I'll use a software -INETSIM, installed on the Linux machine- which will simulate a virtual network.
If I set up a hotspot with a DHCP, INETSIM won't work as it needs a static IP.
If I set up the hotspot with a static IP, then the ethernet connection on the Linux machine won't work.
Can anybody suggest what route would be best in order to achieve my goal?
Summarizing: I need to make a Windows 10 laptop receive the internet connection from a Linux machine through wireless using a static IP address.
last time I used a cat5 router you could give one a static ip and another dynamic ip. with wifi I do not know but I'd think just dlink router could take care of more than one if not using wifi for both.
Kali is a highly specialized distro designed for one purpose--penetration-testing.
In the long run, it would probably be easier to invest in a simple network switch and another ethernet cable. Prices for inexpensive switches start in the low 20-dollar range.
Trying to use Kali in this way would likely be far more costly in terms of time and effort than springing for a switch.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.