Go Back   Velocity Reviews > Newsgroups > Cisco
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Cisco - ip classless and auto-summary

 
Thread Tools Search this Thread
Old 08-04-2006, 05:23 PM   #1
Default ip classless and auto-summary


how are you everyone ?

I'm just a little bit confused about these two commands:
ip classless and auto-summary.

It sounds like both commands have the same function..
Please tell me what the differnece is..

I have read a lot about this commands, but I couldn't find a point -.-;

when auto-summary is used ?
if i use no auto-summarry, do i still have to concern about ip classess
?



jh3ang
  Reply With Quote
Old 08-05-2006, 05:10 AM   #2
Anonymous
 
Posts: n/a
Default Re: ip classless and auto-summary
"jh3ang" <> wrote in message
news: oups.com...
> how are you everyone ?
>
> I'm just a little bit confused about these two commands:
> ip classless and auto-summary.
>
> It sounds like both commands have the same function..
> Please tell me what the differnece is..
>
> I have read a lot about this commands, but I couldn't find a point -.-;
>
> when auto-summary is used ?
> if i use no auto-summarry, do i still have to concern about ip classess
> ?
>

"ip classless" should always be enabled. Back in the old days, the first
octet of the IP address determined its "class" 1 through 127 were class A,
128 through 191, were class B, 192 to 223 were Class C, 224 to 239 were
Class D, and 240 to 255 were Class E. The class determined the network
mask. Class A networks had 255.0.0.0 mask, class B, 255.255.0.0, class C
255.255.255.0, class D is reserved for multicast, and class E was reserved
This idea went out a long time ago, and now class does not have any meaning
except for Class D, which is reserved for multicast, and Class E, which is
still reserved.

auto-summary is a similar concept, but is used for routing, where the
routing protocol would "auto-summarize" the routes using the above obsolete
mechanism. You should also enable "no auto-summary" as well.

"classfull" addresses and "auto-summary" were the original IOS defaults way
back when we had a "classfull" Internet. Today that is not the case, but
Cisco very, very, very rarely ever changes IOS default settings.

Scott




Anonymous
  Reply With Quote
Old 08-05-2006, 03:28 PM   #3
Merv
 
Posts: n/a
Default Re: ip classless and auto-summary

For an explanation of ip classless see Cisco doc:

http://www.cisco.com/en/US/tech/tk36...80094823.shtml



Merv
  Reply With Quote
Old 08-05-2006, 04:10 PM   #4
Barry Margolin
 
Posts: n/a
Default Re: ip classless and auto-summary
In article < .com>,
"jh3ang" <> wrote:

> how are you everyone ?
>
> I'm just a little bit confused about these two commands:
> ip classless and auto-summary.
>
> It sounds like both commands have the same function..
> Please tell me what the differnece is..


"ip classless" is used when the router is searching its routing table to
determine how to forward a packet. Without this option, if it has a
route for any subnet of a classic network, and it's searching for a
route within that network, it will not use any aggregates outside the
network. E.g. if you have routes:

172.15.10.0/24
172.14.0.0/15

and you're trying to send to 172.15.20.1, it will report "No route",
even though 172.14.0.0/15 matches. In effect, the 172.15.10.0/24 route
causes it to create a virtual null route for the 172.15 class B network.

Since a default route is just the ultimate aggregate, the most common
cause of leaving out "ip classless" is that packets for unknown subnets
are dropped rather than being sent to the default gateway.

"auto-summary" is use by routing protocols. It causes the router to
*advertise* this virtual route when it has routes for the subnets.

If you have both auto-summary and ip classless, it's easy to create
routing loops. If the router advertises the class B to its default
gateway, the gateway will send packets for any subnet to this router.
But if the router doesn't have a specific route for that subnet it will
send the packets back to the default gateway, and they'll go back and
forth.

What I recommend instead of auto-summary is that you create an explicit
Null0 route for the class B if you want to advertise it.

--
Barry Margolin,
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***


Barry Margolin
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46