Establishing a Private (Host-Only Network) on 10.0.3.x
Proactive security measure, effectively isolating our internal network from external internet threats
Safeguarding both our local network and the broader internet from potential vulnerabilities
Establishing a Public (NAT Network) on 10.0.9.x
Provisioned to facilitate internet connectivity for essential tasks, including software updates and web browsing
Creating Private Host-Only Network
Open up Oracle VM Application
Click on your Kali Linux VM to highlight Kali Linux VM
Click on File in top left corner > Host Network Manager or Ctrl + H
Host Network Manager
4. Click on Create and change IPv4 Address: 10.0.3.2 for the Adapter Tab
Adapter Tab
5. Go to the DHCP Server Tab > Enable Server
- Change Server Address: 10.0.3.3
- Change Lower Address Bound: 10.0.3.4
- Change Upper Address Bound: 10.0.3.100
DHCP Server Tab
6. Apply and Check the enable box for DHCP Server
Connecting VMs to Host-Only Network
1. Open up Oracle VM Application
2. Click on your Kali Linux VM to highlight Kali Linux VM
3. Scroll down and click on the Network tab
Network Tab
4. Change Attached to: Host-only Adapter
Network Configuration
5. Name: Put the private network that we created before
6. Do the same to Windows VM and BrysonPayne's Metaspolitable2 VM
7. Log into Kali Linux VM and use the CLI
- type: ip a to check the IP Address if it's on 10.0.3
- The IP Address for Kali Linux VM is 10.0.3.5
IP Address Check on Kali Linux VM
8. Log into Windows VM and use the Command Prompt or cmd
- type: ipconfig to check the IP Address if it's on 10.0.3
- The IP Address for Kali Linux VM is 10.0.3.4
IP Address Check on Windows VM
9. On Windows VM command prompt type: ping 10.0.3.5 to see if the Windows VM is connected to the Kali Linux VM
Ping Command
10. Log into BrysonPayne's Metaspolitable2 VM
- type: ifconfig to check the IP Address if it's on 10.0.3
- The IP Address for BrysonPayne's Metaspolitable2 VM is 10.0.3.6
IP Address Check on Metaspolitable2 VM
Creating Public NAT Network
1. Open up Oracle VM Application
2. Click on File > Preference > Network
3. Create a new NAT Network
4. Edit the new NAT Network
- Change Network Name: PublicNAT
- Change Network CIDR: 10.0.9.0/24
PublicNAT Configuration
5. Configure Kali Linux VM Network
- Change Attach to: NAT Network
Kali Linux VM PublicNAT Configuration
6. Log into Kali Linux VM and use the CLI
- type: ip a to check the IP Address if it's on 10.0.9
- The IP Address for Kali Linux VM is 10.0.9.4
IP Address Check on Kali Linux VM
7. Check if the NAT Network can ping Google
- type: ping google.com
Ping Google on Kali Linux VM
8. Do the same configuration for Windows VM to switch the Network to PublicNAT
9. Log into Windows VM and use the Command Prompt or cmd
- type: ipconfig to check the IP Address if it's on 10.0.9
- The IP Address for Kali Linux VM is 10.0.9.5
IP Address Check on Windows VM
Update VM
- Kali Linux: in CLI type: sudo apt update
- Kali Linux: in CLI type: sudo apt upgrade
- Windows: Windows Update
Virtual Networking Configuration
Setting up the Virtual Machines
Setting Up Two Networks
Establishing a Private (Host-Only Network) on 10.0.3.x
Establishing a Public (NAT Network) on 10.0.9.x
Creating Private Host-Only Network
Open up Oracle VM Application
Click on your Kali Linux VM to highlight Kali Linux VM
Click on File in top left corner > Host Network Manager or Ctrl + H
Host Network Manager
4. Click on Create and change IPv4 Address: 10.0.3.2 for the Adapter Tab
Adapter Tab
5. Go to the DHCP Server Tab > Enable Server - Change Server Address: 10.0.3.3 - Change Lower Address Bound: 10.0.3.4 - Change Upper Address Bound: 10.0.3.100
DHCP Server Tab
6. Apply and Check the enable box for DHCP Server
Connecting VMs to Host-Only Network
1. Open up Oracle VM Application 2. Click on your Kali Linux VM to highlight Kali Linux VM 3. Scroll down and click on the Network tabNetwork Tab
4. Change Attached to: Host-only Adapter
Network Configuration
5. Name: Put the private network that we created before 6. Do the same to Windows VM and BrysonPayne's Metaspolitable2 VM 7. Log into Kali Linux VM and use the CLI - type: ip a to check the IP Address if it's on 10.0.3 - The IP Address for Kali Linux VM is 10.0.3.5
IP Address Check on Kali Linux VM
8. Log into Windows VM and use the Command Prompt or cmd - type: ipconfig to check the IP Address if it's on 10.0.3 - The IP Address for Kali Linux VM is 10.0.3.4
IP Address Check on Windows VM
9. On Windows VM command prompt type: ping 10.0.3.5 to see if the Windows VM is connected to the Kali Linux VM
Ping Command
10. Log into BrysonPayne's Metaspolitable2 VM - type: ifconfig to check the IP Address if it's on 10.0.3 - The IP Address for BrysonPayne's Metaspolitable2 VM is 10.0.3.6
IP Address Check on Metaspolitable2 VM
Creating Public NAT Network
1. Open up Oracle VM Application 2. Click on File > Preference > Network 3. Create a new NAT Network 4. Edit the new NAT Network - Change Network Name: PublicNAT - Change Network CIDR: 10.0.9.0/24PublicNAT Configuration
5. Configure Kali Linux VM Network - Change Attach to: NAT Network
Kali Linux VM PublicNAT Configuration
6. Log into Kali Linux VM and use the CLI - type: ip a to check the IP Address if it's on 10.0.9 - The IP Address for Kali Linux VM is 10.0.9.4
IP Address Check on Kali Linux VM
7. Check if the NAT Network can ping Google - type: ping google.com
Ping Google on Kali Linux VM
8. Do the same configuration for Windows VM to switch the Network to PublicNAT 9. Log into Windows VM and use the Command Prompt or cmd - type: ipconfig to check the IP Address if it's on 10.0.9 - The IP Address for Kali Linux VM is 10.0.9.5
IP Address Check on Windows VM
Update VM
- Kali Linux: in CLI type: sudo apt update - Kali Linux: in CLI type: sudo apt upgrade - Windows: Windows Update