3 Configuring the Network for Virtual Machine, Hacking Complete Free Course Step By Step
Hacking Free Complete Course Step By Step
Configuring the Network for Virtual Machine
After installing Kali Linux as a Virtual machine we must configuring the network for virtual machine because we’ll be using Kali Linux to attack our target systems over a network, we need to place all our virtual machines on the same virtual network. VMware offers three options for virtual network connections:
- Bridged
- NAT
- Host only.
You should choose the bridged option, but here’s a bit of information about each:
- The bridged network connects the virtual machine directly to the local network using the same connection as the host system. As far as the local network is concerned, our virtual machine is just another node on the network with its own IP address.
- NAT, short for network address translation, sets up a private network on the host machine. The private network translates outgoing traffic from the virtual machine to the local network. On the local network, traffic from the virtual machine will appear to come from the host machine’s IP address.
- The host-only network limits the virtual machine to a local private network on the host. The virtual machine will be able to communicate with other virtual machines in the host-only network as well as the host machine itself, but it will not be able to send or receive any traffic with the local network or the Internet.
Note : Because our target virtual machines will have multiple known security vulnerabilities, use caution when attaching them to your local network because anyone else on that network can also attack these machines. For this reason, I do not recommend working through this book on a public network where you do not trust the other users.
By default, the Kali Linux virtual machine network adapter is set to NAT. Here’s how to change that option on both Windows and Mac OS.
VMware Player on Microsoft Windows
To change the virtual network on VMware Player for Windows, start VMware Player and then click your Kali Linux virtual machine. Choose Edit virtual machine settings, as shown in Figure, If you’re still running Kali Linux in VMware Player, choose Player > Manage > Virtual machine settings. On the next screen, choose Network Adapter in the Hardware tab and choose the Bridged option in the Network connection section, as shown in Figure In respect of NAT.
Now click the Configure Adapters button and check the network adapter that you’re using with your host operating system. As you can see in Figure, I’ve selected only the NVIDIA nForce Networking adapter. Once you’ve made your selection, press OK.
Testing Your Internet Access
Now let’s make sure that Kali Linux can connect to the Internet. We’ll use the ping network utility to see if we can reach Google. Make sure your computer is connected to the Internet, open a Linux terminal, and enter the following.
root@kali:~# ping localhost / ping www.google.com
If you see something like the following in response, you’re online.
If you do not receive a response, make sure that you have set your network adapter to Bridged, that Kali Linux has an IP address, and, of course, that your host system currently has Internet access.
In our last blog we had installed all the How to Create and Use Virtual Machines For Hacking, our next tops will be Installing required tools for Penetration Testing in Kali Linux attacks which we will attack. If you have not followed us yet, then do so so that you do not miss the upcoming topics. Click Here To Read Our Blogs From Getting Started.



Comments
Post a Comment