0% found this document useful (0 votes)
5 views

Set Up

Uploaded by

Ang Pinaka
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)
5 views

Set Up

Uploaded by

Ang Pinaka
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/ 3

Set Up

1. First I created 2 Virtual Machine in my local computer namely Ubuntu and Ubuntu VM2
a
l
t
h
o
u
g
h

V
M
2

i
s

j
u
s
t

c
l
o
n
e for Ubuntu but it has different mac address so I use linked clone.

as you can see the VM1 have the two adapters which is the NAT(this is the adapter when we
should get the internet) and the Internal Adapter which when then be the port forwarding and
DHCP server for our VM2

2. In VM1 we start editing “sysctl.conf” to configure the ipv4 forwarding after that we need to set
up the NAT to masquerade and be the dchp server for eth0
3. In the VM1 we run the ifconfig to see inet and then confirm in VM2 if the inet of VM1 is the
gateway for VM2 which in that case we successfully shared connection to VM2. Route -n
confirm that we did have it.
TEST CONNECTION:

As for the test connection I just ping google in VM2 to see if it is connected.

You might also like