[Gllug] DHCP and multiple NICs
Rodger Etz-Brown
reb at b4mad.net
Wed Feb 27 17:58:40 UTC 2002
On Wed, Feb 27, 2002 at 05:45:13PM +0000, Bruce Richardson wrote:
>
> 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.
Doh! Of course! Just tried it and it works. Didn't expect it to be sooo
obvious.
Thanks,
REB
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list