











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
|
|  |
Pages (2): [1] 2 »
albertomax1
Junior Member
Registered: Sep 2000 Location: Brooklyn, NY Country: State: Certifications: Working on:
Total Posts: 9
|
|
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
|
|
11-23-00 06:07 PM
|
|
MadChef
A Huge Fake
Registered: Sep 2000 Location: Country: USA State: Certifications: Working on: A Sex Farm
Total Posts: 1426
|
|
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
|
|
11-23-00 06:26 PM
|
|
jusccna
Junior Member
Registered: Nov 2000 Location: HK Country: State: Certifications: Working on:
Total Posts: 7
|
|
|
11-23-00 07:56 PM
|
|
MadChef
A Huge Fake
Registered: Sep 2000 Location: Country: USA State: Certifications: Working on: A Sex Farm
Total Posts: 1426
|
|
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
|
|
11-24-00 07:12 AM
|
|
dmaftei
Senior Member M
Registered: Nov 2000 Location: Country: USA State: Certifications: none Working on: none
Total Posts: 2156
|
|
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
|
|
11-24-00 11:46 AM
|
|
MadChef
A Huge Fake
Registered: Sep 2000 Location: Country: USA State: Certifications: Working on: A Sex Farm
Total Posts: 1426
|
|
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
|
|
11-25-00 04:09 AM
|
|
MadChef
A Huge Fake
Registered: Sep 2000 Location: Country: USA State: Certifications: Working on: A Sex Farm
Total Posts: 1426
|
|
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
|
|
11-26-00 03:43 AM
|
|
haubest
Senior Member
Registered: Nov 2000 Location: North Hills, CA, USA Country: State: Certifications: Working on:
Total Posts: 182
|
|
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
|
|
11-26-00 10:40 AM
|
|
dmaftei
Senior Member M
Registered: Nov 2000 Location: Country: USA State: Certifications: none Working on: none
Total Posts: 2156
|
|
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
|
|
11-26-00 10:30 PM
|
|
haubest
Senior Member
Registered: Nov 2000 Location: North Hills, CA, USA Country: State: Certifications: Working on:
Total Posts: 182
|
|
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
|
|
11-27-00 08:32 AM
|
|
|
Click here for list of CCNA study
guides
Cisco exam notes
CCNA(tm) exam details
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
|