dhcpd.conf

Howard Lowndes lannet at lannet.com.au
Mon Oct 14 16:46:01 EST 2002


On Mon, 14 Oct 2002, Mason Batley wrote:

> Hey guys,
>
> question : I have a rh linux router with 2 interfaces, how do I specify
> in the dhcpd.conf file that for ethX to issue subnet config A,
> and ethY subnet config B?

You can restrict it to specific interfaces in /etc/sysconfig/dhcpd

or do as under:

subnet 192.168.254.0 netmask 255.255.255.0 {
	option broadcast-address 192.168.254.255;
	range 192.168.254.17 192.168.254.18;
}

subnet 192.168.255.0 netmask 255.255.255.0 {
	option broadcast-address 192.168.255.255;
	range 192.168.255.129 192.168.255.254;
}

>
> I though about just setting host reservations for each host,
> tho it would not be practical for extra hosts being added.
>
> Cheers
>
> -Mason Batley
> mason at section31.com.au
>

-- 
Howard.
LANNet Computing Associates - Your Linux people
Contact detail at http://www.lannetlinux.com
"Flatter government, not fatter government." - me
 Get rid of the Australian states.
------------------------------------------
If electricity comes from electrons, does morality come from morons?





More information about the linux mailing list