0% found this document useful (0 votes)
16 views20 pages

Network Modes in Virtualbox (Cloud Computing-Tutorial 1) : I. Mani Varma Ph.D. Student CSE Dept. Iitr Feb. 12, 2025

The document outlines a tutorial on network modes in VirtualBox, detailing various configurations such as NAT, Bridged, Internal, and Host Only modes. It includes practical tasks for checking IP addresses and DHCP operations, as well as assignments for creating and explaining Ubuntu VMs. The tutorial aims to enhance understanding of networking in virtual environments through hands-on experience.

Uploaded by

Priyanshu Behera
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views20 pages

Network Modes in Virtualbox (Cloud Computing-Tutorial 1) : I. Mani Varma Ph.D. Student CSE Dept. Iitr Feb. 12, 2025

The document outlines a tutorial on network modes in VirtualBox, detailing various configurations such as NAT, Bridged, Internal, and Host Only modes. It includes practical tasks for checking IP addresses and DHCP operations, as well as assignments for creating and explaining Ubuntu VMs. The tutorial aims to enhance understanding of networking in virtual environments through hands-on experience.

Uploaded by

Priyanshu Behera
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

Network Modes in Virtualbox (Cloud Computing- Tutorial 1)

I. Mani Varma
Ph.D. student
CSE Dept.
IITR
Feb. 12, 2025
Outline of the Practical Session
1) Virtual Machine Creation/Installation

2) Basic Networking

3) Dynamic Host Configuration Protocol (DHCP)

Different Network Modes in VirtualBox

➢ NAT Mode
➢ NAT Network Mode
➢ Bridged Network Mode
➢ Internal Network Mode
➢ Host Only Network Mode

Fig. 1: Network Modes in Virtualbox


How do I identify my computer in a Network ?

Fig. 2: Home Network (LAN) with Router as default Gateway.

Task 1: Check your IP address of Default Gateway in your Laptop terminal


DHCP Server

Fig. 3: DHCP Operation

Task 2: Check if you PC is assigned Dynamic or Static IP address in Network Settings.


Task 3: While associating with IITR Wifi, capture DHCP transactions (packets) and find out the IP
address of your DHCP server
Overview of Network Modes

Fig. 4: Overview of Network modes in Virtualbox


Network Address Translation (NAT) mode

Fig. 5: NAT operational mode (VM acts as a Proxy)


Uses of NAT Mode
1. Internet Access for VMs

Sufficient for users who wish to use a VM just for Internet

2. Port Forwarding (Shall Visit Later)


a. Useful for scenarios where you want to run network services on the VM that need to be accessible from the host or the
external network.
b. Allows you to redirect specific ports from the host to the VM

3. Network Address Privacy

Masks the internal IP addresses of VMs from the external network. External entities see only the host's IP address, enhancing
privacy and security.

4. Testing and Development:

Creates isolated testing and development environments where VMs can have controlled internet access while maintaining
separation from the host network.
Multiple NAT mode-based VMs

Fig. 6: Multiple NAT operational mode (VM acts as a Proxy)


Port Forwarding in NAT mode

Fig. 7: SSH Port forwarding in NAT mode ( External hosts can access VM by sending packets to port 2281 of
host. The NAT engine will capture all packets and forward to port 22 )
NAT Network Mode

Fig. 8: NAT Network operational mode (VM acts as a Proxy)


NAT Network Mode (Contd ...)

Fig. 9: NAT Network operational mode (VM acts as a Proxy)


Bridged Network Mode

Fig. 10 : Bridged Network operational mode


Bridged Network Mode (Contd…)

Fig. 11 : Bridged Network operational mode


Internal Network Mode

Fig. 12: Internal Network operational mode


Internal Network Mode (Contd …)

Fig. 13: Internal Network operational mode


Host Only Network Mode

Fig. 14: Host Only Network operational mode


Host Only Network Mode (Contd …)

Fig. 15: Host Only Network operational mode


Overview of Network Modes (Revisit)

Fig. 16: Overview of Network modes in Virtualbox


References

https://www.virtualbox.org/manual/ch06.html

https://www.nakivo.com/blog/virtualbox-network-setting-gui
de/
Assignment
1) Create 2 or 3 Ubuntu (22 or 24) VMs in Virtualbox (before coming to the
tutorial).

Evaluation during the tutorial class


2) Each group - Execute and Explain the aforementioned Network Modes in
your laptops in the Next Tutorial class.

3) Answer the questions (VIVA), mostly on their use-cases.

You might also like