HP Insight Control for Linux 6.0 Installation Guide

# log-servers
option log-servers 172.1.1.1;
subnet 172.1.1.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
range dynamic-bootp 172.1.1.100 172.1.1.200;
default-lease-time 50000;
max-lease-time 100000;
}
subnet 172.1.2.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option routers 172.1.2.254;
range dynamic-bootp 172.1.2.100 172.1.2.200;
default-lease-time 50000;
max-lease-time 100000;
}
subnet 172.1.3.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option routers 172.1.3.254;
range dynamic-bootp 172.1.3.100 172.1.3.200;
default-lease-time 50000;
max-lease-time 100000;
}
A.5.2 Configuring DNSMASQ with multiple subnets
Example A-5 demonstrates the modifications to the /etc/dnsmasq.conf configuration file
that are required to support multiple subnets, integrated into the operation of Insight Control
for Linux's requirements. In the example, two additional subnets, 172.1.2.0/24 and 172.1.3.0/24,
are configured. Each subnet must be provided with its own routers and IP address ranges that
are specific to it.
Example A-5 DNSMASQ configuration file modifications to support multiple subnets
interface=eth0
domain-needed
bogus-priv
filterwin2k
domain=ourlab.example.com
expand-hosts
dhcp-lease-max=20000
# pXe Boot Configuration
dhcp-boot=/pxelinux.bin,boothost,172.1.1.1
# System Imager DHCP Option--IP Address of the CMS
dhcp-option=140,"172.1.1.1"
# Turn on logging
log-queries
dhcp-range=172.1.1.100,172.1.1.200,255.255.255.0,24h
dhcp-option=remote1,3,172.1.2.254
dhcp-option=remote2,3,172.1.3.254
dhcp-range=remote1,172.1.2.100,172.1.2.200,255.255.255.0,24h
dhcp-range=remote2,172.1.3.100,172.1.3.200,255.255.255.0,24h
84 Alternative network configurations