Re: dhcp 2 nics
Quoting Henrik Christian Grove <grove@sslug.dk>:
> reevesb@comcast.net writes:
>
> > I am trying to setup 1 box to run dhcp for 2 different networks. I
> > have 2 network cards running each with a static IP on its network. I
> > just cant figure out how to make the dhcp request from one nic give
> > out a 192.168.1. address and the other nic give out a 10.1.2. address.
>
> Basically it's something like:
>
> subnet 192.168.1.0 netmask 255.255.255.0 {
> range 192.168.1.2 192.168.1.254
> }
>
> subnet 10.1.2.0 netmask 255.255.255.0 {
> range 10.2.1.27 10.2.1.136
> }
Don't forget to check here:
/etc/default/dhcp
You'll want to broadcast your dhcp server on both nics.
Mike
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
Reply to: