5 Replies Latest reply: Oct 10, 2011 9:50 AM by DelVonte RSS

    Packet Tracer and Debug IP

    Charles

      I'm using Packet Tracer 5.3.2 and completing my labs. However I have a slight problem, everytime use the command debug ip route, it says IP routing debugging on. When I enter the configure terminal and enter a fastethernet IP address for my first router, the book says I should get output, but I don't. It just goes to the terminal prompt to issue another command.

       

      What do I have to do, to get the suggested output? (screen below)

       

      The router i'm working with is configured like this:

       

       

       

      Router(config)#hostname R1

       

      R1(config)#ip domain-lookup

       

      R1(config)#enable secret class

       

      R1(config)#line console 0

       

      R1(config-line)#password cisco

       

      R1(config-line)#login

       

      R1(config-line)#exit

       

      R1(config)#line vty 0 4

       

      R1(config-line)#password cisco

       

      R1(config-line)#login

       

      R1(config-line)#exit

       

      R1(config)#line console 0

       

      R1(config-line)#logging synchronous

       

      R1(config-line)#line vty 0 4

       

      R1(config-line)#logging synchronous

       

      R1(config-line)#line console 0

       

      R1(config-line)#exec-timeout 0 0

       

      R1(config-line)#line vty o 4

       

       

       

      R1#debug ip routing

       

      IP routing debugging is on

        • 1. Re: Packet Tracer and Debug IP
          Kumar Mantri

          Hi charles,

           

          sure u should see the debbuging when the configured interface is up, did u configure the ip at the other end? is the link is up?did u set clock rate at "DCE" end?

          • 2. Re: Packet Tracer and Debug IP
            Charles

            Hm. Good Suggestions, I shall give it a try and report back.

             

            Update: I tried what you said, but it didn't work. The clock rate isn't set until way after, in step 5, I'm stuck at step 3. Here is the task list of how ALL the routers should be configured before I try the "debug ip route" command (screens below). Am I missing something?

            • 3. Re: Packet Tracer and Debug IP
              cadetalain

              Hi,

              if the interface is not up/up then th connected route can't be installed in the routing table.Did you no shut the interface?

               

              Alain.

              • 4. Re: Packet Tracer and Debug IP
                Charles

                I tried that, but no luck. I followed all the steps the book says, I am not sure where i'm going wrong. Maybe i'm not entering it right, could you tell me where to enter it ? After what step would I enter no shutdown command?

                • 5. Re: Packet Tracer and Debug IP
                  DelVonte

                  Hi Charles,

                   

                  It could be packet tracer. A few years back I remember running debug commands would crash PT. Although this may be fixed, there may still be some limitations. Is this lab intended for PT or is a lab that was intended to be done on real equipment?

                   

                  Here is what I get on PT:

                   

                  Router#debug ip routing
                  IP routing debugging is on
                  Router#config t
                  Enter configuration commands, one per line.  End with CNTL/Z.
                  Router(config)#int s0/2/0
                  Router(config-if)#no ip address
                  Router(config-if)#shut
                  Router(config-if)#ip address 10.0.0.1 255.255.255.252
                  Router(config-if)#no shut

                  %LINK-5-CHANGED: Interface Serial0/2/0, changed state to down
                  Router(config-if)#

                   

                   

                  Then after I connect it to another router in PT:

                   

                  %LINK-5-CHANGED: Interface Serial0/2/0, changed state to up

                  %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/2/0, changed state to up

                  RT: interface Serial0/2/0 added to routing table
                  RT: SET_LAST_RDB for 10.0.0.0/30

                   

                  Here it is on GNS3, before I connect it to another router:

                   

                  R1#debug ip routing

                  IP routing debugging is on

                  R1#config t

                  Enter configuration commands, one per line.  End with CNTL/Z.

                  R1(config)#int s0/0

                  R1(config-if)#ip address 10.0.0.1 255.255.255.252

                  *Mar  1 00:01:27.927: RT: is_up: Serial0/0 0 state: 6 sub state: 1 line: 0 has_route: False

                  *Mar  1 00:01:27.927: RT: is_up: Serial0/0 0 state: 6 sub state: 1 line: 0 has_route: False

                   

                  So it looks like a limitation in PT.

                   

                  Regards,

                   

                  DelVonte