Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
netapp_vyos_install [2021/01/03 19:00] – andonovj | netapp_vyos_install [2021/01/04 14:28] (current) – [Test] andonovj | ||
---|---|---|---|
Line 71: | Line 71: | ||
Username: vyos | Username: vyos | ||
+ | |||
Password: vyos | Password: vyos | ||
{{: | {{: | ||
+ | =====Image & Network Config===== | ||
+ | In this section we will install the network image and configure the networks. So let's get started: | ||
+ | |||
+ | ====Image Installation==== | ||
+ | To install the image software, just type: " | ||
+ | |||
+ | * Are you sure you want to start: Yes | ||
+ | * Partitioning: | ||
+ | * Disk to be used for the installation: | ||
+ | * Verification for deleting all data on sda: Yes | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Then we have to fill: | ||
+ | |||
+ | * The name of the image: default (1.1.8) | ||
+ | * The Boot file: default (/ | ||
+ | * Vyos password: blackbox1 | ||
+ | * Booting disk: default (sda) | ||
+ | |||
+ | {{: | ||
+ | |||
+ | After all is done, we should have the image set up. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Now, if we leave it like that, when we restart, it will boot from the disk again and all that will be for nothing. We have to safe that config to the disk: | ||
+ | |||
+ | ====Change Booting order==== | ||
+ | To change the booting order, we have to shutdown the machine and unmount the disk from the VMWare: | ||
+ | So, first, power off the machine: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Then open the virtual machine in VMWare and unmount the disk as follows. | ||
+ | - Go to VM Settings | ||
+ | - CD/DVD(IDE) - Change to: "Use physical device" | ||
+ | |||
+ | |||
+ | {{: | ||
+ | |||
+ | Now, when the machines boots up, it will boot from the hard disk (/dev/sda) which we configured. Next, configuring the networks :) | ||
+ | |||
+ | ====Networks Configuration==== | ||
+ | Now, the configure the router, you can either check my other topic, to configure a Cisco router, or you can follow the guide below. | ||
+ | To configure network, use the following: | ||
+ | |||
+ | |||
+ | < | ||
+ | vyos@vyos: | ||
+ | [edit] | ||
+ | vyos@vyos: | ||
+ | [edit] | ||
+ | vyos@vyos: | ||
+ | [edit] | ||
+ | vyos@vyos: | ||
+ | [edit] | ||
+ | vyos@vyos: | ||
+ | [edit] | ||
+ | vyos@vyos: | ||
+ | [edit] | ||
+ | vyos@vyos: | ||
+ | [edit] | ||
+ | vyos@vyos: | ||
+ | [edit] | ||
+ | </ | ||
+ | |||
+ | We have to also allow SSH and SSH using root: | ||
+ | |||
+ | < | ||
+ | vyos@vyos: | ||
+ | [edit] | ||
+ | vyos@vyos: | ||
+ | [edit] | ||
+ | </ | ||
+ | |||
+ | Now that is done, we have to commit our changes: | ||
+ | |||
+ | < | ||
+ | vyos@vyos: | ||
+ | vyos@vyos: | ||
+ | </ | ||
+ | |||
+ | Like that, our changes are saved upon restart. | ||
+ | |||
+ | |||
+ | Now, we can finally test it. | ||
+ | |||
+ | ====Test==== | ||
+ | To test the configuration, | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | After that, verify you can ping the eth0 IP on the router: | ||
+ | |||
+ | {{: |