Red Hat ENTERPRISE LINUX 5 - DEPLOYMENT Deployment Manual page 321

Hide thumbs Also See for ENTERPRISE LINUX 5 - DEPLOYMENT:
Table of Contents

Advertisement

subnet 192.168.1.0 netmask 255.255.255.0 {
option routers
option subnet-mask
option domain-name
option domain-name-servers
option time-offset
range 192.168.1.10 192.168.1.100;
}
Example 21.1. Subnet Declaration
All subnets that share the same physical network should be declared within a shared-network
declaration as shown in
network, but outside the enclosed subnet declarations, are considered to be global parameters. The
name of the shared-network must be a descriptive title for the network, such as using the title 'test-
lab' to describe all the subnets in a test lab environment.
shared-network name {
option domain-name
option domain-name-servers
option routers
more parameters for EXAMPLE shared-network
subnet 192.168.1.0 netmask 255.255.252.0 {
parameters for subnet
range 192.168.1.1 192.168.1.254;
}
subnet 192.168.2.0 netmask 255.255.252.0 {
parameters for subnet
range 192.168.2.1 192.168.2.254;
}
}
Example 21.2. Shared-network Declaration
Example 21.3, "Group
As demonstrated in
parameters to a group of declarations. For example, shared networks, subnets, and hosts can be
grouped.
group {
option routers
option subnet-mask
option domain-name
option domain-name-servers
option time-offset
host apex {
option host-name "apex.example.com";
hardware ethernet 00:A0:78:8E:9E:AA;
fixed-address 192.168.1.4;
}
host raleigh {
192.168.1.254;
255.255.255.0;
"example.com";
192.168.1.1;
-18000;
Example 21.2, "Shared-network
"test.redhat.com";
ns1.redhat.com, ns2.redhat.com;
192.168.0.254;
Declaration", the group declaration is used to apply global
192.168.1.254;
255.255.255.0;
"example.com";
192.168.1.1;
-18000;
# Eastern Standard Time
Declaration". Parameters within the shared-
# Eastern Standard Time
Configuration File
295

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 5 - DEPLOYMENT and is the answer not in the manual?

Questions and answers

Table of Contents