[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dhcp 2 nics



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
}

.Henrik

-- 
Henrik Christian Grove
grove@sslug.dk
Student of Mathematics at the University of Copenhagen



Reply to: