What's new

Prioritized Static Lease

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

gatorback

Regular Contributor
The laptop is LAN connected by either Ethernet or Wifi but not both at any given time. I would like to assign a static lease( in the router) to both MAC address with same LAN IP address.

The router's web UI will not permit a second instance of a LAN IP. If I implement the initial objective above, am I creating a problem? If not, is there a way to either turn off the web UI's check (that currently prevents assign two MAC IDs to a single LAN IP)? At any given time only one of the MAC IDs will be connected to the LAN.
 
I don't think you'll be able to do that.
Alternatively, I have put a static IP into the WiFi and Ethernet interfaces in a laptop, with Windows 7. It complains, but it works.
 
Some devices (Airports for example) can reserve DHCP addresses based on the DHCP Client ID...

Not sure if Asus does this...
 
You can do it with a dnsmasq.conf.add file (lookup dhcp-host in the dnsmasq man page). But be careful, there is no error checking if both interfaces are active at the same time and bad things will happen.
 
You can do it with a dnsmasq.conf.add file (lookup dhcp-host in the dnsmasq man page). But be careful, there is no error checking if both interfaces are active at the same time and bad things will happen.

Thank you for the suggestion. I like the 'can-do' posture coupled with 'use-caution'. Is there a good example you can recommend? I did find this: http://linux.die.net/man/8/dnsmasq
 
Last edited:
@gatorback -

this is the one I use
http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

it specifically addresses your question. I actually use a form of this with a manual script to switch the connections on Windows (I keep the same client name, not IP, which the router handles a bit better if something goes wrong). I could never get any of the recommended ways to autoswitch by monitoring the windows eventlog to work reliably.
 
Similar threads
Thread starter Title Forum Replies Date
L Static routing ASUS Wi-Fi 3

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top