OpenDaylight VLAN LAB
In this lab, we will build a network with three switches and six hosts. We will create two VLANs (VLAN 100 and VLAN 200) and assign hosts 1, 3, and 5 to VLAN 100 and hosts 2, 4, and 6 to VLAN 200. This is an interesting and important lab. I highly recommend you have this lab as it may lead you from traditional networking to the SDN world.
Let's have a look at our VLAN lab topology:
The topology is very simple: two VLANs, three switches, and six hosts. Host are assigned to different VLANs. Our objective is to use OpenDaylight and VTN to deploy VLAN (or better put, the layer 2 isolation) between the hosts. Switches are the OVS-enabled switches based on Mininet.
Here are the steps you need to follow in this lab:
- Setting up the environment in Mininet
- Setting up the VTN modules in OpenDaylight
- Setting up and building your REST client
- Using the Rest API to create a virtual tenant and virtual bridges in OpenDaylight
- Testing
Let's start with having some fun with Mininet.