vyatta

 

介紹

vyatta(Linux base router os)

http://www.vyatta.org       <-- 開源
http://www.vyatta.com      <-- 商用

Open Source Version:

OSPF, BGP, RIP
Firewall, NAT
VPN
High Availability (HA)
URL Filtering(http)

版本:

CLI (No GUI)

http://www.vyatta.org/documentation/tips-tricks

vyatta@vyatta:~$ configure
vyatta@vyatta# set interfaces ethernet eth0 address 192.168.1.81/24
vyatta@vyatta# commit
vyatta@vyatta# exit
vyatta@vyatta:~$

set service https
set service ssh

 show interfaces ethernet eth0

  delete interfaces ethernet eth0 address 192.0.2.21/24
 
 discard / commit

 save [filename]
 # running configuration can be saved using the
 # only committed changes
 
  /config/config.boot
 /media/floppy/config
 
 load [filename]

 
=======================
 
set system host name R1
set system domain name mydomain.com

 set system login user vyatta authentication plaintext password 12new$pwd34
 
 set system name server 12.34.56.100
 
 
=======================

show version
show -all

The default non-root user ID and password are as follows:
User name: vyatta
Password: vyatta
# Passwords are independent

=======================

add system  image iso-URL [username username password password]
# disk-based  /  image-based install
#  it will be set as the new default boot image

delete system
# including its Vyatta configuration file

clone system image [user@host:]source-image-name new-image-name [clean] (SE)
# clean => squashfs

install image
install system
#  recommends using the install image command over the install system
# creates and formats a new disk partition and then installs

rename system image

set system image default-boot [image-name]
show system image   [storage | version]
upgrade system image (SE)


 

Failover

Vyatta ( Cluster/VRRP )
The protocol achieves this by creation of virtual routers, which are an abstract representation of multiple routers
(master, backup)

VRRP (Virtual Router Redundancy Protocol)
routers share a VIP (virtual IP) that is managed by the VRRP process on each router
The backup router is constantly checking to make sure the primary router is up, if not, it takes over as the master router.

 


 

 

Creative Commons license icon Creative Commons license icon