VYOS Lab 1 - zacharylongo/Tech-Journals GitHub Wiki

Setting Hostname, Interfaces, Gateway, DNS, and DNS Forwarding

VyOS is a Debian-based open-source network operating system that can be used as a router, firewall, VPN gateway, or gateway for cloud environments.

Setting the Hostname:

Log in to the VyOS CLI. Enter configure mode by typing configure Type set system host-name Commit the changes by typing commit Save the changes by typing save

Setting Interfaces:

Log in to the VyOS CLI. Enter configure mode by typing configure Type set interfaces ethernet eth0 address / Commit the changes by typing commit Save the changes by typing save

Setting the Default Gateway:

Log in to the VyOS CLI. Enter configure mode by typing configure Type set system gateway-address Commit the changes by typing commit Save the changes by typing save

Setting the DNS Servers:

Log in to the VyOS CLI. Enter configure mode by typing configure Type set system name-server Commit the changes by typing commit Save the changes by typing save

Enabling DNS Forwarding:

Log in to the VyOS CLI. Enter configure mode by typing configure Type set service dns forwarding system Commit the changes by typing commit Save the changes by typing save

⚠️ **GitHub.com Fallback** ⚠️