vyos installation and first config memo
Objectives:
- personal memo
Target System:
- ESXi 6.7
Install:
1. Download iso file:
- vyos-rolling-latest.iso
- vyos-1.1.8-amd64.iso
- vyos-1.1.8-amd64.ova
2. Create VM and Boot:
- Example
- Guest OS: Debian GNU/Linux 9 (64-bit)
- CPUs: 1
- Memory: 2 GB
3. Install VyOS:
vyos login: vyos
Password: vyos
vyos@vyos:~$ install image
- Choose "S"
What console should be used by default? (K: KVM, S: Serial, U: USB-Serial)? (Default: K) S
vyos@vyos:~$ show version
Version: VyOS 1.2-rolling-201912180217
Built by: autobuild@vyos.net
Built on: Wed 18 Dec 2019 02:17 UTC
Build UUID: -
Build Commit ID: c12a8da143d67f
Architecture: x86_64
Boot via: livecd
System type: VMware guest
Hardware vendor: VMware, Inc.
Hardware model: VMware Virtual Platform
Hardware S/N: -
Hardware UUID: -
Copyright: VyOS maintainers and contributors
- Power Off and remove ISO, then boot from disk image
vyos@vyos:~$ poweroff
4. Basic Configurations:
show interfaces
configure
# set interfaces ethernet eth0 address 192.168.100.207/24
# set service ssh port 22
# set system host-name vyos01
# show system host-name
# set protocols static route 0.0.0.0/0 next-hop 192.168.100.4
# show protocols static route
# set system name-server <IP>
5. SNMP Configuration
# set service snmp community public authorization ro
# set service snmp community public network 192.168.100.0/24
# set service snmp trap-target 192.168.100.131 community public
# commit
# save