Close Menu
DPC Virtual Tips
    Read More

    Linux Commands to Investigate High Disk Partition Usage

    July 20, 2026

    Essential Slurm Administration Commands Every HPC Administrator Should Know

    July 15, 2026

    How to Install, Configure, and Use tmux on Linux

    July 14, 2026
    • Home
    • About Us
    • Contact
    • Cookie Policy
    • Comment Policy
    • Privacy Policy
    • Terms of Use
    • Disclaimer
    Sunday, August 2
    DPC Virtual Tips
    • Home
    • Operating Systems
    • CLI
    • PowerFlex
    • HPC
    • Certificates
    • Virtualization
    • About Us
    • Contact
    DPC Virtual Tips
    Home » Performing Basic Configurations on the VyOS
    Operating Systems

    Performing Basic Configurations on the VyOS

    DaniloBy DaniloOctober 13, 2023Updated:July 30, 2026No Comments2 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    VyOS basic configuration
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Performing Basic Configurations on the VyOS is an article that shows how to perform some basic and fundamental configurations on the VyOS router after the initial installation process.

    After installing VyOS, some fundamental configurations should be applied, such as changing passwords, configuring system identification, setting network interfaces, and enabling important services. These steps help create a functional and manageable router environment.

    First things first, we have written an article that explains the VyOS installation process. If you wish to check it, please access the below link:
    How to Install VyOS Router in a Lab Environment – DPC Virtual Tips

    Changing user password

    In this example, the username is “vyos” and the password is “123456”:

    configure
    set system login user vyos authentication plaintext-password 1234565
    commit
    save
    exit

    Setting up a Banner (pre-login and post-login banner)

    configure
    set system login banner pre-login "WARNING: AUTHORIZED ACCESS ONLY!"
    set system login banner post-login "WARNING: BE CAREFUL. ALL ACTIONS ARE BEING MONITORED!"
    commit
    save
    exit

    Setting up a Hostname and Domain Name

    configure
    set system host-name vyos-01
    set system domain-name lab.local
    commit
    save
    exit

    IP address and VLAN Interface

    In this example, our VyOS router has two network interfaces identified as “eth0” and “eth1”.
    We are setting up the “eth0” with the IP directly on the interface.
    And for the “eth1” interface, we are creating the VLAN 10 and setting up a VLAN interface through the “eth1” interface:

    configure
    set interfaces ethernet eth0 address 192.168.255.8/24
    set interfaces ethernet eth1 vif 10 description VLAN10
    set interfaces ethernet eth1 vif 10 address 10.10.10.10/24
    commit
    save
    exit

    Setting up the Default Route

    configure
    set protocols static route 0.0.0.0/0 next-hop 192.168.255.1
    commit
    save
    exit

    Setting up the NTP

    In this example, we are setting up both internal NTP servers and removing external NTP servers:

    configure
    set service ntp server 192.168.255.3
    set service ntp server 192.168.255.4
    delete service ntp server time1.vyos.net
    delete service ntp server time2.vyos.net
    delete service ntp server time3.vyos.net
    commit
    save
    exit
    show ntp

    Setting up DNS Servers

    configure
    set system name-server 192.168.255.3
    set system name-server 192.168.255.4
    commit
    save
    exit

    Enabling SSH Service

    configure
    set service ssh
    commit
    save

    As I said before, these are basic commands to set up some important configurations after the installation process. All details are extracted from the VyOS User Guide:
    VyOS User Guide — VyOS 1.4.x (sagitta) documentation

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleHow to Install VyOS Router in a Lab Environment
    Next Article Basic VRRP Configuration on VyOS
    Danilo

    Infrastructure Engineer with experience in Virtualization, Linux, Windows Server and learning automation using Python. DPC Virtual Tips was created to share practical tutorials, lab experiences and troubleshooting guides focused on enterprise infrastructure technologies.

    Related Posts

    Linux Commands to Investigate High Disk Partition Usage

    July 20, 2026

    How to Install, Configure, and Use tmux on Linux

    July 14, 2026

    Installing Rocky Linux

    April 27, 2026

    Comments are closed.

    Search
    Categories
    • Certificates (5)
    • CLI (7)
    • HPC (7)
    • Operating Systems (75)
    • PowerFlex (22)
    • Virtualization (122)
    Read More
    Operating Systems

    Linux Commands to Investigate High Disk Partition Usage

    By DaniloJuly 20, 20260
    HPC

    Essential Slurm Administration Commands Every HPC Administrator Should Know

    By DaniloJuly 15, 20260
    Operating Systems

    How to Install, Configure, and Use tmux on Linux

    By DaniloJuly 14, 20260
    HPC

    Getting Started with Lustre File System

    By DaniloJuly 13, 20260
    Operating Systems

    Installing Rocky Linux

    By DaniloApril 27, 20260
    Latest Posts

    Linux Commands to Investigate High Disk Partition Usage

    July 20, 2026

    Essential Slurm Administration Commands Every HPC Administrator Should Know

    July 15, 2026

    How to Install, Configure, and Use tmux on Linux

    July 14, 2026
    Images from Gallery
    linux tux
    hpc main commands
    linux commands
    install rock linux
    lustre fs
    Categories
    • Certificates
    • CLI
    • HPC
    • Operating Systems
    • PowerFlex
    • Virtualization
    • Home
    • About Us
    • Contact
    • Cookie Policy
    • Comment Policy
    • Privacy Policy
    • Terms of Use
    • Disclaimer
    Copyright © 2026, DPC Virtual Tips. All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.

    We use cookies to ensure your best experience on our website. If you continue using our website, we'll assume you agree to our cookie policy