Installing and Administering LAN/9000 Software

Chapter 3 51
Manually Installing and Configuring LAN/9000
Editing the LAN Configuration Files
configure network interface parameters. The internet configuration
parameters have an index value, [x], that groups the configuration
parameters together. Following is a sample netconf file entry:
INTERFACE_NAME[0]=”lan0”
IP_ADDRESS[0]=”192.6.1.1”
SUBNET_MASK[0]=”255.255.224.0”
BROADCAST_ADDRESS[0]=””
INTERFACE_STATE[0]=””
DHCP_ENABLE[0]=”0”
If you have more than one interface to configure, you must have a
complete set of internet configuration parameters for each interface.
The index value must be different for each additional interface. The
network interface name in lanscan corresponds to the
INTERFACE_NAME[
x
] in the internet configuration parameters.
You can configure multiple logical interfaces for a physical interface.
You must configure the initial interface for a card/encapsulation type
before you can configure other logical instances of the same
card/encapsulation type. For example, you must configure lan0:0 (or
lan0) before you configure lan0:1 and lan0:2. In the netconf entry
shown previously, lan0 is equivalent to lan0:0, the initial interface for
lan0. The following is a sample netconf entry for a second logical
interface on lan0:
INTERFACE_NAME[1]=”lan0:1”
IP_ADDRESS[1]=”192.6.3.3”
SUBNET_MASK[1]=”255.255.224.0”
BROADCAST_ADDRESS[1]=””
INTERFACE_STATE[1]=””
DHCP_ENABLE[1]=”0”
For more information about specifying interface names for multiple
logical interfaces, see chapter 6, “Network Addressing.
3. Add routing configuration information.
If you intend to use your system as a gateway or to communicate with
gateways, add the route destination, gateway address, and hop count
parameter information. The routing configuration parameters have
an index value, [x], that groups the routing parameters together.
Following is a sample netconf entry:
ROUTE_DESTINATION[0]=”default”
ROUTE_GATEWAY[0]=”192.6.1.2”
ROUTE_COUNT[0]=”1”
ROUTE_MASK[0]=””