General discussion

Locked

dhcp leases 'subnetting the network'

By dunnoyet ·
Hi,
I have a Redhat6.2 server with 4 network cards, I would like each nic to serve a particular subnet through dhcpd.
Is it possible to specify which card will supply which subnet or would I have to use groups?
From what I can see dhcpd will merely assign an IP address when requested and will not care (or know) on which nic the request originated.
Thanks
Ian

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

dhcp leases 'subnetting the network'

by zbrain75 In reply to dhcp leases 'subnetting t ...

When you set the dhcpd leases file you specify a subnet wich would be associated with the NIC with an IP address relative to that subnet. In otherwords the subnets are set up in groups in the configuration file. The following example start of the /etc/dhcpd.conf file demonstrates that:
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers ....
.
.
range 192.168.1.10 192.168.1.250;
.
.
}

See the DHCP mini how-to at:
http://www.linuxdoc.org/HOWTO/mini/DHCP/index.html

Also read the dhcpd.conf man page. There is an additional document on dhcp at:
http://ctdp.homestead.com/files/os/linux/usersguide
Item 44 talks about DHCP configuration.

Collapse -

dhcp leases 'subnetting the network'

by dunnoyet In reply to dhcp leases 'subnetting t ...

Thanks for you're help

Collapse -

dhcp leases 'subnetting the network'

by dunnoyet In reply to dhcp leases 'subnetting t ...

This question was closed by the author

Back to Linux Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums