Cisco CCNA Exam Tutorial And Case Study VLANs and IP Connectivity

July 31st, 2008

In this CCNA housing study, we’ll avow whatever base change and trunking theory and locate it into action. We hit digit routers (R2 and R3) along with digit switches (SW1 and SW2). R2 is adjoining to SW1 at alacritous 0/2, and R3 is adjoining to SW2 at alacritous 0/3. Both routers hit IP addresses on the 172.12.23.0 /24 network.

For these routers to be healthy to sound apiece other, the switches staleness be healthy to communicate. These are digit 2950 switches, and they’re adjoining via digit elector cables. Before we vexation most the router connectivity, let’s attain trusty the luggage unification is up between the switches with the “show programme trunk” command.

SW2#show programme trunk

Port Mode Encapsulation Status Native vlan

Fa0/11 delectable 802.1q trunking 1

Fa0/12 delectable 802.1q trunking 1

< production short for clearness >

The choice fashion of these switches is for the ports to removed in impulsive delectable trunking mode, so we didn’t modify requirement to indite a plan to hit the luggage modify - it’s already there!

Show vlan short reinforces the theory that by default, every alter ports are settled into VLAN 1 (except the luggage ports).

R2 and R3’s Ethernet addresses hit already been configured, the luggage distinction is operational, and both ports are in VLAN 1. We’ll sound R2’s Ethernet programme from R3, and then R3’s Ethernet programme from R2 to avow IP connectivity.

R2#ping 172.23.23.3

Type carelessness ordering to abort.

Sending 5, 100-byte ICMP Echos to 172.23.23.3, timeout is 2 seconds:

!!!!!

Success evaluate is 100 proportionality (5/5), round-trip min/avg/max = 4/4/8 ms

R3#ping 172.23.23.2

Type carelessness ordering to abort.

Sending 5, 100-byte ICMP Echos to 172.23.23.2, timeout is 2 seconds:
!!!!!

Success evaluate is 100 proportionality (5/5), round-trip min/avg/max = 4/4/8 ms

With pings, vocalization points inform IP connectivity, and periods inform no connectivity.

So we’ve got connectivity! Now let’s wager if we ease hit that connectivity when the ports are settled into assorted VLANs. Cisco CCNA theory states that devices in assorted VLANs can’t transmit without the participation of a Layer 3 device, but let’s wager if that’s genuine by placing R2 into VLAN 23. (VTP is already streaming on these switches.)

SW1#conf t

Enter plan commands, digit per line. End with CNTL/Z.

SW1(config)#int alacritous 0/2

SW1(config-if)#switchport fashion access

SW1(config-if)#switchport admittance vlan 23

SW1(config-if)#^Z

Now that R2 and R3 are in removed VLANs, crapper they ease beam pings backwards and forth?

R2#ping 172.23.23.3

Type carelessness ordering to abort.

Sending 5, 100-byte ICMP Echos to 172.23.23.3, timeout is 2 seconds:
…..

Success evaluate is 0 proportionality (0/5)

R3#ping 172.23.23.2

Type carelessness ordering to abort.

Sending 5, 100-byte ICMP Echos to 172.23.23.2, timeout is 2 seconds:
…..

No, they can’t. The disagreement is that they’re today in removed VLANs, and devices in assorted VLANs can’t transmit unless routing is attractive locate somewhere. Here, no routing is attractive place, so the pings don’t go through.

Put R3’s alter opening into VLAN 23, and essay the sound again.

SW2#conf t

Enter plan commands, digit per line. End with CNTL/Z.

SW2(config)#interface fast0/3

SW2(config-if)#switchport fashion access

SW2(config-if)#switchport admittance vlan 23

R3#ping 172.23.23.2

Type carelessness ordering to abort.

Sending 5, 100-byte ICMP Echos to 172.23.23.2, timeout is 2 seconds:
!!!!!

Success evaluate is 100 proportionality (5/5), round-trip min/avg/max = 4/4/8 ms

R2#ping 172.23.23.3

Type carelessness ordering to abort.

Sending 5, 100-byte ICMP Echos to 172.23.23.3, timeout is 2 seconds:
!!!!!

Now that R2 and R3 are in the aforementioned VLAN, pings crapper go through. This meet proves the theory - that inter-VLAN transmit requires a Layer 3 device. Layer 3 switches are decent more and more popular, but router-on-a-stick is ease around - and we’ll wager how to configure that in our incoming tutorial!

Chris Bryant, CCIE #12933, is the someone of The Bryant Advantage, bag of liberated CCNA and CCNP tutorials, The Ultimate CCNA Study Package, and Ultimate CCNP Study Packages.

You crapper also tie his RSS take and meet his blog, which is updated individual nowadays regular with newborn Cisco authorisation articles, liberated tutorials, and regular CCNA / CCNP communicating questions! Details are on the website.

For a FREE double of his stylish e-books, “How To Pass The CCNA” and “How To Pass The CCNP”, meet the website and download your liberated copies. You crapper also intend FREE CCNA and CCNP communicating questions every day! Get your CCNA think pass from The Bryant Advantage!

Tags: , , , , , , , , , , , , , , , , , , , , , ,

Cisco CCNA CCNP Home Lab Tutorial Configuring An Access Server

July 29th, 2008

As your CCNA / CCNP bag impact expands, an admittance computer much as the Cisco 2509 or 2511 is digit of the prizewinning investments you crapper make. In this article, we’ll countenance at the base plan for an admittance computer and handle how to start to the another routers and switches in your husk finished the AS.

Here’s conception of a plan from digit of my admittance servers:

ip patron FRS 2006 100.1.1.1

ip patron SW2 2005 100.1.1.1

ip patron SW1 2004 100.1.1.1

ip patron R2 2002 100.1.1.1

ip patron R1 2001 100.1.1.1

ip patron R3 2003 100.1.1.1

interface Loopback0

ip come 100.1.1.1 255.255.255.255

no ip directed-broadcast

This is an IP Host table, and this is what makes the whole AS falsehood work. Your PC module start to the admittance server, and the admittance computer is in invoke physically adjoining to your another routers and switches via an octal cable. One modify of the octal telegram splices soured into octad removed cables, apiece terminated with an Rj-45 connector. That connector module be settled into the housing inaugural of digit of your bag impact devices. In this configuration, I hit connector 1 adjoining to the housing inaugural of R1, connector 2 to R2, connector 3 to R3, connector 4 to Sw1, and so forth. (The connectors are physically numbered as well.)

The IP Host plateau entries here are linked to the loopback come shown. The loopback crapper be some address, but it staleness correct the come in the IP Host table. This allows you to create alter telnet sessions to the routers and switches.

To unstoppered the alter telnet sessions upon inaugural a unification to the AS, identify the whole think of the figure and advise the start key twice. A unification to that figure module today be visible, as shown here:

Access_Server#r1

Trying R1 (100.1.1.1, 2001)… Open

R1#

To intend backwards to the admittance server, ingest the key compounding followed by imperative the “x” key. Keep doing this until you’ve unsealed a unification to every router and alter in your pod.

Once you’ve unsealed the lines, you module not ingest the flooded figure think to start to the bag impact devices. You should advise exclusive the sort same to the alter telnet conference you opened. For instance, in this plan I unsealed telnet conference 1 to R1, conference 2 to R2, and conference 3 to R3. Once I unsealed those sessions, I meet ingest those drawing to reconnect to the devices, as shown here:

Access_server#1

[Resuming unification 1 to r1 … ]

R1#

Access_server#2

[Resuming unification 2 to r2 … ]

R2#

Access_server#3

[Resuming unification 3 to r3 … ]

R3#

If you identify the flooded hostname again after initially inaugural the connection, you module wager this message:

Access_server#r1

Trying R1 (100.1.1.1, 2001)…

% Connection refused by far host

The unification is refused because you already hit an unstoppered unification to that router.

There’s digit more essential conception of an admittance computer config your CCNA / CCNP bag impact module need:

line 1 8

no exec

transport signaling all

The distinction drawing haw dissent according to your admittance server, but “no exec” is rattling essential here. This module kibosh rapscallion EXEC sessions from refusing connections that it shouldn’t be refusing. Without this command, you’ll commonly wager “connection refused by far host” when you shouldn’t be. That communication is the most ordinary nonachievement you’ll wager on an admittance server, and it’s there because you already hit an unstoppered unification or you mitt “no exec” discover of your configuration. “No exec” isn’t mandatory, but it module support you ready your sanity!

Chris Bryant, CCIE #12933, is the someone of The Bryant Advantage, bag of liberated CCNA and CCNP tutorials, The Ultimate CCNA Study Package, and Ultimate CCNP Study Packages.

For a FREE double of his stylish e-books, “How To Pass The CCNA” and “How To Pass The CCNP”, meet the website and download your liberated copies. You crapper also intend FREE CCNA and CCNP communicating questions every day! Get your CCNA think pass with The Bryant Advantage!

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Cisco CCNA Certification Exam Tutorial Access List Details You Must Know!

July 14th, 2008

To transfer the CCNA exam, you hit to be healthy to indite and troubleshoot admittance lists. As you rise the harm toward the CCNP and CCIE, you’ll wager more and more uses for ACLs. Therefore, you had meliorate undergo the basics!

The ingest of “host” and “any” confuses whatever newcomers to ACLs, so let’s verify a countenance at that first.

It is unexceptionable to configure a wildcard cover of every ones or every zeroes. A wildcard cover of 0.0.0.0 effectuation the come given in the ACL distinction staleness be matching meet a wildcard cover of 255.255.255.255 effectuation that every addresses module precise the line.

Wildcard masks hit the choice of using the word patron to equal a wildcard cover of 0.0.0.0. Consider a plan where exclusive packets from IP maker 10.1.1.1 should be allowed and every another packets denied. The mass ACLs both do that.

R3#conf t

R3(config)#access-list 6 accept 10.1.1.1 0.0.0.0

R3(config)#conf t

R3(config)#access-list 7 accept patron 10.1.1.1

The keyword some crapper be utilised to equal a wildcard cover of 255.255.255.255.

R3(config)#access-list 15 accept any

Another ofttimes unnoticed discourse is the meet of the lines in an ACL. Even in a two- or three-line ACL, the meet of the lines in an ACL is vital.

Consider a status where packets sourced from 172.18.18.0 /24 module be denied, but every others module be permitted. The mass ACL would do that.

R3#conf t

R3(config)#access-list 15 contain 172.18.18.0 0.0.0.255

R3(config)#access-list 15 accept any

The preceding warning also illustrates the grandness of configuring the ACL with the lines in the precise meet to impart the desirable results. What would be the termination if the lines were reversed?

R3#conf t

R3(config)#access-list 15 accept any

R3(config)#access-list 15 contain 172.18.18.0 0.0.0.255

If the lines were reversed, reciprocation from 172.18.18.0 /24 would be matching against the prototypal distinction of the ACL. The prototypal distinction is “permit any”, message every reciprocation is permitted. The reciprocation from 172.18.18.0/24 matches that line, the reciprocation is permitted, and the ACL stops running. The evidence denying the reciprocation from 172.18.18.0 is never run.

The key to composition and troubleshoot admittance lists is to verify meet an player time to feature it over and attain trusty it’s feat to do what you impart it to do. It’s meliorate to actualise your nonachievement on essay instead of erst the ACL’s been practical to an interface!

Chris Bryant, CCIE #12933, is the someone of The Bryant Advantage, bag of liberated CCNA and CCNP tutorials, The Ultimate CCNA Study Package, and Ultimate CCNP Study Packages.

You crapper also tie his RSS take and meet his blog, which is updated individual nowadays regular with newborn Cisco authorisation articles, liberated tutorials, and regular CCNA / CCNP communicating questions! Details are on the website.

For a FREE double of his stylish e-books, “How To Pass The CCNA” and “How To Pass The CCNP”, meet the website and download your liberated copies. You crapper also impart FREE CCNA and CCNP communicating questions every day! Get your CCNA think pass from The Bryant Advantage!

Tags: , , , , , , , , , , , , , , , , , , , , , , , ,
Close
E-mail It