Configuration Guide User guide

778 FastIron Configuration Guide
53-1002494-02
Routing between VLANs using virtual routing interfaces (Layer 3 switches only)
Configuring Layer 3 VLANs and virtual routing interfaces on the FESX-A
Enter the following commands to configure FESX-A. The following commands enable OSPF or RIP
routing.
Brocade>en
No password has been assigned yet...
Brocade# configure terminal
Brocade(config)# hostname FESX-A
Brocade-A(config)# router ospf
Brocade-A(config-ospf-router)# area 0.0.0.0 normal
Please save configuration to flash and reboot.
Brocade-A(config-ospf-router)#
The following commands create the port-based VLAN 2. In the previous example, an external FESX
defined the router interfaces for VLAN 2. With ISR, routing for VLAN 2 is done locally within each
FESX. Therefore, there are two ways you can solve this problem. One way is to create a unique IP
subnet and IPX network VLAN, each with its own virtual routing interface and unique IP or IPX
address within VLAN 2 on each FESX. In this example, this is the configuration used for VLAN 3. The
second way is to split VLAN 2 into two separate port-based VLANs and create a virtual router
interface within each port-based VLAN. Later in this example, this second option is used to create a
port-based VLAN 8 to show that there are multiple ways to accomplish the same task with ISR.
You also need to create the Other-Protocol VLAN within port-based VLAN 2 and 8 to prevent
unwanted protocols from being Layer 2 switched within port-based VLAN 2 or 8. Note that the only
port-based VLAN that requires STP in this example is VLAN 4. You will need to configure the rest of
the network to prevent the need to run STP.
Brocade-A(config-ospf-router)# vlan 2 name IP-Subnet_1.1.2.0/24
Brocade-A(config-vlan-2)# untagged ethernet 1 to 4
Brocade-A(config-vlan-2)# no spanning-tree
Brocade-A(config-vlan-2)# router-interface ve1
Brocade-A(config-vlan-2)# other-proto name block_other_protocols
Brocade-A(config-vlan-other-proto)# no dynamic
Brocade-A(config-vlan-other-proto)# exclude ethernet 1 to 4
Once you have defined the port-based VLAN and created the virtual routing interface, you need to
configure the virtual routing interface just as you would configure a physical interface.
Brocade-A(config-vlan-other-proto)# interface ve1
Brocade-A(config-vif-1)# ip address 1.1.2.1/24
Brocade-A(config-vif-1)# ip ospf area 0.0.0.0
Do the same thing for VLAN 8.
Brocade-A(config-vif-1)# vlan 8 name IPX_Network2
Brocade-A(config-vlan-8)# untagged ethernet 5 to 8
Brocade-A(config-vlan-8)# no spanning-tree
Brocade-A(config-vlan-8)# router-interface ve 2
Brocade-A(config-vlan-8)# ipx-network 2 ethernet_802.3
Brocade-A(config-vlan-8)# other-proto name block-other-protocols
Brocade-A(config-vlan-other-proto)# no dynamic
Brocade-A(config-vlan-other-proto)# exclude ethernet 5 to 8
Brocade-A(config-vlan-other-proto)# interface ve2
Brocade-A(config-vif-1)# ip address 1.1.2.2/24
Brocade-A(config-vif-1)# ip ospf area 0.0.0.0