Monday 5 September 2011

Vyatta Virtual Router on ESXi 4.0

To install Vyatta Virtual router on ESXi 4.0
Downloading ISO image from Vyatta’s website
http://www.vyatta.com/downloads/index.php
Create a new Virtual Machine in ESXi
Attach the ISO downloaded to the new Vyatta Virtual Machine so it can boot from the ISO.
Configure the Vyatta Virtual Machine
Installing Vyatta
You can boot from the ISO you downloaded. because it’s also a “Live CD”
You’ll first need to login to Vyatta once it’s booted up. The default logins are (user: root pass: Vyatta) To install to the drive you will issue the command:
install-system
Configuring Ethernet Interfaces
Log on the system.
Configure the first NIC (eth0) which is going to be used for Internet access.
vyatta@vyatta> configure 
[edit] 
vyatta@vyatta# set interfaces ethernet eth0 address 192.168.2.3/24 
[edit] 
vyatta@vyatta# commit 
[edit] 
vyatta@vyatta# exit 
exit 
vyatta@vyatta>
Configure eth1 now
vyatta@vyatta> configure 
[edit] 
vyatta@vyatta# set interfaces ethernet eth1 address 192.168.3.3/24 
[edit] 
vyatta@vyatta# commit 
[edit] 
vyatta@vyatta# exit 
exit 
vyatta@vyatta>
Check interfaces configuration:
vyatta@vyatta:~$ configure 
[edit] 
vyatta@vyatta# show interfaces ethernet 
eth0 { 
address 192.168.2.3/24 
description Internet 
hw-id 00:15:5d:00:01:22 

eth1 { 
address 192.168.3.3/24 
description "subnet1:MOM 2005" 
hw-id 00:15:5d:00:01:23 
Save Configuration 
vyatta@vyatta# save 
Saving configuration to 
'/opt/vyatta/etc/config/config.boot'... 
Done 
[edit]
How to enable the Vyatta web-based GUI
vyatta@vyatta$
vyatta@vyatta# set service https
[edit]
vyatta@vyatta# commit
[edit]
OK
vyatta@vyatta#

No comments:

Post a Comment