1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

need help in routing

Discussion in 'Routing & Switching' started by chyeeqi, Aug 1, 2010.

  1. chyeeqi

    chyeeqi New Member

    1
    0
    1
    i use cisco packet tracer to setup the network, all the light change to green color, but still fail to ping, can some 1 help me??

    i attrach the packet tracer file, can some 1 help me check it???

    i wan go know which part i set wrongly

    routing table :

    Device interface ip address subnet mask default gateway
    R1 fa/0 192.168.1.1 255.255.255.0 N/A
    s0/0/0 192.168.2.1 255.255.255.0 N/A
    R2 fa/0 192.168.3.1 255.255.255.0 N/A
    s0/0/0 192.168.2.2 255.255.255.0 N/A
    PC1 N/A 192.168.1.10 255.255.255.0 192.168.1.1
    PC2 N/A 192.168.3.10 255.255.255.0 192.168.3.1
     

    Attached Files:

  2. crazy horse

    crazy horse Byte Poster

    199
    15
    24
    Hi,

    I am unable to open the file you have attached, but looking at what you have put as your routing table makes no sense - all you have provided is ip addresses and the subnet masks of the interfaces and not a routing table.

    First thing to do is a SH IP INT BRIEF to confirm that the status and protocol is UP on your interfaces - (Note: you may not have the clock rate set on one of your serial interfaces)

    The command you are looking for is: SH IP ROUTE to get your routing table. You may have nothing set there or it is only partially set up (e.g. a static route going from R1 to R2 but not back from R2 to R1 or an incorrectly configure routing protocol) - this would cause your devices not to ping - try a tracert from one of the PC's and see where the packet dies if it is the local router then that will confirm it.

    If my assumption on your routing table is correct try the following:

    On R1 under global configuration mode:
    IP ROUTE 192.168.3.0 255.255.255.0 192.168.2.2

    On R2 under global configuration mode:
    IP ROUTE 192.168.1.0 255.255.255.0 192.168.2.1

    (Alternatively, if you are just using two routers you could put in default routes to the other router)

    If none of the above helps PM me your Show Running-config of both routers and I will see what I can do.

    My last piece of advice is to go back through your notes/ books and other study material and understand the concepts and what is required to get this to work and then practice it.

    Good Luck

    Crazy Horse
     
  3. CONF T

    CONF T New Member

    9
    0
    23
    hello

    i could not open r1 bec there is a pssword but i think 90% R1 does not have a route to get to PC1

    on router 1 u can do

    R1(config)#ip route 192.168.1.10 255.255.255.0 192.168.2.1

    just use static route or any protocol
    thank u
     
    Certifications: CCNA CCNP
    WIP: CCIE
  4. crazy horse

    crazy horse Byte Poster

    199
    15
    24
    Hi Conf T,

    Thanks for the reply to this post, however it seems the OP hasn't come back yet. I am intrigued by your answer though:

    Firstly according to the OP, R1 has a directly connected interface with the IP 192.168.1.0/24 so why would R1 need to route to itself? Secondly, why in this situation would you want to limit the destination prefix to a singular IP address and not the whole subnet?

    The only way your answer could be right (taking the OP's original post and without the destination prefix) is if this command was completed on R2.....which I am pretty sure I stated in my previous post. :blink

    Thanks,
    Crazy Horse
     
  5. CONF T

    CONF T New Member

    9
    0
    23
    hello

    this is his project

    [​IMG]

    Mr.crazy horse
    i was answering as i saw in the project i didn' look to his post
    his proplem that he can't ping from pc0 to pc1

    i did tracert from pc 0

    it apears he can reach only to its getway but he cant reach the other sid of the router

    so it means R1 has to have a route 2 PC1

    he can do it by using routing protocol in both routers
    or he can us static route in both routers

    thank u
     
    Last edited: Sep 13, 2010
    Certifications: CCNA CCNP
    WIP: CCIE
  6. crazy horse

    crazy horse Byte Poster

    199
    15
    24
    It would appear that chyeeqi didn't label their routers very well in their original post.

    Router0 is R1 and Router1 is R2 in my post. So we are both correct :) - except for the destination prefix, I still do not understand that.

    Yes he could use default routes or a routing protocol to resolve this, but as it is 6 weeks since the original post I suspect he isn't coming back.

    Thanks,
    Crazy Horse
     
  7. danielno8

    danielno8 Gigabyte Poster

    1,305
    48
    92
     
    Certifications: CCENT, CCNA
    WIP: CCNP

Share This Page

Loading...