wiki:Internal/OpenFlow/SandBoxSetup

Version 4 (modified by akoshibe, 15 years ago) ( diff )

Building Sandbox 9

This page describes any important-like things that happen in setting up the Sandbox 9. Sandbox 9 will first be networked using legacy switching and static VLANs. Once the controller is deployed, virtual switches will be used.

Overview

This is the strategy regarding this department:

  1. Set up static VLANs based on ORBIT network infrastructure convention.
  2. introduce virtual switching once the OpenFlow controller can be implemented.

Preliminary setup based on ORBIT Network Infrastructure

As of now (6/26/09), we still have not began work on a controller. Without the controller, the virtual switches are nonfunctional, so we first begin by trying to build Sandbox 9 using static VLANs and legacy firmware.

Conventions used

3 types of VLANs are used on the ORBIT testbed: CM, Control, and Data. While the CM VLAN spans across all 10 testbeds (Grid + 9 Sandboxes), each testbed has its own Control and Data VLANs.

On the NEC switch, the 3 VLANS and a trunk are assigned in the following manner, according to conventions used for networking the Sandboxes:

UsagePortsVLAN ID
CM1-43
Control5-827
Data9-1228
Trunk55-58-

DHCP

DHCP relay agents are only needed when the DHCP server and host are on separate VLANs. You don't need to configure the relay agent since the DHCP server is on the trunk connection and beyond the ASA. The ASA behaves as a router between the VLANs, and handles the relaying and VLAN tags.

Static VLAN Configuration

The steps assume you are already logged in and in privileged mode on the switch. Configuration of the CM VLAN (VLAN 3) is shown here.

  1. Create and name VLAN
    (config)# vlan 3
    !(config-vlan)# name "CM"
    !(config-vlan)# exit
    
  1. Assign CM VLAN 3 to the desired ports. Unfortunately, you have to configure one port at a time. Luckily, you can use the up arrow key to go through previous commands to make things faster.
    !(config)# interface gi 0/1
    !(config-if)# switchport mode access
    !(config-if)# switchport acc vlan 3
    !(config)# interface gi 0/2
    !(config-if)# switchport mode access
    !(config-if)# switchport acc vlan 3
    !(config)# interface gi 0/3
    !(config-if)# switchport mode access
    !(config-if)# switchport acc vlan 3
    !(config)# interface gi 0/4
    !(config-if)# switchport mode access
    !(config-if)# switchport acc vlan 3
    

  1. After repeating the steps for the Control and Data VLANs, configure the trunk ports:
    !(config-if)# interface gi 0/45
    !(config-if)# switchport mode trunk
    !(config-if)# switchport trunk allowed vlan 3,27,28
    !(config-if)# interface gi 0/46
    !(config-if)# switchport mode trunk
    !(config-if)# switchport trunk allowed vlan 3,27,28
    !(config-if)# interface gi 0/47
    !(config-if)# switchport mode trunk
    !(config-if)# switchport trunk allowed vlan 3,27,28
    !(config-if)# interface gi 0/48
    !(config-if)# switchport mode trunk
    !(config-if)# switchport trunk allowed vlan 3,27,28
    !(config-if)# exit
    !(config)# save
    (config)# exit
    

Setup

A host is connected to a Control VLAN port (0/7), and the dhcp comes from trunk port 0/48. It will be able to bind to an address from Control, but not from any other VLAN.

go back to OpenFlow index

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.