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

[B] RIP Routing on WRT54GC[/B]

Discussion in 'Networking Issues' started by smollica, May 31, 2005.

  1. smollica

    smollica Network Guru Member

    Hi,

    I just picked up three WRTG54C rotuers and I'm attempting to get RIP routing working on what should be a very simple network configuration. My problem is that when I access the webgui of any of the three routers I do not see entries in the routing table for subnets of the other two routers. My configuration is as follows:

    The first router connects directly to my DSL modem and the WAN port get's a public IP address from the DSL modem (no PPoE). The management address for this router is 192.168.1.1.

    The WAN ports of the other two routers are connected directly to the LAN side Ethernet ports of the first router and get their IP addresses via DHCP (e.g., 192.168.1.100 and 192.168.1.101) from the first router. The management IP for the second router is 192.168.2.1 255.255.255.0 so the subnet on the LAN/Wireless side is 192.168.2.0/24 and the management IP for the third router is 192.168.3.1 255.255.255.0 with a LAN/Wireless subnet of 192.168.3.0/24.

    I enabled Router mode (as opposed to gateway mode) on all three routers and enabled RIP. I waited for five minutes dumped the routing talbe and the only entries were for the directly connected interfaces. No RIP learned routes. Is there a known problem with RIP-Ddo I need any static routes?

    Please help....

    Thanks,
    Scott
     
  2. Guyfromhe

    Guyfromhe Network Guru Member

    i've got RIP setup on 2 of my routers and a fbsd PC and it works fine for me, I set it up manually via a ripd.conf and a zebra.conf and start the services manually from a console so it may have to do wiht the config in the GUI I don't know...
    your WAN ports have the same subnet as the main router and the lan ports have seperate subnet ips, correct?
    did you turn the firewall off on the wan side?
    you may want to check that your router is actually broadcasting RIP requests...
     
  3. smollica

    smollica Network Guru Member

    ripd sounds like a rip service running on your UNIX host. I'm not running rip on my PC only the routers. Perhaps I need to be running RIP on my hosts? If so, it's not obvious to me why I need to? The WAN IP addresses for R2 and R3 is assigned bya DHCP server configured on R1 so the R2 and R3 WAN ports are on the same subnet as the main router R1.

    Also, I have disabled the firewall features on all routers while I'm attempting to figure out how to make them work together.

    Thanks,
    Scott
     
  4. Guyfromhe

    Guyfromhe Network Guru Member

    the WRT runs linux so it actually has a ripd process that runs to generate and parse RIP traffic, i've built my ripd.conf and zebra.conf manually via the command line and never tried any of that via the web interface. You should not be running RIP on your hosts...the way you have it setup should be working you may need to either install customer fimrware to see whats actually being sent out each port or stick a PC inbetween and sniff the traffic I can try setting up a ripd via the web interface later today and see what config it generates...
     
  5. smollica

    smollica Network Guru Member

    I didn't have remote management enabled for R1 and R2 so I wasn't able to access them from R1 until I enabled it. I'm going to take a look at the routing updates with Ethereal tomorrow when I have more time to play.

    I expect to see routing advertisement being sent on both the WAN and LAN Wireless sides. I'm able to bring up the webui for R1 and R2 when I associate with R2 but not R3. Same result when I associate with R3 and try to bring up the webui on R2. My routing tables for R2 and R3 have route entries for the 192.168.3.0 and 192.168.10 but no entry for R2. The routing table in R2 is similarly lacking a route through R1 to R3.

    I thought there could be nothing easier than setting up dynamic routing using RIP-I'm sure I'm missing something obvious.

    I'm able to access my inernet connection from all three subnets, so I believe I'm close.

    Is there a way to get a CLI prompt on the GC routers? If so can someone share the default UID/PID.

    Thanks,
    Scott
     
  6. Guyfromhe

    Guyfromhe Network Guru Member

    oh I didn't notice you said you were using a c, if you can get the cli the l/p is usually either blank username or root and your login pw for your web interface... you could setupi static routes if you really need too, i'm too tired to think about it right now let me know what you find out with the packet trace... RIP should be getting multicast so all the boxes on the same broadcast domain should be getting the broadcasts....
     
  7. smollica

    smollica Network Guru Member

    WRTG54C Ethereal Capture for RIP

    I must be missing a fundamental truth here. My host is connected directly to a switched port on the LAN/Wireless side of my router. I did a five minute capture with Ethereal and not a single RIP packet. I don't believe RIP needs to form an adjacency with another router before sending route advertisements. Perhaps the LAN/Wireless interface is passive but that does not make sense to me.

    I have router mode enabled, RIP routing enabled, firewall functions off. My host IP was assigned by DHCP by the router and I have WebUI access as well as internet access through it.

    I'm seeing all sorts of protocol packets but no RIP.

    Can anyone make sense of this?

    Thanks,
    Scott
     
  8. Guyfromhe

    Guyfromhe Network Guru Member

    I dunno about that web interface RIP configuration, i'll try it out later today if I have time and post the results, I know you can do it because i have 2 of those routers ripping to eachother...
    the multicat packets will be sent regardless of wether thers another router there or not..
     
  9. smollica

    smollica Network Guru Member

    I tried sniffing the WAN port this time with the same results. Plenty of other protocol traffic but no RIP. Thanks for the sanity check, I thought RIP would broadcast without having to first establishing a session with a neighbor. I'm starting to think the WRT54GC does not work as advertised.

    Is the destination address for the RIP broadcast the 255.255.255.255 address or is it directed to the subnet of the interface, or, even a multicast address? I am seeing IGMP group membership report packets from my router but not RIP packets.

    Thanks,
    Scott
     
  10. Guyfromhe

    Guyfromhe Network Guru Member

    didn't have a chance to try my web interface yet, it should be dumping rip packets out to multicast RIP address: 224.0.0.9 if it's using RIP2, and it should be dumping the packets out every 30 seconds or so...
    i've got RIP running properly on my lan but i've got custom firmware on my routers and built all the config files manually via the console prompt dunno if they have custom f/w for that router yet though..
     

Share This Page