For those without "Host-Only-Networks" tab in their settings (Virtual Box 6.1.2) : Click on "File" then "Host Network Manager", then "Create"
@amirsteinhart33013 жыл бұрын
it returns an error
@vincenzonatale80293 жыл бұрын
It should be written on the video itself , because this comment about "Host-Only-Networks" is very important.
@Ambient_Life3 жыл бұрын
@@amirsteinhart3301 reinstall or update virtual box, I had the same error then updating worked and I have noticed similar solutions at stackoverflow
@AbhayGoyal2 жыл бұрын
So we dont need NAT then?
@omar-vr1kg3 жыл бұрын
This is what I was searching since two days..then just saw this got recommended from my fav channel
@spoonmanchen76316 жыл бұрын
I really enjoy the style of Corey Schafer, He always makes a complex question simple and clear. Thanks a lot. My hero.
@thedon63442 жыл бұрын
My god 2 days and finally found a video that helped TYSM!
@vincenzonatale80293 жыл бұрын
Excellent. I am a follower of Corey's videos (about Python and Linux).
@SolomonSelvam5 жыл бұрын
Best Tuts so far i have watched for ssh, thank you so much man. this would be great help for the beginners
@NotMuchHere3 жыл бұрын
Thank you for providing this. I wanted to do host only networking but was clueless. This has been a great help.
@andrewlozano94735 жыл бұрын
WOW! Thanks to you, I can get on with my life LOL. I was having issue port scanning a windows 10 virtual machine from the host. I got it working now!
@Petuhalwai5 жыл бұрын
Thanks a ton Corey for making such wonderful and helpful tutorial, after long search landed on this and made things working. Keep the good work posting... :)
@BE55Roberts3 жыл бұрын
Very clear information for setting up your sandbox.
@PyMoondra7 жыл бұрын
Thanks for these -- Virtual Machines and networking are areas I really need to get acquainted with.
@hatemmohamed40327 жыл бұрын
you have a great way of explaining how stuff works, keep it up bro and please continue to post more sys admin videos!
@sifat96674 жыл бұрын
Now I can die in peace. Thank you! Been looking for a video that goes through this well.
@Ambient_Life3 жыл бұрын
watched this entire video and gained so so much from it and it took literally 2 hours since I had to do research on troubleshooting but definitely something worth the time. great video Corey ❤thanks
@kiranaaditya53456 жыл бұрын
Thanks for this video. Bless you. This is exactly what I needed. I was searching for a way to do this for 2 weeks.
@MrDondon383064 ай бұрын
Thanks for the video. Although I ran into a snag with interfaces is now controlled by netplan, your video help immensely!
@VinodKumar-hj9km6 жыл бұрын
Thanks Corey. This video helped me a lot.
@mariusvoicu17736 жыл бұрын
Very useful. You have saved many work hours of my day. Thank you very much.
@kuperlen6 жыл бұрын
great tutorials, nicely paced and comprehensive, thanks!
@linix2954 Жыл бұрын
The /etc/network/interfaces file is no longer available in newer version. Ubuntu 18.04 and above uses netplan to configure your network. Netplan is used instead, the configuration file is in the /etc/netplan/ directory.
@chandiprasad96646 жыл бұрын
Great ! Step by Step video . Thanks !
@haifa60044 жыл бұрын
Amazing …. really Amazing in Corona time.>>> so thanks. Be safe Be awesome ...
@gaurang9994 жыл бұрын
Many thanks @Corey!
@Podoco_music6 жыл бұрын
fantastic video. great step by step instructions. thank you.
@kristiannn3 жыл бұрын
8:33 - ifconfig -a 9:30 - 11:44 14:50 - ssh from host into vm
@EyeDentify5 жыл бұрын
Brilliant Tutorial :) thanks for this video.
@piotrklimisz6 жыл бұрын
Corey! You've saved my life! Thanks a lot!
@daviduntalan3 жыл бұрын
very clear explanation and i thank you for helping us learn from you.
@carloscaro28642 жыл бұрын
Fantastic, atemporal video
@Ashot-headshot10 ай бұрын
спасибоб друг! всё понятно и хорошо объяснил!
@Brainwave90482 жыл бұрын
your videos are sooo great i love it
@ayazkamal1232 ай бұрын
that was very helpful and thank you.
@viniciusbarbosadasilva30454 жыл бұрын
Works here. thx :)
@muhammadakmal12446 жыл бұрын
thank you man. This video is clear and the explanation is the best. i subbed to you. You helped me finish my assignment which to copy some shit from one virtual machine to other vms. Thumbs up for the video .
@sergior.m.56944 жыл бұрын
man you are the best, thank you
@clintonp86215 жыл бұрын
Thank you Very much Corey! That was absolutely helpful..Was about to switch back to Vmware-workstation as I was familiar with that..
@victorespinoza3554 жыл бұрын
Hello Corey, Thanks for your videos and your wisdom. I would like to know if you are going to do an Ansible tutorial one of these days?
@ddfgrtsd4 жыл бұрын
Thanks! This is Awesome!
@anisdhouieb99186 жыл бұрын
Awesome tutorials ,we're looking for tutorials about ansible and jenkins
@billallwell65076 жыл бұрын
Nice tutorial mate.
@codieausten50764 жыл бұрын
Outstanding!
@feezoo823 жыл бұрын
loved it man
@Thomas_Grusz3 жыл бұрын
Great, thanks!
@lazyac_6 жыл бұрын
Thank you very much! :D
@squelchedotter7 жыл бұрын
Personally, I just use Vagrant. It's a nice wrapper around all of this VM stuff.
@coreyms7 жыл бұрын
Yes, that's a good one to know. I've used it in the past and slowly got away from it. I'll probably try to start using it again in the near future and possible do some videos on it.
@haea5583 Жыл бұрын
great video
@bestfullapps1103 жыл бұрын
Ty
@pavanscott7 жыл бұрын
Kindly add docker videos also 🙏 it's very helpful👍👌✌
@luckbychance31796 жыл бұрын
for some reason on my window pc VM preference i dont see the host only networks tab. But I can see in my PC network adapter section that Host Only Ethernet Network is present. Please explain reason for this.
@AbhayGoyal2 жыл бұрын
Which VM version are you using for your mac?
@kilianbrandt10694 жыл бұрын
That was a great tutorial, thank you! I've got an extra question and hope someone can give me an hint. For example in the video ubuntu-1 git the IP: 192.168.56.100. There are 2 network adapters defined. As far as I understand NAT for internet and the second for the communication inside the vm network. Now the question: What would be the approach to connect and lets say ping ubuntu-1 from another physical machine (e.g. an Raspberry Pi), which is connected to the host pc? Do we need a third adapter allowing the connection between them?
@srihariitsme4 жыл бұрын
To connect to your host pc - the one which is running virtual box, you need to change your network adapter1 setting from NAT to Bridged adapter.
@ChangeMyBody947 жыл бұрын
for some reason on my mac i dont see the host only networks tab
@abhisheksaharan6 жыл бұрын
its under global tools on the top right. It has been changed with newer version.
@pxl-cube6 жыл бұрын
2:49 There is no Host-Only-Networks tab in my settings :(
@abhisheksaharan6 жыл бұрын
In mac its on top right corner under global tools
@Eggsec2 жыл бұрын
Wonder if I can have kali and Kioptrix machine in save network.. for pen practice?
@krishnaguru44835 жыл бұрын
Why use NAT in one adapter and Host only in another? why not use bridged networking, will it not give access to both interconnection between VM and also internet? is there any advantage of using 2 adapters instead of one bridged networking?
@BrijeshYadav-vl7bj4 жыл бұрын
@Corey Schafer Is it possible to setup similar network using Bridge adapter and allocating static IP to each VMs?
@ganeshm45256 жыл бұрын
Hi Corey, thanks for your very productive video. At minute 8.56, your duel hosts showing the result from ifconfig -a with enp0s3, .0, enp0s8 and lo. However, I do see enp0s3 and lo only.I went ahead and updated interfaces file, but that did not help. I appreciate your reply.
@eecopper6704 жыл бұрын
I'm trying to do this on Ubuntu 20.04.1 LTS (Guest) and Arch Linux (Host), however on the guest machine, /etc/network/interfaces has apparently been obsoleted. What should I do here? Does this only work with Ubuntu 16.04?
@fernfaba2 жыл бұрын
/etc/network/interfaces is deprecated (google this for more info) I installed the following and it worked: -------- sudo apt install ifupdown
@hamiltonlima6 жыл бұрын
thanks :)
@HPDStudios6 жыл бұрын
There are 2 interfaces the enp0s3 and enp0s8... I don't get how your interface file does not provide a specification for the enp0s3 yet somehow when you ifconfig -a it shows an ip assignment. ... I'm stuck at this stage for some reason... I just can't seem to match the enp0s3 and the enp0s8 to the appropriate Virtual Machine network adapter offering. Any insight on this would be useful... This essentially shuts down the NAT connection and I can't get any internet access to the server. Everything else is identical.
@abdularif9514 жыл бұрын
I would appreciate, if you could show me how do make IP address of NAT interface card to static ?
@anisdhouieb99186 жыл бұрын
would you publish videos about ansible and Jenkins in the near future ? I like your videos
@coreyms6 жыл бұрын
I want to cover those topics, yes. I'm not sure if I will cover them in the immediate future though just because I have a couple of series' I need to finish first.
@anisdhouieb99186 жыл бұрын
@@coreyms thx for all the great work you're doing !!!
@raghavtalwar39623 жыл бұрын
You saved my ass bro thank you so much
@nickng80694 жыл бұрын
can we use a browser in virtual box vm?
@nouseofaname20103 жыл бұрын
what if I only have one network adapter? Is there a way to set it up so that I can use my Ubuntu vm to ssh into my CentOS machine? Both currently have the same adapter with the same IP address. :/
@whoseversquare32142 жыл бұрын
Why can I connect to Ubuntu-2 but not Ubuntu-1 when I am trying to ssh into it from the terminal on my computer?
@zhencao61157 жыл бұрын
Nice vedio Corey. Btw, why I can,t ping a virtual machine at my host machine. I also use mac os.
@coreyms7 жыл бұрын
Hmm, there could be a lot of reasons it isn't working. Are you sure they're on the same Host-Only network and that you've set all of the static IPs correctly?
@zhencao61157 жыл бұрын
I will try tonight!. Thank you for your answer. Really love your tutorial. I enjoy one of your video per night. Thank you for sharing your knowledge and your skillful teaching technique!
@mikesmith95387 жыл бұрын
I have the same issue. I'm running Windows 10 on the host and I followed the directions explicitly and rechecked them many times. I can ping the host from the virtual machine, but I can't ping the virtual machine from the host. I can ping 192.168.56.1 from the host, but I can't ping 192.168.56.100 (the virtual machine) from the Windows 10 host. Do you have any idea what could be causing the issue? Mike
@mikesmith95387 жыл бұрын
I solved my issue. It was caused by the Windows 10 Firewall. This is what I did: Start Windows Firewall (Control Panel) Choose Windows Firewall Properties Choose - Domain Profile Tab Click Customize (Protected network connections Uncheck - Virtual-Host Only Network Click OK Repeat the above for the Private Profile and the Public Profile tabs Verify the Host can ping the VM. Go back and re-check the Virtual-Host Only Network to re-enable the Windows 10 Firewall. Verify the Host can still ping the VM. I don't know if leaving the Windows Firewall active for the Virtual-Host Only Network connection will continue to work, but now I know how to disable it.
@vladyslavstadnyk91568 ай бұрын
why do you have 3 devices in ifconfig -a, and I have only lo and enp0s3?
@amitbajpai62654 жыл бұрын
How did you come out without saving the name of file in nano while changing the hostname
@Daldavid6 жыл бұрын
How does the configuration differs in CentOS ? Especially when you edit the "eth0" and "eth1" files ? Thanks.
@abhisheksaharan6 жыл бұрын
in centos you have to create a new file under vi /etc/sysconfig/network-scripts/ifcfg-enp0s8
@ionutvali52956 жыл бұрын
Thank you for the info and for the time, your videos are very easy to understand, But this is very old and all most no of the info it updated. I try with CentOS and i can ping from one machine to another right after install . So can you please do one update video but with CentOS. Thank you
@pjmclenon5 жыл бұрын
hello thanx for the vid..how can we deply this cluster network on different actual physical machinses?/..i am still not ablle to do this..thxz alot...jessica
@Pratixx4 жыл бұрын
virtualbox doesent show me the host only networks option why though?
@muhammadusman55213 жыл бұрын
enp0s3 , enp0s8, enp1s3 what number of theses interfaces a linux machine can have??
@ochonogoreze5624 Жыл бұрын
How to do this in virtual box 7 ???
@Rooot-username7 жыл бұрын
Can I do the same for telnet?
@madanimehenni85616 жыл бұрын
how shered file in two virtual machin ?
@lifelong97175 жыл бұрын
I dont see host only network on windows
@fuatkaradeniz4 жыл бұрын
Now, it has been three years since this video was created and a lot has changed since then. I couldn't do this on Ubuntu version 20 LTS since sudo nano /etc/network/interfaces command didn't work. So I have to install Ubuntu version 16 LTS to achieve it. Anybody knows how to do it on Ubuntu 20 or any newer tools to do this same thing? Thank you all
@Kondzino2 жыл бұрын
.
@fernfaba2 жыл бұрын
/etc/network/interfaces is deprecated (google this for more info) I installed the following and it worked: -------- sudo apt install ifupdown
@duke007x34 жыл бұрын
Ansible? Corey? Did you say Ansible, right?))
@janpoonthong4 жыл бұрын
I dont see /etc/network.intterfaces file
@fernfaba2 жыл бұрын
/etc/network/interfaces is deprecated (google this for more info) I installed the following and it worked: -------- sudo apt install ifupdown
@janpoonthong2 жыл бұрын
@@fernfaba I already quit, I asked two years ago, lol
@dinuzakbayev43497 жыл бұрын
Can you learn creating a physical network of machines with this?
@coreyms7 жыл бұрын
I have always used virtual machines so I don't really have the experience to say. I would assume the process is similar, but with some differences here and there. Someone more experienced in IT and small office networks could likely answer this better than myself though.
@dinuzakbayev43497 жыл бұрын
Corey Schafer thank you. Trying to learn networking and wondering if this could help learn setting up a physical network.
@ironmantooltime5 жыл бұрын
How do u get round vboxes pathetic video memory limit? The vm cpu just gets hammered.
@jackeyzhu37024 жыл бұрын
I thought static IP addresses are paid to get :(
@betoian4 жыл бұрын
:) Thees are LAN (everybody use the same)
@little006little0066 жыл бұрын
Does this work if the two VMs are hosted on two different physical machines?
@abhisheksaharan6 жыл бұрын
i believe it will will if they are under same network and running.
@robstuckey4 ай бұрын
dude all these virtual machines are running linux/ubuntu. Maybe a key detail worth adding to the video title.
@DESI_CHHORA_1.X2 жыл бұрын
Sa
@VMOLTIM2 жыл бұрын
soft
@shun7474 жыл бұрын
So can this affect other devices that are not a VM across the internet as well?