Help connecting 2501 router to Belkin router

gajananbhatgajananbhat Member Posts: 5 ■□□□□□□□□□
Hi,

I am practising for CCNA and i was trying to see if this is possible.

I have a cisco 2501 and a 2505 router, a cable modem, a belkin router and a PC.

the network config is like this..

Internet--Cable modem--Belkin--2501--2505--PC

I have setup the network such that belkin-2501 is on one network...
2501-2505 is on another ...and 2505-PC is on the third...

I can ping the PC from 2501.
I can ping belkin from 2501.
I can ping 2501 from PC.
But, I cannot ping belkin from PC.
I cannot ping belkin from 2505.

Is there a way that I can connect to the internet from the PC using this config?

Thanks
Gajanan

Comments

  • WebmasterWebmaster Admin Posts: 10,292 Admin
    Hi,

    The reason you can't connect to the Belkin router (hence Internet) from the 2505 and the PC is because the Belkin router doesn't know the route (back) to the 2505 and the PC. You could either configure RIP on the cisco 'and' the Belkin router (assuming it supports it) or configure static routes. Currently the Belkin router is not involved in the routing process and assumes your network between 2501 and 2505 and between 2505 and PC are non-local, hence on the Internet side of the router. After you set up the routing correctly, you should check whether the 2505 contains a gateway of last resort/default route to the internal IP of the Belkin routers.

    This issue popped up several times before in the forums so you may want to do a search.

    Feel free to post the relevant portions of your router configs and sh ip ro outputs.
  • gajananbhatgajananbhat Member Posts: 5 ■□□□□□□□□□
    Hi,

    Thanks for the prompt reply.
    Here is some more info.

    The belkin-2501 network is 192.168.2.0
    2501-2505 is 192.168.30.0
    2505-pc is 192.168.20.0

    Belkin ip is 192.168.2.1

    Belkin
    2501
    2505
    PC
    192.168.2.1 2.2 30.2 30.1 20.1 20.5


    Here is the 2501 config:

    hostname Router2501
    !
    !
    no ip domain-lookup
    !
    interface Ethernet0
    ip address 192.168.2.2 255.255.255.0
    !
    interface Serial0
    ip address 192.168.30.2 255.255.255.0
    !
    interface Serial1
    no ip address
    no ip mroute-cache
    shutdown
    no cdp enable
    !
    ip default-gateway 192.168.2.1
    no ip classless
    ip route 192.168.20.0 255.255.255.0 192.168.30.1
    !
    line con 0
    exec-timeout 0 0
    line aux 0
    line vty 0 4
    no login
    !
    end


    And here is the 2505 config:

    hostname Router2505
    !
    !
    !
    ip subnet-zero
    no ip domain-lookup
    !
    !
    hub ether 0 1
    link-test
    auto-polarity
    !
    hub ether 0 2
    link-test
    auto-polarity
    !
    ...

    interface Ethernet0
    ip address 192.168.20.1 255.255.255.0
    !
    interface Serial0
    ip address 192.168.30.1 255.255.255.0
    no fair-queue
    clockrate 64000
    !
    interface Serial1
    no ip address
    no ip mroute-cache
    shutdown
    !
    ip default-gateway 192.168.20.1
    ip classless
    ip route 192.168.2.0 255.255.255.0 192.168.30.2
    ip http server
    !
    !
    line con 0
    line aux 0
    line vty 0 4
    no login
    !
    end


    Please let me know what else i need to configure.

    Thanks
  • gajananbhatgajananbhat Member Posts: 5 ■□□□□□□□□□
    Some more info:

    sh ip route for

    2501:

    C 192.168.2.0/24 is directly connected, Ethernet0
    C 192.168.30.0/24 is directly connected, Serial0
    S 192.168.20.0/24 [1/0] via 192.168.30.1


    for 2505:

    C 192.168.30.0/24 is directly connected, Serial0
    C 192.168.20.0/24 is directly connected, Ethernet0
    S 192.168.2.0/24 [1/0] via 192.168.30.2

    Thanks
    Gajanan
  • rossonieri#1rossonieri#1 Member Posts: 799 ■■■□□□□□□□
    can you ping belkin from 2501??
    try to use standard dynamic routing prots (RIP/OSPF) instead of static - to see how your routers (belkin and cisco) learn their networks...
    the More I know, that is more and More I dont know.
  • WebmasterWebmaster Admin Posts: 10,292 Admin
    I can ping belkin from 2501.
    can you ping belkin from 2501??
    Those two are on the same (sub-)network, in this case the same cable, even with out any form of routing these two would be able to ping eachother.
    Please let me know what else i need to configure.
    The Belkin router. It needs to have routes for the network 192.168.20.0 and 192.168.30.0. If you would be using RIP for example, it would learn the routes to those networks from the Cisco routers, and the Cisco routers would learn the gateway of last resort (where all internet traffic should go to) from the Belkin router.

    Or, try following rossonieri's advice and enable rip on the routers and see what the routing table should look like.
  • QUIX0TICQUIX0TIC Member Posts: 277
    IMHO, Enabling RIP will not help very much in this case.

    WebMaster is SPOT-ON regarding the Belkin Cable/Router does not have any routes to the other networks. Even though you want to set the DefGW towards the Internet side... you must set some type of static route to see the other 30.x and 20.x subnets.

    You can verify this by setting up ip debug on the 2501 and 2505 and watch the packet go through both routers but get dropped when it attempts to get back.

    What Belken switch do you have? What is the model number? I ask this to find out if the switch can use RIPv2. I know a lot of newer switches can use RIPv2 and you can accomplish your task as long as it supports it.
    "To realize one's destiny is a person's only obligation."
  • gajananbhatgajananbhat Member Posts: 5 ■□□□□□□□□□
    Hi All,

    Thanks for the responses people....

    I dont have access to my network right now....but will try out your suggestion on the belkin router and see if it works when i get back home.

    Also, quixotic said:
    You can verify this by setting up ip debug on the 2501 and 2505 and watch the packet go through both routers but get dropped when it attempts to get back.

    Maybe I didnt understand this correctly...but, I can ping the belkin router from 2501....which means that packets from 2501 are not being dropped when it attempts to gets back.

    Also, i will let you know what the model number of the belkin router is when i get home...

    Thanks
    Gajanan
  • gajananbhatgajananbhat Member Posts: 5 ■□□□□□□□□□
    Hi All,

    I tried enabling RIP ....but i am still not able to ping belkin frm 2505 or the PC.

    My belkin model is 72304

    thanks
  • rossonieri#1rossonieri#1 Member Posts: 799 ■■■□□□□□□□
    Hi All,

    I tried enabling RIP ....but i am still not able to ping belkin frm 2505 or the PC.

    My belkin model is 72304

    thanks

    hi,
    1. try to post the dynamic route.
    2. try to change ip default gateway on 2505 to 30.2 - maybe this is the problem. (if you dont want to use rip on 2501+2505)
    3. try to post your belkin config.
    the More I know, that is more and More I dont know.
Sign In or Register to comment.