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

Blocking Static Ip adresses - DHCP only

Discussion in 'Tomato Firmware' started by Neo__04, Feb 22, 2012.

  1. Neo__04

    Neo__04 Networkin' Nut Member

    Hi all,
    I just installed the latest version of toastman on my asus RT-N16 and have a couple of questions regarding what I would like to do.

    I'm setting it up to suit a motel/student accomodation. May have up to max 20-30 people connected.
    I want any new users to be able to connect via dhcp, so i can give them an IP and also attain the Mac address and Host name.

    I then want to statically assign that IP to their MAC address so that if they change their network settings and choose themself a static IP, it will not let them have access untill they set there network settings back to dhcp, which the router then controls/monitors.

    I am unsure of how to go about this as I have tried saving my iphone as a static IP in the router and it still has access when i give it a different ip address on the phone.

    Can someone confirm if this thinking is correct… I need to ignore dhcp requests from unknown devices, but I also need to allow new (unknown) devices to connect so the router gives them an IP, then i can save their details and make them static.. Doesn't that thinking contradict its self? Or am i missing something?

    I have no doubt im doing something wrong, just unsure of what to settings i need to make this work.
    Also I want to be able to allow each user to have 10gb per month, then throttle their speed right down.

    Any recommended settings for this?

    Thanks heaps,

    your help will be greatly appreciated
  2. Neo__04

    Neo__04 Networkin' Nut Member

    Bump Bump, Hopefully someone can help
  3. Toastman

    Toastman Super Moderator Staff Member Member

    A device is either known or it isn't.

    I think your real problem is the way you assign static DHCP by letting them connect first. Instead, get the MAC address from the PC with ipconfig /all and enter it manually.

    Static ARP is the mechanism to use to prevent people swapping IP's.

    There isn't any bandwidth capping facility as such.
  4. Neo__04

    Neo__04 Networkin' Nut Member

    Hey Toastman,

    Thanks heaps for the reply. Can't get a better source of info than yourself.

    No worries, I thought i may have been going about it the wrong way.
    So if I go around to every user, grab their mac address, assign them a static IP linked to their mac, then enable force static arp for all devices on the list... Then disable DHCP. That should lock everyone else out but just the people i have assigned static Ip addresses for?

    On the bandwidth capping, that would be a brilliant addition to a future firmware... hint hint :)

Share This Page