Failing to assign DNS servers to lan in DHCP
We have an adsl router here at work, and I'm setting up a linux pc (SUSE 10) to act as gateway. I have set up the 2 NICs and the DHCP server, and everything seems ok, but somehow, all the pcs in the lan end up with the wrong DNS server.
Router is 10.0.0.1
First NIC in gateway is 10.0.0.250
Second NIC is 10.10.0.1
DHCP range is 10.10.0.2-10.0.0.254
DNS servers for both NICs are the ISP's DNS servers (184.108.40.206 and 220.127.116.11)
DHCP servers are also specified as the ISP's DNS servers.
I just don't know what else to do. No matter what I try, the DNS assigned by DHCP is always 10.10.0.1 (2nd NIC ip).
I've set all gateways (default, dhcp and nic) to 10.0.0.1 by the way.
If anyone could help me, it would be great, because I really don't know what else to try.