“Router-in-a-box”: on tin, in ESX or even Citrix


So you have your nice VMware based ESXi lab with multiple VLANs but you only have a Layer 2 switch! Enter Vyatta, “router-in –a-box”

Vyatta is a handy little Open Source router requiring  a meagre 174Mb of disk and as little as 512Mb RAM and it is really quite something.

Vyatta, who not so long ago received a $10m in fudning led by Citrix, claims to outperform Cisco routers! I haven’t verified these claims myself but it would seems plausible considering the amount of resource available to today’s servers.

It is downloadable for free in a handy Virtual Appliance direct from Vyatta http://www.vyatta.com/.

How to deploy this in your lab:

Vyatta has a good Quick Start guide at http://www.vyatta.com/downloads/documentation.php

1) Install the Virtual Appliance

2) Add one NIC per VLAN (note the order that you assign the VLANs)

3) Run your Vyatta VM

4) Log in to Vyatta with username “vyatta” and password “vyatta”

4) type “configure”

5) use the variations of the “set interfaces ethernet eth0 10.1.1.1/24” command to assign an IP to each NIC – eth0 is the first vNIC that you configured in “edit settings”.

The above example assumes you are using 10.1.1.1/24 as the default gateway for your first VLAN

And now you are routing with your “router-in-a-box”

Next Steps

So once you have basic routing, why not inspect some of the other features of Vyatta?

  • Add static routes to reach the outside world
  • Cluster Vyatta across ESX hosts using VRRP
  • Create an IPSEC VPN in to your lab

Helpful documentation can be found on the Vyatta website and on the community forums.

Happy Routing!

VN:F [1.9.3_1094]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)

Related posts:

  1. Vyatta – Free Training focussed on use in ESX and Citrix
    Vyatta are slowly becoming one of my favourite networking start-ups… Not only do they have a first class Router and Firewall/VPN product – boasting higher performance than Cisco – that...

About the Author

Dave Tucker is a Technical Consultant currently in the employ of Hewlett-Packard in the UK providing Network Solutions to a diverse range of clients. He also dabbles in UC&C, Security, Virtualization and sometimes even Storage when necessary. Dave lives on a diet of Coffee and Hob Nobs, is a strong advocate of open standards, open source and providing the best-fit solution for the customer. Follow him on Twitter @dave_tucker