Now that we've set up our private host only network, it's time to connect each of our virtual machines
to that V box.
Net zero.
Private virtual network.
So, first of all, we'll do that with Caleigh Linux.
You can change the network settings just by clicking on the network setting in our settings window.
So if we scroll down a little bit, you'll see that network settings tab.
And we can click on network.
And instead of attaching to the mat that that means that my colleague can only see Caleigh itself,
its own machine.
And then out through our host machine into the Internet.
But it can't see any of our virtual machines.
And we want to be able to test hacking and defending across those virtual machines.
So I'm going to come down to the host only adapter.
Feedbacks.
Net zero.
Click, OK.
And I can go ahead and change that network setting for all of my devices at the same time.
I can just click through host only adapter click, OK?
Same thing for the host only adapter.
For our Android device, if you set that up and for the minus floatable to, we'll do the same thing.
In fact, four men hospitable to we really want to stay on a host only adapter, we don't want our meds
political box usually exposed out to the Internet and we'll see why when we hack into that Web server.
So now we need to check to make sure that our IP address is actually showing up correctly, as it turned
out, ODAH three.
So let's open up Kelly Linux and let's start that machine.
You may have to log into your Kelly box again, remember, on newer versions of Kelly, that is KHL
I and KHL I.
Kelly and Kelly for older versions of Kelly, that'll be root and tour T double o r as your username
and password 2020.
A newer.
You've got Kelly and Kelly.
And let's open up a command prompt.
So remember, on our newer Kelly Linux, the command to see the IP addresses, IP and then either HDD
are or just IP, a short for IP address, and you can see Alcalay Linux computer did get a tend out
of three four address.
But there may be times when you're switching networks, especially if you're performing multiple labs
at the same time that you may need to restart the network manager to show you a couple of ways to fix
any IP address problems that might happen in Kalli.
First of all, you can come down to the bottom of your guest machine's window and you can see the network
settings and connect network adapter.
You can actually change your network settings while you're connected to a network.
So if we wanted to change to a different adapter, if we wanted to go back to that, if we wanted to
go to a net network like we'll create in just a moment, we can do that.
But we're on the correct network.
The next thing we can do is disconnect.
And reconnect that network adaptor that will jog things just like unplugging and putting them back in,
you can see where disconnected.
And then we'll be reconnected again.
And then we can say IP A to get IP address tonight at three to four.
Looks correct.
So we are in really good shape.
But let's do one other thing and I'll do a control l to clear my screen.
Let's see how to restart the networking just in case those three steps don't work.
You can say Sudoku or pseudo service.
Networking or network manager, manager restart on some versions of Linux.
And then your Pat Kelly password.
K.
I.
There we go, and some versions of Linux, you'll say, see a pseudo service networking, restart the
network manager on Kalli DPN, a new boon to Linux's.
We'll give you a full restart of all of your network settings.
So now if we do an IPA, we will see we do have 10 dot dot three, dot four as our Internet address.
And notice that we have a loop back or our local host address to 127 dot audette odah one.
That's always your home address on any computer.
But then we have a network address on our home network on Ethernet zero Ethernet ethe zero is just the
interface or the.
It's just like plugging in a physical ethernet cable like you might have had on a desktop, at school
or at work.
So send out Odah three, not four is our Caleigh IP address.
So we've got the ability to see other machines inside the network.
So let's go over to our Windows machine and go ahead and make sure that its IP address came through.
Okay.
And then we'll check Medda spoil it can be the trickiest to setup.
So I'll start my Windows 10 box and I'll go ahead and start the Mideast political box at the same time.
When my windows virtual machine boots up, I'll be able to log in with the password.
Capital P.
Little a ss w zero r d exclamation.
And I'll show that one more time.
Just so that it's visible for you.
Password with a zero in place of the O.
A capital P.
And an exclamation.
That's Microsoft's password, remember.
Not ours.
But that's all right for this one, Veum.
When we get inside our Windows 10 desktop, we can click in the START menu or search bar and say see
these to run the command prompt.
And we're going to say IP config instead of IP space A on a Windows box, and you notice we didn't get
a 10 that ODAH three address.
This computer is 10, DataDot three to five.
And now actually we can check to see if we really can see other computers on this network by pinging
P.I. in G space.
And my Kelly Linux machine is still running in the background here.
So I can say Tim Dotto, dot three, dot four.
That was the IP address of my Caleigh Linux computer.
And so if Windows is on the same network and everything's working correctly, we should be able to ping
10 that audette three to four.
And look at that.
We get a reply.
So we do have our Kelly and Linda Windows Live boxes connected to the same private hosts only network.
I'd just one little troubleshooting tip if you ever get in here and you can't get your Windows computer
to change addresses to the Tendo Doda, three to four network.
We can do the same thing we did before.
We can check our network settings down here under network settings.
I can see that it is on the hosted only adapter, so that's OK.
And then I can disconnect and reconnect that network adapter.
Good troubleshooting.
But there's one other step just in case your IP address doesn't come up right.
This time I'm going to open an administrator command, prompt CMB.
But instead of pressing enter, I'm going to say run as administrator.
This is sort of like the super user do the pseudo command in Caleigh Linux.
We're going to run as administrator and then we'll have to give it permission, just like entering the
password.
And Kelly and the command that we want to run is Net S.H. and E.T..
S.H., the network shell lets us run some network administration commands right here.
Net S.H. Windsock.
That's the window socket or Windows network manager, Windsock Recept.
It's not restart like it is over on Kalli, but reset.
So we successfully reset the wind set cattle at Windsock catalog.
Now IP config.
And we should have a good 10 tattoed three address on the same network.
So finally.
And we can save the settings there if we want to and close this down.
Let's see how we can change.
Made a split Tibbles IP address.
It's a little bit different.
The good thing is rebooting most of these machines does usually work to give us a fresh IP address.
But we'll check that with M.
S F 80s EMI N and MSF a.T.M I.
N as our password.
And we're on old Linux box so we can do I-F config, the interface config.
I have config just like IP config over on windows.
And notice because we had rebooted this machine, we do have a 10 Dotto dot three dot six address for
our met hospitable box.
But if you run into any trouble here, an easy way to pu to fix that on an older Linux box like the
one you have here is Sudoku pseudo.
F down and you notice that our Ethernet interface is called eath zero.
E t h zero.
And then we can use the double ampersand to then if the pseudo if down works correctly, we want to
do a pseudo and bring the interface the IMF back up.
So I f up ethe zero.
And it lasts for the password for my Metis floatable.
So we're going to say MSF a b m i n.
There we go, and we now have a 10 DRDO three, that's six IP address for Metis Floatable.
So all of three of these computers are set up with a good IP address.
And we went ahead and changed the one for the Android device as well.
So you can save these machine states if you want to as you power them off.
And we'll come back in the next lesson and see how to connect to a new public network that will be able
to do some hacking and connect out to the Internet with.