Running a DHCP server on multihomed Linux



Hi

Im using openSuSE 10.3 and I have a 2 network cards :

eth0 is 10.0.0.0/8 and eth1 is 192.168.0.0/24

There is no packet forwarding between the interfaces.

Im using the DHCP server shipped with openSUSE and want to be able to
configure it so that the DHCP server listens on both interfaces and is
able to issue appropriate IP's to each network. Is it possible to do
this? Can the DHCP server work with 2 interfaces? I thought perhaps I
could configure 2 copies of the dhcp server to listen to each
interface seperately, but that seems like a crappy way doing things...

Havn't found much on this topic trawling through Google ...anyone know
where to start?
.



Relevant Pages

  • Re: Connecting to the Internet
    ... >> specific system on the network, what sort of DHCP server are you ... and click on Network Interfaces? ... How do I connect it to the Internet using Ethernet? ...
    (freebsd-questions)
  • Re: dhcpd with 2 interfaces
    ... WHAT kind of setup? ... > a linux box as a firewall and a dhcp server to my home network. ... Interesting that you chose the .1 subnet. ... the bug that it runs on all interfaces instead of just the designated ...
    (comp.os.linux.setup)
  • Re: two nics, one dhcp server
    ... > I've got a machine that i need to give two separate addresses to using ... A more complex answer is that you could configure the DHCP server to give a ... different subnet mask to one of the interfaces using a host entry specifying ...
    (freebsd-questions)
  • Re: dhclient backgrounding?
    ... shouldn't dhclient on Debian go into the background and ... > configure the interfaces as soon as a DHCP server gets available, ...
    (Debian-User)
  • Re: dhcpd on system w/ 2 interfaces
    ... >Run a dhcp server on a system that has 2 interfaces. ... That will be applied when you next start dhcpd: 'service dhcpd restart' ... Chris Johnson, RHCE #807000448202021 ...
    (Fedora)