Hi, a few remarks from my side, inline. On Sat, Jan 15, 2005 at 11:32:56AM +0100, Per Jessen wrote:
Richard Bos wrote:
Is a dhcp server connected to a NIC (and therefor 1 physically lan) or does 1 dhcpserver serve multiple lan's or does it depend on the configuration?
A DHCP server can serve whichever networks it is connected to. If the server has 16 NICs connecting to 16 networks, the DHCP server can serve all of them. If you use dhcprelay you can also serve networks to which the DHCP machine has no direct conenction.
Moreover, a DHCP server can serve many more networks, even if it is not directly attached to them (physically on the segment). Multiple DHCP relays (gateways relaying the DHCP protocol) can be between the server and clients (which are on a remote network). In addition, even though it is not relevant in this context, but just to mention it, the "physically attached network segments" served can be run over one single NIC, iv 802.1q (vlan) tagging is used to seperate them. DHCP is designed in a way that a single DHCP server's configuration can reflect the entire (complex) network structure. Administrating the network from one central point is especially interesting if networks are located far away from each other, like in different buildings, naturally.
Could the thin client server have 2 dhcp servers 1 serving lan A and the other serving lan B??
I think it's possible, but it makes little sense. You'd have to tweak the SuSE setup quite a bit - but why not just have one DHCP server serving both netweorks?
Two DHCP servers on one machine -- no, that is not possible, due to the way that dhcpd binds to the interfaces. However, it is not needed either. You would adapt /etc/sysconfig/dhcpd:DHCPD_INTERFACE and you would use the directive "authoritative" where appropriate. You would also declare subnets that are not served by dhcpd as empty subnets, and put multiple subnets that are using the same physical segment together into a "shared-network" statement, to tell the dhcpd about the real topology of the network. Peter