Difference between revisions of "VyOS"
From HackerNet
Helikopter (talk | contribs) m (Undo revision 1429 by Helikopter (talk)) |
Helikopter (talk | contribs) |
||
Line 6: | Line 6: | ||
=Konfiguration= | =Konfiguration= | ||
+ | Byt till konfigurationsläge. | ||
configure | configure | ||
+ | Ändringar måste commitas. | ||
commit | commit | ||
save | save | ||
+ | Show run | ||
show conf | show conf | ||
+ | Show run kommandon | ||
+ | show configuration commands | ||
+ | |||
+ | '''SSH''' | ||
+ | set service ssh port '22' | ||
'''Interface''' | '''Interface''' | ||
+ | configure | ||
set interfaces ethernet eth0 address '10.0.0.1/24' | set interfaces ethernet eth0 address '10.0.0.1/24' | ||
set interfaces ethernet eth0 description 'INSIDE' | set interfaces ethernet eth0 description 'INSIDE' | ||
+ | show interfaces | ||
− | ''' | + | '''Default route''' |
− | set | + | set protocols static route 0.0.0.0/0 next-hop 10.0.10.1 distance '1' |
+ | Verify | ||
+ | show ip route | ||
[[Category:Network]] | [[Category:Network]] |
Revision as of 18:34, 13 March 2016
VyOS är ett Linux-baserat network operating system med mjukvaru-routing, firewall och VPN funktionalitet. Det är en community fork av Vyatta Core och bygger på Debian och Quagga routing engine.
Installation
Get iso, skapa vm, mount iso. PW: vyos
vyos@vyos:~$ install image
Konfiguration
Byt till konfigurationsläge.
configure
Ändringar måste commitas.
commit save
Show run
show conf
Show run kommandon
show configuration commands
SSH
set service ssh port '22'
Interface
configure set interfaces ethernet eth0 address '10.0.0.1/24' set interfaces ethernet eth0 description 'INSIDE' show interfaces
Default route
set protocols static route 0.0.0.0/0 next-hop 10.0.10.1 distance '1'
Verify
show ip route