From: mani poopal (mani_ccie@yahoo.com)
Date: Mon Aug 02 2004 - 16:57:48 GMT-3
Good output with explanation. So here main one is the command and keyworkd subnets of "connected networks"
thanks
Mani
Bob Sinclair <bsinclair@netmasterclass.net> wrote:
Mani,
Just to be sure we are on the same page, the "ip classless" (default)
permits use of the default for destinations that are subnets of connected
networks. The "no ip classless" does not. Here is a demo from my lab,
below.
First, I ping 172.16.35.5, and it succeeds. Then I disable classless ip
routing with "no ip classless" and the ping fails. I am running RIP
version 1 here, though I seem to get the same result with version 2.
R4#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is 172.16.14.1 to network 0.0.0.0
R 192.168.106.0/24 [120/1] via 150.100.10.10, 00:02:59, FastEthernet0/0
R 192.168.107.0/24 [120/1] via 150.100.10.10, 00:02:59, FastEthernet0/0
R 192.168.105.0/24 [120/1] via 150.100.10.10, 00:02:59, FastEthernet0/0
172.16.0.0/24 is subnetted, 9 subnets
C 172.16.192.0 is directly connected, Loopback1
C 172.16.193.0 is directly connected, Loopback2
C 172.16.194.0 is directly connected, Loopback3
C 172.16.14.0 is directly connected, Serial0/0
R 172.16.1.0 [120/1] via 172.16.14.1, 00:00:12, Serial0/0
R 172.16.2.0 [120/1] via 172.16.14.1, 00:00:12, Serial0/0
R 172.16.123.0 [120/1] via 172.16.14.1, 00:00:12, Serial0/0
C 172.16.104.0 is directly connected, Loopback0
R 172.16.101.0 [120/1] via 172.16.14.1, 00:00:12, Serial0/0
150.100.0.0/24 is subnetted, 1 subnets
C 150.100.10.0 is directly connected, FastEthernet0/0
R* 0.0.0.0/0 [120/1] via 172.16.14.1, 00:00:13, Serial0/0
R4#ping 172.16.35.5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.35.5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 100/101/104 ms
R4#c
Enter configuration commands, one per line. End with CNTL/Z.
R4(config)#no ip classless
R4(config)#end
R4#
R4#ping 172.16.35.5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.35.5, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R4#
Bob Sinclair
CCIE #10427, CISSP, MCSE
www.netmasterclass.net
----- Original Message -----
From: "mani poopal"
To: "Bob Sinclair" ;
Sent: Monday, August 02, 2004 2:00 PM
Subject: Re: RIP default routing/RIP version in the LAB.
> Hi Bob,
>
> Thanks for your answer, What I found was when one of the subnet of major
network is prescent in the routing table, even with no ip classless command,
the router could not use default route to get to the destination. When
there is no subnet of major network present in the routing table, even with
the no ip classess command, the router could use default route, to get to
the required network.. In RIP, router advertises a default route with
default static command or ip default-network command.
>
> thanks
>
> Mani
>
>
>
> Bob Sinclair wrote:
> Mani,
>
> As you suspect, Solie's statement that "...they will not forward packets
to
> a gateway of last resort unless the global ip classless command is set" is
> not exactly right. It is only true regarding lookups for subnets of
> connected classful prefixes. For example, the router will not use the
> gateway of last resort to get to 10.10.10.0/24 if it has a connected
> interface with prefix 10.20.20.0/24. In other words, if your network
> consists of all subnets of 10.0.0.0, and ip classless is NOT configured,
> then the router will not use the gateway of last resort.
>
> As regards the use of RIP versions in the lab, my own advice would be to
use
> RIP version 2 unless specifically directed otherwise. As always, careful
> reading is required.
>
> HTH,
>
> Bob Sinclair
> CCIE #10427, CISSP, MCSE
> www.netmasterclass.net
>
> ----- Original Message -----
> From: "mani poopal"
> To:
> Sent: Monday, August 02, 2004 7:50 AM
> Subject: RIP default routing/RIP version in the LAB.
>
>
> > Hi Group,
> >
> > (A.)When router has a "no ip classess" configured and has a default
route
> in the routing table. Will this router be able to reach a network that is
> not in the routing table?.(practical studies vol 11 pg 625)
> >
> > (B.)In the Lab, if they ask to configure RIP, what version they are
> expecting. Can we configure RIPv2 with no auto-summary or we have to
> configure RIPv1(default)
> >
> > thaks
> >
> > Mani
> >
> >
> > B.ENG,A+,CCNA,CCNP,CCNP-VOICE, CSS1,CNA,MCSE
> > (416)431 9929
> > MANI_CCIE@YAHOO.COM
> >
> > ---------------------------------
> > Do you Yahoo!?
> > New and Improved Yahoo! Mail - Send 10MB messages!
> >
> > _______________________________________________________________________
> > Please help support GroupStudy by purchasing your study materials from:
> > http://shop.groupstudy.com
> >
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> http://shop.groupstudy.com
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
> B.ENG,A+,CCNA,CCNP,CCNP-VOICE, CSS1,CNA,MCSE
> (416)431 9929
> MANI_CCIE@YAHOO.COM
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
>
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> http://shop.groupstudy.com
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
B.ENG,A+,CCNA,CCNP,CCNP-VOICE, CSS1,CNA,MCSE
(416)431 9929
MANI_CCIE@YAHOO.COM
---------------------------------
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
This archive was generated by hypermail 2.1.4 : Fri Sep 03 2004 - 07:02:31 GMT-3