how to set up DHCP for two segment network?

Andy Hood ahood at au1.ibm.com
Wed Nov 8 05:41:57 UTC 2006


(Sorry about the top posting. Notes is stupid.)

You should have one configuration with all networks defined in it.
Including interfaces for which you do not want to provide DHCP. Those would
have no subnet specific options.

Then do not specify an interface on the start line.

<common options>

subnet 192.168.1.0 netmask 255.255.255.0 {
<subnet specific options>
}
subnet 192.168.20.0 netmask 255.255.255.0 {
<subnet specific options>
}
subnet 192.168.30.0 netmask 255.255.255.0 {
<subnet specific options>
}

Regards,
Andrew J Hood
Integrated Technology Delivery - IBM Global Services
Level 2, 54-60 Talavera Rd, North Ryde NSW 2113
Ph: +61-2-9887-5261 Fax: +61-2-9887-5146
Internet mail: ahood(at)au1.ibm.com
SME's Mailbox: Tivoli Technical Consult/Australia/Contr/IBM
Deployment Mailbox: ESM Deployment/Australia/Contr/IBM

dhcp-users-bounce at isc.org wrote on 08/11/2006 02:10:27 PM:

>
> Hi
>
> I'm using this software
>
>  DHCP-3.0.5
>
> My Server installed 3NIC's.
>
> There is 3 network segments.
>
>  1.192.168.1.0/24 :eth0
>  2.192.168.20.0/24:eth1
>  3.192.168.30.0/24:eth2
>
> I want to set up DHCP Server about 3 networks.
>
> I did try these cases, but it doesn't work.
>
> make 3 config files for eth0,eth1,eth2
>
> starting deamon with this command.
>
>  #dhcpd -cf dhcpd_1.0.conf -lf lease.1.0.log eth0
>
> then I did try to start next deamon
>
>  #dhcpd -cf dhcpd_20.0.conf -lf lease.20.0.log eth1
>
> then I saw error screen like this.
>
>  There's already a DHCP server running.
>
> Do you have any idea?
>
> or Is the thing which I try to do impossible?
>
> Best regards.
>



More information about the dhcp-users mailing list