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

Shibby build 115: Two gateways

Discussion in 'Tomato Firmware' started by RogerC, Jan 2, 2014.

  1. RogerC

    RogerC Reformed Router Member

    Any way to selectively pass traffic to a second gateway based on the device mac or ip ? Ideally, all traffic would be accounted for on the tomato router.
  2. gfunkdave

    gfunkdave LI Guru Member

    You can use DNSMasq (the DHCP server built in to Tomato) to assign different gateways to different network devices based on MAC or IP ranges.
  3. RogerC

    RogerC Reformed Router Member

    Thanks, that's encouraging. I'm really new to this, but is there a simple guide anywhere on this? Related question. Once the DHCP assigns a second gateway to a MAC/IP, does the traffic no longer go through tomato? Ideally, my traffic to the second gateway would still be countable and loggable on tomato.
  4. Toastman

    Toastman Super Moderator Staff Member Member

  5. RogerC

    RogerC Reformed Router Member

    Ok, this works, thank you. However, one remaining question. Is there any way for my Tomato router to pass the traffic through to gateway2 so that I can count it? It seems that once dnsmasq has passed the gateway 2 to a client, then all the traffic bypasses the Tomato router?
  6. RogerC

    RogerC Reformed Router Member

    Doh!! I guess I should have read Toastman's full reply. Thank you. To solve this, could I get another tomato flashed router, and send traffic to that from my first tomato router? The second router would use my second gateway, and have DHCP off. The only unknown in my mind is that my "second gateway" is in fact a Verizon 4G router itself that I obviously can't mess with.

Share This Page