two network cards

Simon Hobson dhcp1 at
Tue Mar 6 07:49:44 UTC 2007

Bazy wrote:
>This way, will dhcp assign IPs from the first subnet on eth0 and from
>the second subnet on eth1?

Yes, the server will take care of matching a clients network location 
with the appropriate subnet mask. This happens regardless of whether 
the client is one a directly connected network, or a remote network 
serviced via a relay agent.

This does assume that the two network cards are connected to 
different networks, if you connect the two cards to the same physical 
network (ie create a shared subnet) then things are different and 
need a little more work.

More information about the dhcp-users mailing list