I have a Debian Linux server connected with ethernet cable to a Netgear Access Point (Wnr2000).
I want all users wirelessly connected to the access point to have the Debian Linux server as gateway.
The Netgear wnr2000 won't allow me to do this so I thought about switching its dhcp server off and use dnsmasq (as suggested in the answer below) as dhcp server.
I have my dnsmasq.conf:
expand-hosts domain=test.com dhcp-range=192.168.1.40,126.96.36.199,12h dhcp-option=1,255.255.255.0 dhcp-option=3,192.168.1.100 dhcp-option=6,192.168.1.100
My Netgear has a static configuration: 192.168.1.1 and my Debian Server is (always static): 192.168.1.100
It looks like my ip are not assigned by the dnsmasq dhcp server...
What is wrong?
dnsmasq is running, here's my ps aux | grep dnsmasq:
dnsmasq 2974 0.0 0.1 4732 924 ? S 14:13 0:00 /usr/sbin/dnsma sq -x /var/run/dnsmasq/dnsmasq.pid -u dnsmasq -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg -old,.dpkg-new root 20772 0.0 0.1 3540 868 pts/2 S+ 21:13 0:00 grep --color=au to dnsmasq