Tuesday 1 September 2009

Vyatta Vmware Lab

Hi again,

Just to spice things up a little I thought I would do a lab on vyatta, so I dug out part of an old lab, and presto - A Vyatta based OSPF 3 site lab:


and this is how I did it:

Part 1:

Vyatta Vmware Lab Part1 from Richard Vimeo on Vimeo.



Part2

Vyatta Vmware Lab Part2 from Richard Vimeo on Vimeo.



Enjoy!

8 comments:

Unknown said...

Nice tutorial. So far I've just watched the 1st video, but had a couple comments:

1) you mentioned that "?" isn't recognized as help/command completion. Well, that's only true if you login as root which runs standard bash. In you use the vyatta userid (making sure to change the default password) or create your own admin userid, then you'll be running vbash which will recognize "?" as help and won't require you to escape special bash characters.

2) You mention that VC5 doesn't include vmtools. That is true, but it does include open-vm-tools, so you should get better performance using vmxnet over e1000.

3) If you want to rename you're interfaces from eth3,4,5 to eth0,1,2 you can edit /opt/vyatta/etc/config/config.boot and reboot. At boot the inteface will search for the matching hw-id in the config and renumber to that interface.

Unknown said...

Couple more comments after watching the 2nd video:

1) This video is a great example of what a powerful learning tool virtual machines & virtual networks can be. In the past a networking student use to require a lot of expensive gear & cabling to achieve the same sort of lab exercise.

2) Instead of exiting out of configuration mode to run an operational command, you could run the op command from config mode by adding "run" in front of the op command.

3) The video mentioned that after changing the hostname that the new hostname won't show up in the prompt till a reboot. Simply login out and back in will start a new vbash shell and pick up the new hostname.

4) Might be worth mentioning that this lab is using VmWare Workstation. The team stuff isn't part of the free version of VmWare Server, but all the same things can be accomplished in the free version using different menus.

Roggy said...

I did not realise that the ? autocompletion was only not active with the root account!
Thanks for your input stig, very useful.

Unknown said...

I created this lab took me a bit of time but got it going. Just something to note I used Vyatta 6 and in the video you used Vyatta 5 I grab Vyatta 6 from the appliance you posted on VMware because the on Vyatta 6 appliance on Vyatta website wasn’t working. The appliance you have posted has DHCP enabled on eth0 and the firewall something to note. Than the other issue I had was that on my R2 & R3 I couldn’t see the ospf neighbor of the IR box but I could see them on R1. Everything still routed find on R2 & R3.

Roggy said...

This is a good point for everyone.

Watch out for older videos that use VC5! :)

Unknown said...

Great series of vyatta videos, thanks for putting them up. I downloaded vc6 final you put on the vmware appliance site, thanks for doing that also.

Is it also possible to hook the appliance up to an existing ospf backbone running on several juniper boxes? or are there any potential pitfalls with cross vendor hookups. This is just my personal education lab and I want to hook all my esxi run appliances with a vyatta router into my physical network.

appreciate any insight.

Roggy said...

Thanks for your comments!

OSPF is an open standard, there should be no issues, ive peered with cisco boxes and never had any problems, I suspect juniper will be no different.

gshermer777 said...

I don't get Internet access from other routers other than R1. They cannot go past the outside interface of IR. Could you advise?