Cisco CCNA Certification Exam Tutorial DNS And The IP Name-Server Command

July 23rd, 2008

DNS behaviors of a Cisco router are essential topics for both the CCNA communicating and real-world creation networks, and you belike didn’t undergo there were so some DNS info before you began studying for the exam! In this tutorial, we’ll countenance at the ip name-server bidding and its comely usage.

When a bidding is mistyped on a Cisco router, the choice activity of the router is to endeavor to hold it via DNS. First, the router looks for an IP Host plateau on the topical router to action this partitioning - that’s what the “translating” word in the production is referring to. If there’s no IP Host plateau or the IP Host plateau doesn’t include an entry for what you typed, the router module beam a programme in an endeavor to hold this think finished a far DNS server. To preclude this broadcast, start the orbicular bidding no ip domain-lookup. Of course, to ingest DNS to hold hostnames, ip domain-lookup would hit to be reenabled if it’s been overturned off.

R2#contin

Translating “contin”…domain machine (255.255.255.255)

% Unknown bidding or machine name, or unable to encounter machine address

A bidding is mistyped as “contin”. The Cisco router’s choice activity is to hold this entry locally via an IP Host table, which isn’t inform on the router. A programme is then dispatched discover to encounter a DNS machine to action the think resolution. The DNS operation endeavor staleness instance discover before the plan crapper continue.

R2#conf t

R2(config)#no ip domain-lookup

R2#contin

Translating “contin”

% Unknown bidding or machine name, or unable to encounter machine address

With “no ip domain-lookup” configured, the router doesn’t endeavor to encounter a far DNS server. It sees there is no topical partitioning organized and nearly directly sends a communication to the housing that the think can’t be resolved.

R2#conf t

R2(config)#ip domain-lookup

R2(config)#ip name-server 10.1.1.1

R2#contin

Translating “contin”…domain machine (10.1.1.1)

A DNS machine is installed on the meshwork with the IP come 10.1.1.1. DNS operation is reenabled with the bidding ip domain-lookup, and the IP come of the DNS machine is given with the ip name-server command.
It’s meet that cushy to verify a Cisco router just where the DNS machine is!

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 Certification Exam Tutorial Distance Vector Command Review

June 9th, 2008

Part of studying for CCNA communicating success is ownership every these newborn commands straightforward in your head! And let’s grappling it, there are a aggregation of commands you requirement to undergo in meet to transfer the CCNA communicating and acquire that certification. Here’s a analyse of whatever rattling essential indifference agent and noise routing commands you requirement to know, along with their comely practice and housing output.
Bandwidth

R2#conf t

R2(config)#int s0

R2(config-if)#bandwidth 512

IGRP makes a choice hypothesis that some Serial programme streaming IGRP is adjoining to a T1 line, which runs at 1544 KBPS. With equal-cost load-balancing enabled by default, this haw be an unwanted assumption.

To edit IGRP’s assumption, ingest the bandwidth bidding on the program programme in question. Note that this bidding does NOT actually change the bandwidth acquirable to the interface; it but changes IGRP’s hypothesis of the bandwidth.

Clear ip line *

R2#clear ip line *

This bidding clears your routing plateau of every non-static and non-connected routes. In a work environment, it’s rattling accessible because it forces your routers streaming routing protocols to beam and letter updates, kinda than inactivity for the regularly regular updates.

Debug ip igrp events

R2#debug ip igrp event

IGRP circumstance debugging is on

R2#clear ip line *

06:02:51: IGRP: medium letter on BRI0

06:02:51: IGRP: medium letter on Serial0.123

Debug ip igrp events allows you to wager IGRP updates existence dispatched and requested. Here, the debug is separate and then the routing plateau is cleared. The router directly broadcasts update requests via the IGRP-enabled interfaces.

Debug ip igrp transactions

R2#debug ip igrp transactions

IGRP prescript debugging is on

R2#clear ip line *

06:05:33: IGRP: conventional update from 172.12.123.1 on Serial0.123

06:05:33: subnet 172.12.123.0, amount 10476 (neighbor 8476)

06:05:33: meshwork 1.0.0.0, amount 8976 (neighbor 501)

06:05:33: IGRP: edition is today 3

06:05:33: IGRP: sending update to 255.255.255.255 via BRI0 (172.12.12.2)

06:05:33: meshwork 1.0.0.0, metric=8976

06:05:33: IGRP: sending update to 255.255.255.255 via Serial0.123 (172.12.123.2) - suppressing invalid update

06:05:34: IGRP: conventional update from 172.12.12.1 on BRI0

06:05:34: subnet 172.12.13.0, amount 160250 (neighbor 8476)

06:05:34: meshwork 1.0.0.0, amount 158750 (neighbor 501)

To configure IGRP unequal-cost load-sharing with the dissension command, you’ve got to undergo the amount of the less-desirable routes. EIGRP keeps these in its constellation table; IGRP has no much table.

To intend the poetics of routes not in the routing table, separate debug ip igrp transactions. To obligate IGRP updates, the routing plateau was unwooded with country ip line *.

Debug ip packet

R2#debug ip packet

IP boat debugging is on

R2#ping 172.12.123.2

Type carelessness ordering to abort.

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

06:10:04: IP: s=172.12.12.2 (local), d=172.12.123.2, len 100, unroutable.

06:10:06: IP: s=172.12.12.2 (local), d=172.12.123.2, len 100, unroutable.

06:10:08: IP: s=172.12.12.2 (local), d=172.12.123.2, len 100, unroutable.

06:10:10: IP: s=172.12.12.2 (local), d=172.12.123.2, len 100, unroutable.

06:10:12: IP: s=172.12.12.2 (local), d=172.12.123.2, len 100, unroutable.

Success evaluate is 0 proportionality (0/5)

If you hit a difficulty sending a ping, this bidding module provide you a beatific intent where the difficulty is. Here, the communication indicates that there is no line to the destination.

Debug ip rip

2#debug ip rip

IP prescript debugging is on

2#clear ip line *

6:14:53: RIP: conventional v2 update from 172.23.23.3 on Ethernet0

6:14:53: 1.0.0.0/8 via 0.0.0.0 in 16 vine (inaccessible)

6:14:53: 1.1.1.1/32 via 0.0.0.0 in 2 hops

6:14:53: 172.12.0.0/16 via 0.0.0.0 in 16 vine (inaccessible)

6:14:53: 172.12.12.2/32 via 0.0.0.0 in 2 hops

6:14:53: 172.12.13.0/30 via 0.0.0.0 in 1 hops

6:14:53: 172.12.123.0/24 via 0.0.0.0 in 1 hops

6:14:53: 172.23.0.0/16 via 0.0.0.0 in 16 vine (inaccessible)

Run debug ip countercurrent to troubleshoot routing update problems, RIP marker problems, and to analyse the routing update contents. Clear ip line * was separate to country the routing plateau and to obligate a RIP update. Note that modify alter is in operation. (A line that is unobtainable is not meet dropped from updates; it is advertised with an inaccessible metric.)

Ip line
R2#conf t

R2(config)#ip line 1.1.1.1 255.255.255.255 172.12.123.1

OR

R2(config)#ip line 1.1.1.1 255.255.255.255 serial0

To configure a noise line to a presented instruction IP address, ingest the ip line command. The instruction is followed by a subnet mask, and that crapper be followed by either the next-hop IP come or the opening programme on the topical router.

Ip line 0.0.0.0 0.0.0.0

R2#conf t

R2(config)#ip line 0.0.0.0 0.0.0.0 172.12.123.1

OR

R2(config)#ip line 0.0.0.0 0.0.0.0 ethernet0

To configure a choice noise route, ingest either of these digit commands.

You could hit some sort for the prototypal “0.0.0.0″, since the ordinal ordered of zeroes is the subnet mask. This effectuation that some instruction module correct this line statement.

That’s a beatific analyse to intend started with! I’ll be backwards tomorrow with Part II of this CCNA communicating bidding review!

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: , , , , , , , , , , , , , , , , , , , , , ,

Passing Cisco’s CCNA and CCNP Exams Traceroute

June 1st, 2008

In activity for your CCNA and CCNP communicating success, you’ve got to see to troubleshoot Cisco routers. And patch sound is a enthusiastic base IP connectivity tool, it doesn’t provide you every the aggregation you requirement to study meshwork connectivity issues.

Let’s feature you impact sextet routers between CityA and CityB. You beam a sound from A to B, and intend this return:

R1#ping 172.1.1.1

Type carelessness ordering to abort.

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

…..

Success evaluate is 0 proportionality (0/5)

The fivesome periods inform that there is no IP connectivity to CityB. Problem is, that’s most every sound tells you. You crapper impact 5 or 50 routers between the digit points, so how crapper you verify which downstream router has the problem?

That’s where traceroute comes in. Traceroute sends threesome datagrams with a Time To Live (TTL) of 1. Those datagrams module timeout erst they impact the prototypal router in the path, and that router module move with an ICMP Time Exceeded message.

In response, the sending router sends threesome more datagrams, but these impact a TTL of 2. This effectuation that the incoming router in distinction module beam backwards ICMP Time Exceeded messages. This impact continues until the test instruction (CItyB) is reached the production of the bidding shows us the distinction the accumulation took:

Router1#traceroute 271.1.1.1

Type carelessness ordering to abort.

Tracing the distinction to 271.1.1.1

1 20.1.1.1 4 msec 4 msec 4 msec

2 30.1.1.1 20 msec 16 msec 16 msec

3 271.1.1.1 16 msec * 16 msec

How does this support troubleshoot a problem? Let’s feature that the ordinal router in this path, 30.1.1.1, doesn’t undergo how to intend to 271.1.1.1. The production would countenance same this:

Router1#traceroute 271.1.1.1

Type carelessness ordering to abort.

Tracing the distinction to 271.1.1.1

1 20.1.1.1 4 msec 4 msec 4 msec

2 30.1.1.1 20 msec 16 msec 16 msec

3 * * *

This indicates that the router at 30.1.1.1 doesn’t undergo how to intend to the test destination. Now you impact a meliorate intent of which router has an issue!

Now here’s the intense part: you’re feat to intend 30 lines of threesome asterisks, and until you abort this traceroute, you’re feat to meet check those asterisks go crossways the screen. There’s an abort ordering that the router mentions in the prototypal distinction of the housing output, but the router doesn’t verify you what it is! So I module - this top-secret ordering is TWICE, digit correct after the other.

That keystroke takes a lowercase effort utilised to, but a CCNA or CCNP crapper do it! Add this bidding to your Cisco power set, and it module help you substantially both on the CCNA and CCNP exams and your real-world networks. And you’ll affect your friends by lettered how to kibosh a traceroute!

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! Pass the CCNA communicating with The Bryant Advantage!

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