I used to have routers which allowed to make ip reservations based on MAC. But my current router doesn't have this option. What is the alternative for that?
Why do I need it? I have a Debian server for personal needs and I want to setup some port forwardings, ssh etc. So I need to have a static ip on this server. I do not want to create a static configuration on Debian machine, in that case I will need to explicitly show gateway ip address etc. Probably some scripts exist which may do a network lookup and dynamically search for a gateway/router address when eth0 is up. Could someone advise a good solution?