IP ranges

Discussion in 'Tomato Firmware' started by gawd0wns, Jan 25, 2008.

  1. gawd0wns

    gawd0wns Network Guru Member

    Is there anyway to configure the clients on a router running tomato (v1.14), on two separate ip ranges;

    I.E. Router, printer, on 192.168.1.xxx, all clients on 192.168.2.xxx

    Thank you
  2. LLigetfa

    LLigetfa LI Guru Member

    Sure, if you use /16 CIDR.
  3. mstombs

    mstombs Network Guru Member

    To enable multiple IP ranges you can assign a secondary IP address to the lan-bridge with something like

    ifconfig br0:0 netmask
    Then the router will be on both IP ranges and routing from one subnet to the other will be via the kernel not just the switch, so you could enable/prevent certain users accessing the printer with custom firewall "FORWARD" rules. Need to watch out for nat_loopback though - it may interfere.

    You can even configure dnsmasq to automatically give out the different IP range info, or just give the printer a static IP address?
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice