TOTAL
Since dec 2006
1'942'871 Visitors
4'218'042 Pages

Nov 2010 Stats
82'909 Visitors
146'476 Pages
196 countries
Full statistics



Help us translate
our tutorials!

JOIN the
OpenManiak Team.
OM TEAM
Director:
Blaise Carrera
Tutorials creation:
Blaise Carrera
Translaters:
Giovanni Fredducci
Angel Chraniotis
Moham. H. Karvan
Alexandro Silva
Blaise Carrera
Andrei Chertolyas
Sergiy Uvarov
Nickola Kolev
Łukasz Nowatkowski
Ivo Raisr
Catalin Bivolaru
Bogdan A. Costea
Kirill Simonov
Oliver Mucafir
JaeYoung Jeon
Seungyoon Lee
Jie Yu & Si Cheng
Tao Wei
YukiAlex
Fumihito Yoshida
Muhammad Takdir
Çağdaş Tülek
Auditors
Leslie Luthi
Joe Anderson
Jennifer Ockwell
Nigel Titley
Alison Rees
Webmaster:
Blaise Carrera
VYATTA - The Easy Tutorial - Case Study 9 - Packages

Vyatta Case 9 - Packages
Last Change : Dec 26 2007


Tool
Install
Ergonomy
Forum



Details What is Vyatta?
Screenshots
Prerequisites
Tutorial Vyatta
Vyatta & Cisco Commands
Vyatta/Cisco/Quagga Comparison (Quagga section)
Case Study 1 - Static routes (VC 2.0)
Case Study 2 - OSPF simple (VC 2.0)
Case Study 3 - OSPF advanced (VC 2.0)
Case Study 4 - BGP (VC 3.0)
Case Study 5 - VRRP (VC 2.2)
Case Study 6 - NAT (VC 2.0)
Case Study 7 - DHCP (VC 2.2)
Case Study 8 - IPSec (VC 2.2)
Case Study 9 - Packages (VC 3.0)
Case Study 10 - Bridging (VC 3.0)
Case Study 11 - CDP VC 3.0



⚠️⚠️⚠️
Please check our website about
attractions in Western Switzerland !! (Please use english translation).

⚠️⚠️⚠️
Merci de consulter notre site sur les
activités à faire en Suisse romande !!



Vyatta version used: VC 3.0 Oct 29, 2007
PRINCIPLE:

As already indicated in the introduction page, the Vyatta router runs over a Debian platform.
Contrary to the commercial routers like Cisco Systems or Juniper where you cannot access the Operating systems based on Unix kernels, Vyatta gives you the opportunity to access the Debian Linux.

The goal is not to play with the Linux files, with the risk of damaging the system and thus the router, but to install useful programs very simply with packages exactly as you would do it for on a "pure" Debian system.

For example, you could be interested in installing the great OpenVPN tool used to build site-to-site SSL VPNs.



CONFIGURATIONS:

Let's follow the steps to install a piece of software:

Log in with the root user. If you are connected on the Vyatta router platform, log off with the "exit" command.
The default password root is "vyatta".

Check the Debian version you have:

vyatta:~#cat /etc/debian_version
4.0

We have a Debian version 4.0, also called "Etch".

Then add an official Debian "main" repository. "main" means that the software inside the repository is free and open source.
Find help about the Debian packages and the APT tools:

vyatta:~#vim /etc/apt/sources.list
deb http://ftp.de.debian.org/debian etch main
A huge number of Debian repositories are available. Try to find one close to your physical location for improved download time.

Update the available software list:

vyatta:~#apt-get update
Get:1 http://ftp.de.debian.org etch Release.gpg [378B]
Get:2 http://ftp.de.debian.org etch Release [58.2kB]
Get:3 http://archive.vyatta.com community Release.gpg [65B]
Get:4 http://archive.vyatta.com community Release [2691B]
Get:5 http://ftp.de.debian.org etch/main Packages [5629kB]
Get:6 http://archive.vyatta.com community/main Packages [115kB]
Fetched 5806kB in 43s (134kB/s)
Reading package lists... Done


Install the software (OpenVPN used in our example):

vyatta:~#apt-get install openvpn
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
    openvpn
0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
Need to get 337kB of archives.
After unpacking 918kB of additional disk space will be used.
Get:1 http://ftp.de.debian.org etch/main openvpn 2.0.9-4 [337kB]
Fetched 337kB in 21s (15.9kB/s)
Preconfiguring packages ...
Selecting previously deselected package openvpn.
(Reading database ... 16970 files and directories currently installed.)
Unpacking openvpn (from .../openvpn_2.0.9-4_i386.deb) ...
Setting up openvpn (2.0.9-4) ...
Starting virtual private network daemon:.


Of course, if you want to configure your installed software, you have to do it at the Debian level and not at the Vyatta router platform level.