Design & Build

How To: Inter-VLAN Routing in Brocade FastIron Products

by brcd-campus.expert on ‎11-05-2011 06:23 AM (5,313 Views)

BRCD-ENTERPRISE 2309

Introduction

Since the switch is a Layer 2 device, it cannot forward frames between VLAN. To allow communication between VLANs, you need a Layer 3 device as shown in the network diagram in Figure 1. To allow Inter-VLAN routing, a router is used to forward frames between VLANs.

Before You Begin

Components Used
  • FastIron FCX that runs FCXR07100a.bin (Router)
  • FastIron FCX that runs FCXS07100a.bin (Switch)
Figure 1: Network Diagram for Inter-VLAN Setup

2309.jpg

Configuration

The configuration described below is based on the network diagram for Inter-VLAN setup shown in Figure 1.

  • Router (Inter-VLAN)

!

vlan 10 name user_vlan10 by port

tagged ethe 1/1/10 router-interface ve 10!

vlan 20 name user_vlan20 by port

tagged ethe 1/1/10 router-interface ve 20!
vlan 30 name user_vlan30 by port
tagged ethe 1/1/10 router-interface ve 30!
ip route 0.0.0.0 0.0.0.0 172.27.10.1
!
interface ethernet 1/1/20
ip address 172.27.10.2 255.255.255.0
!interface ve 10 ip address 192.168.10.1 255.255.255.0
!interface ve 20 ip address 192.168.20.1 255.255.255.0
!interface ve 30 ip address 192.168.30.1 255.255.255.0 !
  • Switch

!vlan 10 name user_vlan10 by port

tagged ethe 1/1/10

untagged ethe 1/1/1!

vlan 20 name user_vlan20 by port

tagged ethe 1/1/10

untagged ethe 1/1/2!

vlan 30 name user_vlan30 by port

tagged ethe 1/1/10

untagged ethe 1/1/3!

Verify

As soon as you create the router-interfaces and apply an IP address on it, a new route will be added to your routing table as shown below.

FastIron# show ip route

Total number of IP routes: 5 avail: 11997 (out of max 12000)

B:BGP D:Connected R:RIP S:Static O:OSPF

*:Candidate default

Destination NetMask Gateway Port Cost Type

*0.0.0.0 0.0.0.0 172.27.10.1 1/1/20 1 S

1 172.27.10.0 255.255.255.252 172.27.10.1 1/1/20 1 D

2 192.168.10.0 255.255.255.0 0.0.0.0 v10 1 D3

192.168.20.0 255.255.255.0 0.0.0.0 v20 1 D

4 192.168.30.0 255.255.255.0 0.0.0.0 v30 1 D

Check Point

Ensure the device is connected to the Internet and has a route to each of your internal subnets.

For complete configuration of the Brocade Products, visit www.brocade.com.

Some, but not all of the content in this site provided, reviewed, approved or endorsed by Brocade and is provided solely as a convenience of our customers. All postings and use of the content on this site are subject to the BROCADE EXTRANET TERMS AND CONDITIONS OF USE of the site. BROCADE ASSUMES NO LIABIITY WHATSOEVER, MAKES NO REPRESENTATION AND DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO THE CONTENT PROVIDED HEREIN, INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, CORRECTNESS, APPROPRIATENESS OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED EXPECT AS PROVIDED IN BROCADE’S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, THIRD PARTIES USE THIS CONTENT AT THEIR OWN RISK. Content on this site may contain or be subject to specific guidelines or limitation on use. Third parties using this content agree to abide by any limitation or guidelines and to comply with the BROCADE EXTRANET TERMS AND CONDITIONS OF USE of this site. Brocade may make changes to this content, to specifications, or product design or descriptions at any time, or may remove content at its sole discretion without notice.