In this article I will describe step by step how to install router in your lab it help in some case like Exchange Site resilience Lab, federation lab. .etc.

I use the later version 6.4 it have some change in command so I face some problem when configure it. But it have good option than old version which when install it in hyper-v you use legacy Network card which very slow , in the new version 6.4 you can use Network adapter.

1st install Router

you can download the latest version from Vyatta Community, create a hyper-v  virtual machine with 128 MB ram and 5 GB VHD , and add three network adapter.

Install router OS, boot with VC6.4 – 64 Bit Live CD iso and wait until load

then login with

vyatta Login:  vyatta
Password: vyatta

Run this command to start install router OS.

vyatta@vyatta$ install system

And confirm to continue with yes, choose for Partition Auto, and yes to continue like following image

Enter new password for router administrator  twice and enter

2nd configure the router

To do this Login with user vyatta and password which you set in installation, Once you are logged into the Vyatta console you need to enter configuration mode, this is done by typing “configure” in the console.

vyatta@vyatta:~$ configure

Give the router a hostname by entering the following command

vyatta@vyatta# set system host-name BoulosR1

I will configure my router interfaces to the following

Eth0 DCHP is public interface

Eth1 192.168.10.1/24 private interface

Eth2 192.168.15.1/24 other network

1st Network Adapter

vyatta@BoulosR1$ configure
[edit]
 vyatta@BoulosR1#set interfaces ethernet eth0 address dhcp
[edit]
 vyatta@BoulosR1#commit
[edit]
 vyatta@BoulosR1#exit

And do this for 2nd network adapter

vyatta@BoulosR1$ configure
[edit]
 vyatta@BoulosR1#set interfaces ethernet eth1 address 192.168.10.1/24
[edit]
 vyatta@BoulosR1#commit
[edit]
 vyatta@BoulosR1#exit
 And do this for 3rd  network adapter
vyatta@BoulosR1$ configure
[edit]
 vyatta@BoulosR1#set interfaces ethernet eth2  address 192.168.15.1/24
[edit]
 vyatta@BoulosR1#commit
[edit]
 vyatta@BoulosR1#exit

Configure NAT form private to public interface

vyatta@BoulosR1$ configure
[edit]
 vyatta@BoulosR1# set nat source rule 10 source address 192.168.10.0/24
 [edit]
 vyatta@BoulosR1# set nat source rule 10 outbound‐interface eth0
 [edit]
 vyatta@BoulosR1# set nat source rule 10 translation address masquerade
 [edit]
 vyatta@BoulosR1# commit
 [edit]
 vyatta@BoulosR1#