#Vyos

Опубликовано: 13 Октябрь 2024
на канале: NetSpearo
4,886
28

How to assign an ip address to a vyos router interface and configure a default route :

show system image
show configuration commands
show interfaces
configure
set interfaces ethernet eth0 address 192.168.10.1/24
commit comment "Setting eth0 ip address"
save
set protocols static route 192.168.11.1/32 next-hop 192.168.10.2
commit comment "Setting default route"
save
run show ip route