Changes between Version 13 and Version 14 of ORCAAndVLANs

Show
Ignore:
Timestamp:
06/07/10 10:28:59 (9 years ago)
Author:
ibaldin (IP: 152.54.9.131)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ORCAAndVLANs

    v13 v14  
    1 = ORCA and VLANs = 
     1= 6509 VLAN configuration notes = 
    22 
    3 {{{ 
    4 NOTE: THIS ASSUMES THAT LIBVIRTD IS DISABLED in DOM0 
    5 }}} 
     3== Trunk port configuration == 
    64 
    7 Creation of slices in ORCA consisting of edge VMs connected by VLANs should consist of the following steps 
    8  
    9  1. Pick new VLAN tag IDs (say it is 505) 
    10  2. Select nodes on which VMs will reside 
    11  1. Access routers/switches on the path and configure the path for the VLAN. Assume links between network equipment and nodes are trunked. 
    125{{{ 
    136Vlan Declaration: 
     
    53466509-Renci(config)#exit 
    5447}}} 
    55  3. Create bridges in each node for this slice  
     48 
     49== Access port configuration == 
     50 
     51{{{ 
     52The following snippet should work if I understand correctly. It applies access vlan 1234 to GigE ports 1-48 in slot 2. Prior, you will need to declare the vlan by entering 'vlan1234' in config t. name is optional. Then, define vlan '1234' (and add an ip if necessary). 
     53 
     546509-Renci(config)#vlan 1234 
     556509-Renci(config-vlan)#name RangeTest 
     56 
     576509-Renci(config)#interface vlan 1234 
     586509-Renci(config-if)#no shut 
     59 
     606509-Renci(config)#interface range gigabitEthernet 2/1 - 48 
     616509-Renci(config-if-range)#switchport 
     626509-Renci(config-if-range)#switchport mode access 
     636509-Renci(config-if-range)#switchport access vlan 1234 
     64}}} 
     65 
     66== End-host configuration == 
     67 
     681. Create a bridge 
    5669{{{ 
    5770> brctl addbr bridge-for-slice1 
    5871}}} 
    59  4. Create tagged interfaces in each node for the VLAN in this slice 
     722. Create tagged interfaces in each node for the VLAN in this slice 
    6073{{{ 
    6174> vconfig add eth0 505 
    6275> ifconfig eth0.505 up 
    6376}}} 
    64  5. Attach VLAN interface to the bridge  
     773. Attach VLAN interface to the bridge  
    6578{{{ 
    6679> brctl addif bridge-for-slice1 eth0.505 
    6780}}} 
    68  1. Enable slice bridge 
     814. Enable slice bridge 
    6982{{{ 
    7083> ifconfig bridge-for-slice1 up 
    7184}}} 
    72  6. Create appropriate configurations for VMs  
     855. Create appropriate configurations for VMs  
    7386  * Data interface should have 'bridge=bridge-for-slice1' option set, to make sure that vif#.# for the data interface in the VM gets attached to the bridge 
    74  7. Create VMs 
    75  8. Assign IP addresses to the data interfaces in the VM 
    76  9. Test 
    77  10. Removal is opposite: 
     876. Create VMs 
     887. Assign IP addresses to the data interfaces in the VM 
     898. Test 
     909. Removal is opposite: 
    7891{{{ 
    7992xm destroy vm-name