two network cards
Chuck Anderson
cra at WPI.EDU
Tue Mar 6 02:33:41 UTC 2007
On Mon, Mar 05, 2007 at 05:24:26PM -0800, Luc T. wrote:
> I am running dhcpd on eth0, and I need to provide dhcp service
> through a new ethernet card (eth1) for a private subnet 10.0.2.0/24.
> Could anyone tell me that how I could do this?
>
> Do I need to create another dhcpd.conf file and run another
> instance of dhcpd? where will the lease files and log files go?
> Thanks!
Nope, you simply add another subnet declaration to your existing
dhcpd.conf:
subnet 10.0.2.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option routers 10.0.2.1;
pool {
range ...
}
}
You can have as many subnet {} blocks as you need.
More information about the dhcp-users
mailing list