VyOS Basic Configuration

Configuration:
vyos@vyos$ configure
vyos@vyos#

set interfaces ethernet eth1 address '192.168.0.1/24'
set interfaces ethernet eth1 description 'INSIDE'
set interfaces ethernet eth1 duplex 'auto'
set interfaces ethernet eth1 speed 'auto'

set service ssh port '22'

set protocols static route 0.0.0.0/0 next-hop 203.0.113.1 distance '1'

commit
save

Verification:

show configuration
show configuration commands
show interfaces

show interfaces ethernet eth0

For more Details:

https://vyos.io

No comments:

Post a Comment