isc-dhcp-server issue, not broadcasting on eth0:1
Hello,
On a server that provides dhcp services to a few client pc's I have 3 subnets: 192.168.0.0/24, 192.168.1.0/24 and 192.168.2.0/24.
the server has 2 virtual interfaces and one hardware interface for these subnets.
I want to seperate hosts on the network and use the 192.168.0.0/24 and 192.168.1.0/24 only for known devices. I have their mac addresses and they have a static lease in the dhcp config file. For the unknown hosts I have the 192.168.2.0/24 network.
The problem I had is that the unknown hosts only get their IP assigned through dhcp if I configure 192.168.2.1 on the hardware interface. for the other networks it works fine to get a dhcp lease if I configure the 192.168.0.1 ip on the virtual interface.
Why doesn't the server hand out ip addresses to untrusted hosts (should get a 192.168.2.x ip) while it does for trusted hosts when the IP address of the hardware interface isn't in the same subnet?
I hope I've made the problem clear, it was quite hard to do...
I'd like to understand this.
thnx in advance,
Steven
|