- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- multiple subnets multiple dhcp ranges
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2006 09:00 AM
тАО01-09-2006 09:00 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2006 12:26 PM
тАО01-09-2006 12:26 PM
SolutionNow, I'm assuming you've got this already, so we'll look at the finer points of dhcpd configs. Here's a quick example of a multi-subnet dhcpd.conf:
ddns-update-style interim;
ignore client-updates;
subnet 10.1.1.0 netmask 255.255.255.0 {
# --- default gateway
option routers 10.1.1.254;
option subnet-mask 255.255.255.0;
option nis-domain "domain.com";
option domain-name "domain.com";
option domain-name-servers 10.1.1.254;
option time-offset -18000; # Eastern Standard Time
option ntp-servers 10.1.1.254;
option netbios-name-servers 10.1.1.254;
range dynamic-bootp 10.1.1.1 10.1.1.253;
default-lease-time 21600;
max-lease-time 43200;
}
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.254;
option subnet-mask 255.255.255.0;
option nis-domain "domain.com";
option domain-name "domain.com";
option domain-name-servers 192.168.1.254;
option time-offset -18000; # Eastern Standard Time
option ntp-servers 192.168.1.254;
option netbios-name-servers 192.168.1.254;
range dynamic-bootp 192.168.1.2 192.168.1.252;
default-lease-time 21600;
max-lease-time 43200;
}
Just to let you know, this is what I use at home. The .254 IP in each block is the local machine's IP address on that subnet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2006 12:31 PM
тАО01-09-2006 12:31 PM
Re: multiple subnets multiple dhcp ranges
You don't need an interface on the other subnet, you just need to be able to route to it.
Thus allowing you to DHCP-Relay from remote locations where you're nowhere near the subnet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2006 10:49 PM
тАО01-09-2006 10:49 PM
Re: multiple subnets multiple dhcp ranges
Can you describe your network, an ASCII diagram could help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2010 12:19 PM
тАО11-30-2010 12:19 PM