LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-23-2020, 03:48 PM   #1
sonnet
LQ Newbie
 
Registered: Sep 2012
Posts: 2

Rep: Reputation: Disabled
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.
 
Old 02-23-2020, 06:31 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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.

http://home.bbtel.com/assets/pdf/StaticIpDLink.pdf
 
1 members found this post helpful.
Old 02-23-2020, 08:22 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,328
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
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.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing from W10 to Linux Colinito Linux - Newbie 14 05-23-2018 02:44 PM
[SOLVED] I want to drop W10 from my laptop. Advice, which Linux? mazerunner Linux - Newbie 64 12-04-2017 06:53 AM
[SOLVED] Grub menu lost on dual-boot W10/FC25 2-in-1 laptop cmspooner Fedora 15 02-08-2017 02:24 PM
[SOLVED] Ubuntu 14.04 w/kernel 4.4 on a dual boot system (Linux/W10) grigory Ubuntu 5 08-20-2016 11:57 PM
VAIO W10 w/sis650 chipset jamescat Linux - Newbie 2 08-30-2003 05:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration