12.07.2015 Views

BROCADE IP PRIMER

BROCADE IP PRIMER

BROCADE IP PRIMER

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Console49F Link 50F1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47Power1F 2F 3F 4F2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 4849F Link 50FPowerConsole1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 471F 2F 3F 4F2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 4849F Link 50FPowerConsole1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 471F 2F 3F 4F2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48The Routing TableHow was that again? I typed ip route followed by the destination network andsubnet mask (172.18.0.0 255.255.0.0), and lastly, I added the gatewayaddress, or the router that knows how to get to that network. In this case,192.168.1.2 is the address of Switch B (the link that directly connects toSwitch A). Why did I use Switch B? Why not Switch C? Switch C is the one connectedto 172.18.0.0/16. Shouldn't I have used 192.168.2.1 as my gatewayinstead? Ask yourself this, does Switch A know how to get to 192.168.2.0/30?Go ahead. Look back at the show ip route statement a few pages back. It's notin there, is it? Switch A doesn't know how to get to 192.168.2.0/30, so if weused 192.168.2.1 as our gateway address, the route still wouldn't work.Let's see Switch A's new routing table:BR-SwitchA#show ip routeTotal number of <strong>IP</strong> routes: 3Start index: 1 B:BGP D:Connected R:R<strong>IP</strong> S:Static O:OSPF*:Candidate defaultDestination NetMask Gateway Port Cost Type1 192.168.1.0 255.255.255.252 0.0.0.0 1 1 D2 172.16.0.0 255.255.0.0 0.0.0.0 v10 1 D3 172.18.0.0 255.255.0.0 192.168.1.2 1 1 SLook at that! We have a new route. It's the route we added for the 172.18.0.0/16 network. And notice that it has a gateway address (192.168.1.2), instead ofbeing 0.0.0.0. Also notice its type. It's “S” for “Static.” It's a static route.We used Switch B. We told Switch A, “Hey, if anyone wants to get to the172.18.0.0/16 network, send it to my good friend Switch B at 192.168.1.2.”Does Switch A know how to get to 192.168.1.0/30? Sure. It's a directly connectedroute. Switch A has the address 192.168.1.1. Are we finished? CanHost A talk to Host C yet?Switch Ae1192.168.1.1/30ve 10172.16.0.1/24To Switch Ce1192.168.1.2/30?Switch Bve 20172.17.0.1/24e2192.168.2.2/30e1192.168.2.1/30Switch Cve 30172.18.0.1/24Host A172.16.0.10/24Host B172.17.0.10/24Host C172.18.0.10/24Brocade <strong>IP</strong> Primer 223

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

Saved successfully!

Ooh no, something went wrong!