Changes between Version 5 and Version 6 of Internal/OpenFlow/SandBoxSetup


Ignore:
Timestamp:
Jul 9, 2009, 5:53:10 AM (15 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/SandBoxSetup

    v5 v6  
    16163 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. 
    1717
    18 On the NEC switch, the 3 VLANS and a trunk are assigned according to conventions used for the ORBIT networks, except that 12 ports are allocated to each VLAN and trunk:
     18On the NEC switch, the 3 VLANS and a trunk are assigned according to conventions used for the ORBIT networks, except that 12 ports are allocated to each VLAN and trunk as of 7/2 :
    1919
    2020 ||Usage||Ports||VLAN ID||       
     
    3030There seems to be no way of configuring the switch to be a DHCP client. The switch's IP address was statically set on native VLAN 1 (Network). The commands for this are [wiki:Documentation/OpenFlow/SwitchConfiguration here].
    3131 
    32 == Static VLAN Configuration ==
    33 Configuration of the CM VLAN (VLAN 3) is shown here.
    34  
    35  1. Create and name VLAN
    36 {{{
    37 (config)# vlan 3
    38 !(config-vlan)# name "CM"
    39 !(config-vlan)# exit
    40 }}}
    41 
    42  2. 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. 
    43 {{{
    44 !(config)# interface gi 0/1
    45 !(config-if)# switchport mode access
    46 !(config-if)# switchport acc vlan 3
    47 !(config)# interface gi 0/2
    48 !(config-if)# switchport mode access
    49 !(config-if)# switchport acc vlan 3
    50 !(config)# interface gi 0/3
    51 !(config-if)# switchport mode access
    52 !(config-if)# switchport acc vlan 3
    53 !(config)# interface gi 0/4
    54 !(config-if)# switchport mode access
    55 !(config-if)# switchport acc vlan 3
    56 }}}
    57  
    58  3. After repeating steps 1 and 2 for the Control and Data VLANs, configure the trunk ports:
    59 {{{
    60 !(config-if)# interface gi 0/45
    61 !(config-if)# switchport mode trunk
    62 !(config-if)# switchport trunk allowed vlan 3,27,28
    63 !(config-if)# interface gi 0/46
    64 !(config-if)# switchport mode trunk
    65 !(config-if)# switchport trunk allowed vlan 3,27,28
    66 !(config-if)# interface gi 0/47
    67 !(config-if)# switchport mode trunk
    68 !(config-if)# switchport trunk allowed vlan 3,27,28
    69 !(config-if)# interface gi 0/48
    70 !(config-if)# switchport mode trunk
    71 !(config-if)# switchport trunk allowed vlan 3,27,28
    72 !(config-if)# exit
    73 !(config)# save
    74 (config)# exit
    75 }}}
    76 
    77 The native VLAN was set up later on -- look [wiki:Documentation/OpenFlow/SwitchConfiguration here] for native VLAN configuration.
    78 
    7932== Setup ==
    8033A 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. 
     
    8639
    8740Eth1 should be down because it compromises the routing table.   
     41
    8842 
    8943