[Gllug] DHCP and multiple NICs
Bruce Richardson
itsbruce at uklinux.net
Wed Feb 27 17:45:13 UTC 2002
On 2/27/02, 5:20:17 PM, Rodger Etz-Brown <reb at b4mad.net> wrote regarding
[Gllug] DHCP and multiple NICs:
> Howdy,
> am wondering if the following would be possible:
> - One Linux box with one dhcpd started
> - The machine has got two NICs, eth0 and eth1
> - According to the NIC where the DHCP request comes from, the server
> should give out an IP. I.e. request comes via eth0 -> IP will be
> 192.x.x.x or request comes from eth1 -> IP will be 10.x.x.x
It's a trivial task using the standard ISC dhcp daemon. You just tell it
which ip ranges to allocate to which subnets. It will listen on all
interfaces by default and if your networking is configured properly will
automatically associate the correct nic with the correct subnet.
--
Bruce
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list