Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
im using dnsmasq for dns forwarding and dhcp server.
currently, i use the dhcp-host directive to attibute static ip over dhcp to an specified mac address
here's cat /etc/dnsmasq.conf output
Quote:
# dns configurations
#------------------------------------
domain=highfsb.lan
no-hosts
expand-hosts
all-servers
dns-forward-max=9000
cache-size=0
i restarted dnsmasq and nothing. all the static leases works,except for mac address 00:22:b0:62:33:4b. i got 172.28.4.178 instead of 172.28.0.4
i rebooted my box, rebooted dnsmasq w/ no the expecting results, but i remember that i used that nic (00:22:b0:62:33:4b) on my linux box a few weeks ago.
1st, in American & British English 'I' indicting yourself is capitalized, please be polite & follow the LQ rules which call for American or British English. Thanks.
Quote:
Originally Posted by blackzero
i restarted dnsmasq and nothing. all the static leases works,except for mac address 00:22:b0:62:33:4b. i got 172.28.4.178 instead of 172.28.0.4
How did you restart dnsmasq?
Quote:
Originally Posted by blackzero
i rebooted my box,
Which one? -- The DHCP (dnsmasq) server, or the target using the the NIC w/ MAC 00:22:b0:62:33:4b?
Quote:
Originally Posted by blackzero
rebooted dnsmasq w/ no the expecting results,
The server running dnsmasq, or did you restart the s/w itself?
Quote:
Originally Posted by blackzero
but i remember that i used that nic (00:22:b0:62:33:4b) on my linux box a few weeks ago.
Why do yo you mention this? Do you remember the IP address assigned to your Linux box at the time?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.