Skip navigation
Cisco Learning Home > Certifications > Routing & Switching (CCNA) > Discussions

_Communities

4854 Views 14 Replies Latest reply: May 6, 2011 8:45 PM by Adnan RSS

Currently Being Moderated

Connect Linksys to a Cisco Router

May 1, 2011 8:13 PM

Adnan 4 posts since
May 1, 2011

I am trying to connect my Linksys54GL Cable modem to my Cisco Router and connect it a Cisco Switch and allow my PC to access the Internet.

I have Cable Modem that plugs in to my Linksys. This is the WAN IP ---> 71.194.132.XX / XX

Linksys:

Local IP Address

10.10.10.1 /24

DHCP Range: 50-60

 

Here is what I have configured:

I connected a PC ---> 2960Switch ---> 2621XM ----> linksys 54GL ddwrt --> WAN.

Everything seems fine, but I am unable to ping the Linksys router from the PC and I can't ping the Switch from my Linksys router.

 

Here is the setup:

 

PC:

IP: 10.10.20.3 / 24

Gtw: 10.10.10.1

I telent from my PC to the Switch and I can ping from the PC (or the Switch) both Fa Interfaces on the Cisco Router.

 

2900 Switch:

IP 10.10.20.2 /24

interface Vlan1

description "SVI Int"

ip address 10.10.20.2 255.255.255.0

!

ip default-gateway 10.10.20.1

 

The Switch connects to F0/1 Int on the Router.

 

2600 Router:

interface FastEthernet0/1

description "E0/1 to Switch"

ip address 10.10.20.1 255.255.255.0

 

interface FastEthernet0/0

description "E0/0 to Linksys"

ip address 10.10.10.2 255.255.255.0

 

ip default-gateway 10.10.10.1

ip classless

ip route 0.0.0.0 0.0.0.0 10.10.10.1

 

 

 

I can get to the Internet from the Cisco Router and ping google and it seems to be working fine, but when I try to do the same from the switch the communication brakes off. From the switch I can ping Inteface Fa0/0 on the Router, but I cannot ping Linksys or get on the Internet. I tried to enable RIP to see if that would work, and it didn't. 

 

I would appreciate if you could help with this ASAP, I spend a whole day trying to figure this out and I just need to get this going.

  • Martin 13,070 posts since
    Jan 16, 2009
    Currently Being Moderated
    1. May 1, 2011 8:32 PM (in response to Adnan)
    Re: Connect Linksys to a Cisco Router

    do you know how to add static or RIP routes on Linksys ?

    it is called Advanced Features or Advannced Routing

     


    Linksys needs to know how to get to 10.10.20.0 network

     

    Switch and PC should be on the same network connected to router. aka 10.10.20.0

     

    there is also an option of bypassing Linksys as a router.

  • Duane 12 posts since
    Jul 14, 2010
    Currently Being Moderated
    2. May 1, 2011 8:34 PM (in response to Adnan)
    Re: Connect Linksys to a Cisco Router

    Does the linksys have a route back to the network inside the 2600?  try pinging from the 2600 from the inside interface and I suspect that you won't have any luck.  I also noticed that you don't have the correct GW on your PC.  The gateway you have listed the PC will never be able to reach.

     

    You can either add a route on the linksys back to your 10.10.20.X network or nat your 10.10.20 into your first hop network (10.10.10.0).

     

    Good luck!

     

    --Duane

  • Martin 13,070 posts since
    Jan 16, 2009
    Currently Being Moderated
    3. May 1, 2011 8:49 PM (in response to Duane)
    Re: Connect Linksys to a Cisco Router

    that's my thought; 2900 Switch is layer 2 device; does not really need a IP unless you want to ping it or connect to it for management and administration.

  • Duane 12 posts since
    Jul 14, 2010
    Currently Being Moderated
    4. May 2, 2011 7:30 PM (in response to Adnan)
    Re: Connect Linksys to a Cisco Router

    Adnan,

     

    I just noticed that the linksys is running dd-wrt.  For my box adding routes is under:

    Setup -> Advanced Routing

     

    You can add statics or turn on dynamic routing (ripv2, ospf, bgp etc).  I'd add a static just to keep it simple.

     

    --Duane

  • Martin 13,070 posts since
    Jan 16, 2009
    Currently Being Moderated
    5. May 2, 2011 7:39 PM (in response to Duane)
    Re: Connect Linksys to a Cisco Router
    You can add statics or turn on dynamic routing (ripv2, ospf, bgp etc).  I'd add a static just to keep it simple.

     

    Duane, what options do you have ? mine are : static or RIP .

    is there Linksys with OSPF support ?

  • Duane 12 posts since
    Jul 14, 2010
    Currently Being Moderated
    6. May 2, 2011 9:28 PM (in response to Martin)
    Re: Connect Linksys to a Cisco Router

    Hi Martin,

     

    I have no idea about the capabilities of a linksys running stock firmware, but the post said that he had dd-wrt running, which is a linux firmware you can install on some hardware.  If you have enough flash space, you can make these things do amazing things.   My advanced routing tab looks like this:

     

     

    The newish linksys e3000 has a fast processor and large flash and supports several wrt builds.  If you need a super versatile home router, the wrt builds add lots of functionality.  You can learn about it here:  www.dd-wrt.com and find out about some of the features here:  http://dd-wrt.com/wiki/index.php/What_is_DD-WRT%3F#Which_V24_build_do_I_flash_onto_my_router

     

    --Duane

  • Martin 13,070 posts since
    Jan 16, 2009
    Currently Being Moderated
    7. May 2, 2011 10:11 PM (in response to Duane)
    Re: Connect Linksys to a Cisco Router

    WOW thanks;  I did not know you can upgrade different Firmware on Linksys ?

     

    did you upgrad to DD-WRT?  what are chances of destroying my original cheapset?

     

    I got Linksys WRT54G2

     

    you picture does not show !

  • Duane 12 posts since
    Jul 14, 2010
    Currently Being Moderated
    8. May 2, 2011 10:25 PM (in response to Martin)
    Re: Connect Linksys to a Cisco Router

    Yes, I'm running dd-wrt on a few ASUS boxes (2 of which are running as APs) and one is my gateway.  I have the ASUS WL500G premium v2s.

     

    goto http://www.dd-wrt.com/site/support/router-database

     

    and type in linksys.  Your router is supported but it's got 4Mb if flash.  Mine have twice as much memory and flash, so I loaded on the larger image which supports more features.  Even so, I don't think that you will be disappointed with the increased functionality.

     

    Let me know how you make out.

     

    Picture one more time...

     

    wrt_routing.png

     

    --Duane

  • Martin 13,070 posts since
    Jan 16, 2009
    Currently Being Moderated
    9. May 2, 2011 10:31 PM (in response to Duane)
    Re: Connect Linksys to a Cisco Router

    WOW  I want yours ASUS WL500G premium v2s

     

    Are you running DD-WRT (v24) ?

     

    how much are those ?  how are they running ? stable , no problems?

  • Duane 12 posts since
    Jul 14, 2010
    Currently Being Moderated
    10. May 3, 2011 9:38 AM (in response to Martin)
    Re: Connect Linksys to a Cisco Router

    Martin,

     

    It runs great!  Stable and very few issues.  It looks like you can get one for $40 after rebate from newegg right now ( http://www.newegg.com/Product/Product.aspx?Item=N82E16833320030)

     

    I'm running some version of v24, i think sp1.  The linksys E3000 is a huge upgrade but probably a little more than twice the cost at ~110.

     

    --Duane

  • Martin 13,070 posts since
    Jan 16, 2009
    Currently Being Moderated
    11. May 3, 2011 9:49 AM (in response to Duane)
    Re: Connect Linksys to a Cisco Router

    thanks, I will get one, test it, return it if it fails

Actions

More Like This

  • Retrieving data ...

Bookmarked By (1)