DHCP server configuration

Discussion in 'Tomato Firmware' started by kabar, Apr 28, 2009.

  1. kabar

    kabar LI Guru Member

    DHCP server configuration issue


    ive got a strange configuration in my home network - some clients sometimes connect to the router by WLAN, and sometimes by LAN. frankly, im doing so by myself sometimes. i use static dhcp, so i have to make two entries for one PC - one ip for WLAN card, one for LAN. so i have also to double the port forward entries, which sometimes work and sometimes not... and it couses many more problems. all in all, it pissess me off. and, as tomato is using dnsmasq, which i think is pretty configurable, i thought the configuration of the dhcp server could be changed, so that will be possible to give one IP for two MACs, and by doing this force clients to use only one network card at the time (sometimes they connect by WLAN and LAN at the same time, and they just dont notice). any ideas how to achieve that?
    thanks alot!
  2. mstombs

    mstombs Network Guru Member

    The latest version of dnsmasq supports this:

    from http://thekelleys.org.uk/dnsmasq/docs/FAQ
    I guess you need to use the extra config box rather than the web gui to configure though with something like

    see /etc/etc/dnsmasq.conf for the conf file that Tomato creates for you
  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