• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4221
  • Last Modified:

Command "ip classless' on Cisco

Hi!
I see an comman "ip classless" on Cisco router, and I don't know what does it use for? How can you help me?
Thanks
0
itman04
Asked:
itman04
  • 2
1 Solution
 
sunnycoderCommented:
itman04,

In short

ip classless command in global configuration mode makes the Cisco IOS software forward packets destined for unrecognized subnets to the best supernet route possible

Sunnycoder
0
 
krazieintentCommented:
Ip classess is used to tell the router not to route to the classfull boundary of the Ip address subnet mask.

the classful boundard are.
for class a 255.0.0.0
class b 255.255.0.0
class c 255.255.255.0

It works in conjunction with the routing protocal used on the router.

for example if you use a classless routing protocol such as eigrp and have subnets

and have subnets 192.168.1.16

192.168.1.32
192.168.1.64

when you type router eigrp 100

and put in your networks

instead of putting the classfull network number such as 192.168.1.0

yiou would put as your networks 192.168.1.16
192.168.1.32 and 192.168.1.64

this will help routing if the subnets are all not connected to one router.

however is you use a classful protocol such as RIP or igrp

even if you type in your networks as 192.168.1.16, .32, and .64

when you do a show run command

the only network address you will see under the protocol would be 192.168.1.0, the classfull address.

if your network was subnetted on diferent routers, the classfull protocol would not work.

reason being both routers think they are connected to the same network and when routing updates are sent to eachother, one router is saying i am connected to the 192.168.1.0 network while the other one is say no, i am connected to the 192.168.1.0 network because even when you put in your subnet address it will automatically trunkate the address to its classfull boundary

ip classless stops that from happening to allow routing between subnets.

hope this was a good explaination of IP classless

Kevin
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now