Can I get WRT54G to assign static IP based on client's MAC?

Discussion in 'Networking Issues' started by linybob, May 6, 2005.

  1. linybob

    linybob Network Guru Member

    Currently I have a Linux box acting as a router/firewall between my internal network and the Internet - the same as the WRT54G. I would like to replace this box with the WRT54G so that I could use the Linux machine for other purposes.

    My Linux machine now runs a DHCP server and I have it set up to assign static IP addresses to certain clients depending on their MAC address. Most importantly, I have a network printer that is *NOT* connected to a PC, but is connected directly to the wired network. I want this printer to receive a static IP address so that PCs can use it as a printer. It can only get an IP address from an available DHCP server on the network. Right now my Linux box serves it an IP address of Can I do the same thing with the WRT54G? Can the WRT54G be configured to serve static IP addresses based on the client's MAC address?

    I also have some PCs getting static IPs and some other PCs getting dynamic IPs depending on if they are file servers or just regular PCs. This would be nice too, but is not that critical. I'd like to manage all this on the DHCP server end as I do now, but if necessary I could make do with configuring each client PC for a static IP address.

    My Linux box has been doing all this (plus firewalling) very smoothly for the past 3 or 4 years so I know it can be done. I'm just hoping that the WRT54G can do it. If not - can anyone recommend a similar item that costs about that same that can do the job?
  2. Morpheus

    Morpheus Network Guru Member

    in one word yes...use DD-WRT or Alchemy Firmware.
  3. linybob

    linybob Network Guru Member

    Thanks! I'll take a look at the docmuentation and see if it works before I buy the router. Thanks again.
  4. Guyfromhe

    Guyfromhe Network Guru Member

    i'm currently using static ips and some dynamics on my wrt54g with wifi box, though that won't run on a new router i'm sure theres no issues with the statics on the other firmwares and you shouldn't have a problem doing that if you buy a wrt.
  5. linybob

    linybob Network Guru Member

    This looks very cool. The Sveasoft documentation indicates that the router actually runs Linux which is great. What is the difference between DD-WRT, Alchemy or Sveasoft firmwares? Are they all Linux? Are any more actively supported or more popular than others? I would assume that by flashing the router with these that I'd lose official support, not that that is a big deal. I like the fact that Sveasoft has documention. How can I choose between them?
  6. Guyfromhe

    Guyfromhe Network Guru Member

    DD-WRT is based off Alchemy with additional features, Alchemy was created by sveasoft and Sveasofts latest Talisman firmware requires a $20 / year subscription and it's mac locked to your router (you may want to read up on the guy and his practices before deciding to hop on that bandwagon though it's your call)

    Their all pretty similar, i hear you can get more technical help with actually compiling the sveasoft forum but I think they want to you pay for any real support.

    Linksys probably won't help you out too much but a couple people have claimed it won't void your warantee

    Try them out and see which one you like, or make your own....
  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