官术网_书友最值得收藏!

Constructing a virtual lab

Before we dive into the packages, let's examine the options of putting together a lab for the benefit of learning. As the old saying goes, "Practice Makes Perfect": we need an isolated sandbox to safely make mistakes, try out new ways of doing things, and repeat some of the steps to reinforce concepts that were not clear in the first try. It is easy enough to install Python and the necessary packages for the management host, but what about those routers and switches that we want to simulate?

To put together a network lab, we basically have two options, each with its advantages and disadvantages:

  • Physical device: This option consists of physical devices that you can see and touch. If you are lucky enough, you might be able to put together a lab that is an exact replication of your production environment.
    • Advantages: It is an easy transition from lab to production, easier to understand by managers and fellow engineers who can look at touch the devices.
    • Disadvantages: It is relatively expensive, requires human capital to rack and stack, and is not very flexible once constructed.
  • Virtual devices: These are emulation or simulation of the actual network devices. They are either provided by the vendors or by the open source community.
    • Advantages: They are easier to set up, are relatively cheap, and can make changes quickly.
    • Disadvantages: They are usually a scaled-down version of their physical counterpart, and sometimes there are feature gaps too.

Of course, the decision of virtual and physical lab is a personal decision derived from a trade-off between the cost, ease of implementation, and the risk of having a gap between lab and production.

In my opinion, as more and more vendors decides to produce virtual appliances, the virtual lab is the way to proceed in a learning environment. The feature gap is relatively small and specifically documented when the virtual instance is provided by the vendor. The cost is relatively small compared to buying physical devices and the time-to-built is quicker because they are usually just software programs. For this book, I will use a combination of physical and virtual devices for demonstration with a preference toward virtual devices. For the purpose of the book, the differences should be transparent. If there are any known differences between the virtual and physical devices pertaining to our objectives, I will make sure to list them out.

On the virtual lab front, besides images from various vendors, I am also using a program from Cisco called Virtual Internet Routing Lab (VIRL).

I want to point out that the use of this program is entirely optional to the reader. But it is strongly recommended that the reader have some lab equipment to follow along with the examples in this book.
主站蜘蛛池模板: 海口市| 桃源县| 诸暨市| 福贡县| 津南区| 东乡族自治县| 涞源县| 云浮市| 宜州市| 平原县| 龙江县| 广平县| 社旗县| 高邮市| 西宁市| 灯塔市| 鹤山市| 外汇| 娄底市| 临泽县| 襄樊市| 横山县| 尤溪县| 遵化市| 松溪县| 通山县| 房产| 龙山县| 永兴县| 嘉峪关市| 扶风县| 贺兰县| 鄂尔多斯市| 新丰县| 吴堡县| 洱源县| 三穗县| 丹棱县| 深圳市| 池州市| 会昌县|