 Hello everybody! Thank you very much for watching this YouTube video on how to install BioS into a virtual box. Maybe some of you might be wondering and why do you need to install BioS, which is an open source grouter software in a virtual machine? Well, the reason is because maybe you want to use Ansible for automating networks and you want to learn how to do that. And maybe you do not have a physical router. How you can practice using VirtualBox? So, let's see how to install BioS into VirtualBox. So, that's the BioS.io. As I said, it's an open source software for routers. You can see here, and here in the download section, you can see that there is the free download, the Lightning release, and the source code. Just keep in mind that usually they do not let you download for free the LPS version, but they let you download it for free previous versions, or also the rallying version. In this case, I'm going to use that 1.2.9. I'm going to leave the link in the comment section. So, no worries. And let's start. So, first of all, what we've got here is the VirtualBox. In this case, it's the version 7.0. In theory, it should work with any VirtualBox version, but let's just speak to the VirtualBox 7.0 and let's start. I do a new and I just need to put here a name. I'm going to do Bio West Test, for example. And I need to select an ASO image, and here, as you can see, I've downloaded the 1.2.9. Okay, so I just select it and that's all. I do next, and I need to put a base memory and base CPU. With two gigabytes of memory and one CPU, it's fairly enough, but if you want to start up faster wherever, you can just put here more memory, more CPU. Then we create a virtual hard disk now. Yeah, that's fine. This is all the summary with the finish and here is the image or the box created. Now, let's go start. Now, what I'm just doing when I push start, well, you see a lot of messages and so on, but what I'm really doing here is starting the installation process. Okay, so it's not the final image, it's just the installation. I'm going to try to make this a bit more big and now it's bigger. Okay, let me try to you know, sometimes the integration it's a quite out now. Okay, so now you can see that it has been started. Okay, you see here, well, it's just started and the first thing that we need to do is login into this installation by OS. Okay, so now at this point, you need to push enter to get the login and the login is by OS by OS and the password is by OS as well. Okay, so you put by OS by OS and then it says, okay, here we are in the in the operating system you're logging. Okay, now we need to or we need to run install image install image will install you know, the by OS into the virtual box. So let's do install image it says, well, do you want to install do you want to continue? It says yes, which is the full one. Then it says, okay, I'm just checking the drives, said how do you want to do the partitions. Okay, in this case, auto is enough. It says if you want to use this one, it says yes. This will destroy a lot of data. Yes. Notice that here that the full is no but just put yes and the size the full size is enough and now it's just creating or installing the by OS into this image. Do you want to use 1.2.9? Yes, this is what I am installing. So yes, you are fine. Then also it asks me which is the disk to boot up. So it's creating the group and I'm just saying that the full one is okay and now ask me for the password for the by OS. So for the administrator and I'm going to put it by OS as well. By OS, by OS. Okay, yeah, this is the partition. This is the full one and done. Now in my virtual box I've got by OS installed. Keep in mind that by OS it doesn't or doesn't automatically configure the machine to use this installation. So you need to do a power off now. So we need to close the machine. Now it's, you know, it's close going here settings and configure two things. The first one in the storage we need to go to the controller ID which is the ISO push here and do remove this Chrome. So you move it. Okay, so now when we boot up again we are not going to start the installation process and then the second thing that we need to do is going to network and change this adapter from net to bridge adapter. So we change this and we put okay and now we can start the switch. Okay, now it's starting again but now we are not installation or we are sorry we are not starting installation process. We are just starting the real by OS. So let's wait for, you know, maybe 30 seconds or so until it's started. But what it's really important here is that now with this virtual box we will be able to connect. But before we can connect to this virtual box we need to enable the Ethernet. We need to configure this router because keep in mind that I know that this is a virtual box but this is the software or the operating system that is running inside a physical machine, a router physical machine. So we need to configure the Ethernet ports and the IPs and so on. And that's what we are going to do now. In logging we do by OS, the password remember that we said to by OS as well now we are inside the now we are inside the router okay, so I can do bigger I know it's not that big but now what we need to run is one command which is called config this will start the configuration mode. So we are starting configuring the router. Now we do set interfaces because we want to configure the Ethernet interface Ethernet, the H0 and we want to configure the IP of this Ethernet with the HCP okay, now we do this, it configures then we do commit then it's committing then we do save. Now we are saving the configuration and finally we do exit. So we are exiting from from configuration mode. Now if I run showing interfaces Ethernet you'll see that I've got it an IP address 192.168.1.96 this IP it's in the same network as my host machine. So it's in the same network as the as this machine. So this the machine where I'm running built over. So this machine. Okay, now so we are in the same IP range which means that now what we can do from the host machine SSH to this IP 192.168.1.96 with the login by OS and the password by OS and we will create an SSH connection to that machine and we will able to again run comments on that virtual machine from my host computer you see that it's not complicated at all you just need to run this comments now at that point you can start running Ansible to configure that router. Okay, you just need to configure Ansible the inventory file putting the IP of the route the login and the password and you're done. You can start configuring automatically networks using Ansible so hope that you found it useful and of course remember that after that point it's time to start learning Ansible for Network Automation bye bye