0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

vyos installation and first config memo

Last updated at Posted at 2019-12-18

vyos installation and first config memo

Objectives:

  • personal memo

Target System:

  • ESXi 6.7

Install:

1. Download iso file:

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
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?