Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
netapp_vyos_install [2021/01/03 19:11] andonovjnetapp_vyos_install [2021/01/04 14:28] (current) – [Test] andonovj
Line 80: Line 80:
  
 ====Image Installation==== ====Image Installation====
-To install the image software, just type: "install image" and following the settings:+To install the image software, just type: "install image" and following the settings. The first set of settings are: 
 + 
 +  * Are you sure you want to start: Yes 
 +  * Partitioning: Auto 
 +  * Disk to be used for the installation: "sda", which will be used also as boot disk 
 +  * Verification for deleting all data on sda: Yes
  
 {{:vyosimageinstall.jpg?400|}} {{:vyosimageinstall.jpg?400|}}
  
 +Then we have to fill:
 +
 +  * The name of the image: default (1.1.8)
 +  * The Boot file: default (/config/config.boot)
 +  * Vyos password: blackbox1
 +  * Booting disk: default (sda)
  
 {{:vyosimageinstallv2.jpg?400|}} {{:vyosimageinstallv2.jpg?400|}}
  
 +After all is done, we should have the image set up.
 +
 +{{:vyosimageinstallv3.jpg?400|}}
 +
 +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:
 +
 +{{:vyoschangebooting.jpg?400|}}
 +
 +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" and untick the "Connect at power on":
 +
 +
 +{{:vyoschangebootingv2.jpg?400|}}
 +
 +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:
 +
 +
 +<Code:bash|Configure the network interfaces>
 +vyos@vyos:~$configure
 +[edit]
 +vyos@vyos:~$set interfaces ethernet eth0 address 172.23.1.254/24
 +[edit]
 +vyos@vyos:~$set interfaces ethernet eth1 address 172.23.2.254/24
 +[edit]
 +vyos@vyos:~$set interfaces ethernet eth2 address 172.23.3.254/24
 +[edit]
 +vyos@vyos:~$set interfaces ethernet eth3 address 172.23.4.254/24
 +[edit]
 +vyos@vyos:~$set interfaces ethernet eth4 address 172.23.5.254/24
 +[edit]
 +vyos@vyos:~$set interfaces ethernet eth5 address 172.23.7.254/24
 +[edit]
 +vyos@vyos:~$set interfaces ethernet eth6 address 172.23.9.254/24
 +[edit]
 +</Code>
 +
 +We have to also allow SSH and SSH using root:
 +
 +<Code:bash|Enable SSH>
 +vyos@vyos:~$set service ssh
 +[edit]
 +vyos@vyos:~$set service ssh allow-root
 +[edit]
 +</Code>
 +
 +Now that is done, we have to commit our changes:
 +
 +<Code:bash|Commit changes>
 +vyos@vyos:~$ commit
 +vyos@vyos:~$ save
 +</Code>
 +
 +Like that, our changes are saved upon restart.
 +
 +
 +Now, we can finally test it.
 +
 +====Test====
 +To test the configuration, be sure that the VMWare virtual interface on your client machine is configured on the same network as the eth0:
 +
 +{{:vyosclientvmwareadapter.jpg?400|}}
 +
 +
 +After that, verify you can ping the eth0 IP on the router:
 +
 +{{:vyosclientpingverify.jpg?500|}}
  • netapp_vyos_install.1609701071.txt.gz
  • Last modified: 2021/01/03 19:11
  • by andonovj