09.03.2013 Views

Brocade_IP_Primer_eBook

Brocade_IP_Primer_eBook

Brocade_IP_Primer_eBook

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 8: Virtual Local Area Network (VLAN)<br />

Now, any traffic that needs to flow from 172.18.1.0/24 to 172.22.2.0/24 (and<br />

vice versa) can travel through the router. The router has one interface<br />

(172.18.1.1) in the Accounting VLAN, and one interface (172.22.2.1) in the<br />

Marketing VLAN. Problem solved, right? Well, that is, until the CFO finds out<br />

you want to spend several thousand dollars to solve the problem. Now, it<br />

doesn't look so hot. Wouldn't it be great if you could somehow squeeze the<br />

power of the router into your already existing switches? You can see where I'm<br />

going with this, can't you?<br />

What makes a VLAN a Layer 3 VLAN? Two things, really. First, you must be running<br />

routing code (Base Layer 3 or Full Router). Second, you need to configure<br />

a router-interface. Think of the router-interface as the physical interface on the<br />

router we used in the previous example. This time, we'll configure it inside the<br />

fourth floor switch (after we install routing code on it, of course).<br />

Marketing<br />

172.22.2.0/24<br />

Console<br />

49F Link 50F<br />

1 3 5 7 9 11<br />

13 15 17 19 21 23<br />

25 27 29 31 33 35<br />

37 39 41 43 45 47<br />

Power<br />

1F 2F 3F 4F<br />

e1-2<br />

e1-2<br />

2 4 6 8 10 12<br />

14 16 18 20 22 24<br />

26 28 30 32 34 36<br />

38 40 42 44 46 48<br />

Console<br />

49F Link 50F<br />

1 3 5 7 9 11<br />

13 15 17 19 21 23<br />

25 27 29 31 33 35<br />

37 39 41 43 45 47<br />

Power<br />

1F 2F 3F 4F<br />

2 4 6 8 10 12<br />

14 16 18 20 22 24<br />

26 28 30 32 34 36<br />

38 40 42 44 46 48<br />

VLAN 20<br />

VLAN 10<br />

e12<br />

5th Floor Switch<br />

VLAN 20 VLAN 10<br />

ve 172.22.2.1/24 ve 172.18.1.1/24<br />

4th Floor Switch<br />

Accounting<br />

172.18.1.0/24<br />

To configure the router-interfaces, we first need to declare the routerinterfaces:<br />

BR-4thFloorSwitch#conf t<br />

BR-4thFloorSwitch(config)#vlan 10<br />

BR-4thFloorSwitch(config-vlan-10)#router-interface ve 10<br />

BR-4thFloorSwitch(config-vlan-10)#vlan 20<br />

BR-4thFloorSwitch(config-vlan-20)#router-interface ve 20<br />

When you declare a router-interface, you use a special interface type -- ve. It<br />

stands for virtual Ethernet. The interface you're creating doesn't physically<br />

exist. Think of it as an interface sitting behind the VLAN, yet inside the switch.<br />

186 <strong>Brocade</strong> <strong>IP</strong> <strong>Primer</strong><br />

CFO

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!