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

Routing between subnets

Discussion in 'Tomato Firmware' started by versello, Mar 16, 2007.

  1. versello

    versello Network Guru Member

    Hello, I recently found out about Tomato and so far I think it's awesome. However, I do have one problem... I am unable to access the admin interface by its IP when I am on a different subnet.

    My environment is as such:
    internal router
    | WRT54GL (
    | another WRT54GL (

    So physically, I've been plugging in ethernet cables into one of the switch ports on the WRT54GL. However, my understanding is that those are not routable interfaces or something to that extent, thus I cannot access the WRT54GL's interface when I'm a different network (ie - Is there any way around this?

    I unfortunately cannot create separate subnets with each WRT54GL, since I have several... they all need to be in one subnet. Any help would be appreciated, thanks!
  2. Toxic

    Toxic Administrator Staff Member

    what interface are you trying to access the WRT. WAN or LAN? if it is WAN have you tried enabling remote management and using that?
  3. roadkill

    roadkill Super Moderator Staff Member Member

    ip addr add dev vlan1 brd +
    /usr/sbin/iptables -I POSTROUTING -t nat -o vlan1 -d -j MASQUERADE

    Put this in the WAN Up script :biggrin:
  4. digitalgeek

    digitalgeek Network Guru Member

    I was going to suggest a static route, which what I believe the above will achieve. you could also add a dns to the first router in the other two.

Share This Page