ExamNotes.net  -  IT certification portal

ForumsCertResearchTop sitesNewslettersFree email
HomeRegister
Exams Notes
Practice exams
Exam games
Questions by email
Online training
Training videos
College degrees
Boot camps
Book store
Links directory
Tell a friend
For webmasters

CompTIA Exam Vouchers
Save money on CompTIA exams
Question of the day
Sign up to receive
interactive practice questions
for MCSE, CompTIA
Cisco and other exams
TestKing
Get MCSE, MCSD, CCNA, CCNP,A+, N+ and many more

* ExamSheets *
Guide for Success!
Actual Questions & Answers
MCSE, MCSD, A+ ,CCNA, CCNP
Oracle 8i, Oracle 9i

Online practice tests

Certification sites

Online university

Online college

Online education

Distance learning

Software forum

Server administration forum

Programming resources






This is interesting: Free IT Magazines | Databases help forum



Cisco > CCNA > ip classless

Show a Printable Version
Email This Page to Someone!
Receive updates to this thread




Featured site:  Online CCNA practice exams from Cert21.com



Pages (2): [1] 2 »

Author ip classless
albertomax1
Junior Member




Registered: Sep 2000
Location: Brooklyn, NY
Country:
State:
Certifications:
Working on:

Total Posts: 9
Question

Can someone please explain what this command

does. I understand when to use it >> when

when using default routes << but don,t

understand why.

Report this post to a moderator

Old Post 11-23-00 06:07 PM
albertomax1 is offline Click Here to See the Profile for albertomax1 Click here to Send albertomax1 a Private Message Add albertomax1 to your buddy list Find more posts by albertomax1 Reply w/Quote Edit/Delete Message IP: Logged
MadChef
A Huge Fake




Registered: Sep 2000
Location:
Country: USA
State:
Certifications:
Working on: A Sex Farm

Total Posts: 1426
Post

This comes from "Enhaned IP Services for Cisco Networks" by Donald C. Lee, published by Cisco Press. This books rocks. I've found the chapters on managing routing protocols and the section on leveraging default routing to be invaluable. It's how I learned to address this very same question. Since he describes it much better than I can, I'll quote:
"As a classful router, RouterA checks for a direct connection to the major net befor it forwards a packet. If the packet is destined to a directly connected major net (called a local domain), the router ignores the default route and looks in its routing table for a route to the destination. If a route does not exist, the packet is dropped."

I can't recommend this book highly enough.

MadChef

Report this post to a moderator

Old Post 11-23-00 06:26 PM
MadChef is offline Click Here to See the Profile for MadChef Click here to Send MadChef a Private Message Add MadChef to your buddy list Find more posts by MadChef Reply w/Quote Edit/Delete Message IP: Logged
jusccna
Junior Member




Registered: Nov 2000
Location: HK
Country:
State:
Certifications:
Working on:

Total Posts: 7
Post

Pardon me, i still don't understand what that means. Can someone explain with an example.

Thanks.

jusccna,
with no IT exp.

Report this post to a moderator

Old Post 11-23-00 07:56 PM
jusccna is offline Click Here to See the Profile for jusccna Click here to Send jusccna a Private Message Add jusccna to your buddy list Find more posts by jusccna Reply w/Quote Edit/Delete Message IP: Logged
MadChef
A Huge Fake




Registered: Sep 2000
Location:
Country: USA
State:
Certifications:
Working on: A Sex Farm

Total Posts: 1426
Post

Your router has an interface on the 172.16.0.0 major network. It has routes to the following networks via IGRP:
172.16.1.0 /24
172.16.2.0 /24
172.16.3.0 /24
It has a default route to 172.16.1.1.
If the router gets a packet destined for 172.16.7.3, it will recognize that it has interfaces on that major net (172.16.0.0) and will start looking for the next hop in it's routing table; it will not consider the default route at all. This is the nature of classful routing. It will not find a route to this network so it will drop the packets.
'ip classless' makes the router consider the default gateway EVEN THOUGH it has an interface on the 172.16.0.0 major net. The router won't find a route to 172.16.7.0 /24 network so it will send the traffic on the its default gateway and hopefully the traffic will eventually get to the host.

Is that any better?

MadChef

Report this post to a moderator

Old Post 11-24-00 07:12 AM
MadChef is offline Click Here to See the Profile for MadChef Click here to Send MadChef a Private Message Add MadChef to your buddy list Find more posts by MadChef Reply w/Quote Edit/Delete Message IP: Logged
dmaftei
Senior Member
M




Registered: Nov 2000
Location:
Country: USA
State:
Certifications: none
Working on: none

Total Posts: 2156
Post

Here's what www.cisco.com says about "ip classless":

quote:

This command allows the software to forward packets that are destined for unrecognized subnets of directly connected networks. The packets are forwarded to the best supernet route.

When this feature is disabled, the software discards the packets when a router receives packets for a subnet that numerically falls within its subnetwork addressing scheme, if there is no such subnet number in the routing table and there is no network default route.



This is what I understand (refer to MadChef's example):
1. "ip classless" enabled. According to the first paragraph above, a packet for 172.16.7.3 will be forwarded on the interface that has the major net assigned to it.
2. "ip classless" disabled. According to the second paragraph above, a packet for 172.16.7.3 will be forwarded to 172.16.1.1 (takes the default route).
3. "ip classless" disabled AND the default route removed from MadChef's example. According to the second paragraph, a packet for 172.16.7.3 will be dropped (no 172.16.3.0/24 in the routing table and no default route).

MadChef, any thoughts about this?!


------------------
WARNING: I do my best to provide acurate information, but I've been wrong before...
If you take my word for granted, you do so at your own risk! You better double check!

Report this post to a moderator

Old Post 11-24-00 11:46 AM
dmaftei is offline Click Here to See the Profile for dmaftei Click here to Send dmaftei a Private Message Add dmaftei to your buddy list Find more posts by dmaftei Reply w/Quote Edit/Delete Message IP: Logged
MadChef
A Huge Fake




Registered: Sep 2000
Location:
Country: USA
State:
Certifications:
Working on: A Sex Farm

Total Posts: 1426
Post

When they say network default route, I think they mean a route configured like
ip route 172.16.0.0 255.255.0.0 172.16.1.1
That's a way to get around using ip classless.
1) Only if that network happens be in the direction of the default gateway. Otherwise what would happen if you had multiple interfaces belonging to the same major net?
2) With "no ip classless", the packets would be dropped UNLESS you had also configured a route pointing to the major net. This would give you a network default route and would forward packets correctly.
3) Yes, it would definately be dropped unless you used the configuration above.

I _think_ I'm right about this. Someone could test it out if they felt particularly intersted.

MadChef

Report this post to a moderator

Old Post 11-25-00 04:09 AM
MadChef is offline Click Here to See the Profile for MadChef Click here to Send MadChef a Private Message Add MadChef to your buddy list Find more posts by MadChef Reply w/Quote Edit/Delete Message IP: Logged
MadChef
A Huge Fake




Registered: Sep 2000
Location:
Country: USA
State:
Certifications:
Working on: A Sex Farm

Total Posts: 1426
Post

A couple of other threads made me think that you could create a candidate default route with the ip default-network command that would allow a router to forward packets to another network in its major net without the ip classless command. Perhaps that's more of what they meant by network default route.
Sorry, I very rarely deal with classful routing protocols so I'm probably more than a bit rusty.

MadChef

Report this post to a moderator

Old Post 11-26-00 03:43 AM
MadChef is offline Click Here to See the Profile for MadChef Click here to Send MadChef a Private Message Add MadChef to your buddy list Find more posts by MadChef Reply w/Quote Edit/Delete Message IP: Logged
haubest
Senior Member




Registered: Nov 2000
Location: North Hills, CA, USA
Country:
State:
Certifications:
Working on:

Total Posts: 182
Post

Everytime I visit this site I find a new term. What is a "major network" vs "minor network?". What, can't buy an address or hardware address. Some humor.

Report this post to a moderator

Old Post 11-26-00 10:40 AM
haubest is offline Click Here to See the Profile for haubest Click here to Send haubest a Private Message Add haubest to your buddy list Find more posts by haubest Reply w/Quote Edit/Delete Message IP: Logged
dmaftei
Senior Member
M




Registered: Nov 2000
Location:
Country: USA
State:
Certifications: none
Working on: none

Total Posts: 2156
Post

quote:
Originally posted by haubest:
Everytime I visit this site I find a new term. What is a "major network" vs "minor network?". What, can't buy an address or hardware address. Some humor.


A "major network" is the class A/B/C network that you subnet. In MadChef's example 172.16.0.0/16 (a class B network) is the "major network". I don't think the term "minor network" is used.

------------------
Disclaimer: I do my best to provide acurate information. However, if you take my word for granted, you do so at your own risk! It is always better to double check!

Report this post to a moderator

Old Post 11-26-00 10:30 PM
dmaftei is offline Click Here to See the Profile for dmaftei Click here to Send dmaftei a Private Message Add dmaftei to your buddy list Find more posts by dmaftei Reply w/Quote Edit/Delete Message IP: Logged
haubest
Senior Member




Registered: Nov 2000
Location: North Hills, CA, USA
Country:
State:
Certifications:
Working on:

Total Posts: 182
Post

So the "major network" for a particular class is the same thing as the network portion of that particular class keeping in mind that I'm thinking an IP address is,in its simplist, network.host? So why change the terminolgy? Could I substitute the term "network" for the term "major network" in the question? Still don't understand the concept of a "major network". I've never heard of a "minor network" either and but maybe it could refer to a subnet and I've just coined a new buzzword.

Report this post to a moderator

Old Post 11-27-00 08:32 AM
haubest is offline Click Here to See the Profile for haubest Click here to Send haubest a Private Message Add haubest to your buddy list Find more posts by haubest Reply w/Quote Edit/Delete Message IP: Logged
All times are GMT.
Pages (2): [1] 2 » Post new thread   Post reply

Click here for list of CCNA study guides

Cisco exam notes

CCNA(tm) exam details



Forum Jump:
Rate This Thread:
Forum Rules:
Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is ON.
 

ExamNotes forum archive


Powered by: vBulletin 2.2.8
Copyright ©2000, Jelsoft Enterprises Limited.

  Free Braindumps | mcse braindumps