beautypg.com

Datatek HP-UX 10.20 (32 bit kernel User Manual

Page 7

background image

I P - C o m m K i t I n s t a l l a t i o n a n d A d m i n i s t r a t i o n G u i d e

f o r H P - U X – I s s u e 2 – R e l e a s e 1 . 0 . 2 2

10/13/11

Datatek Applications Inc.

7

Each UTM requires an IP address, as does the host computer. You should obtain IP addresses

for UTMs from your IP network administrator. This document assumes that the host computer is

already connected to a LAN, and thus already has an IP address assigned to it. If your host

connects to several LANs, it will have several IP addresses assigned to it, one for each LAN.

You should find out the addresses assigned to the LAN that the host will use for communicating

with the UTM. You need the host’s IP addresses in numeric form for configuring the UTM. To

obtain this, take a look at the file /etc/rc.config.d/netconf with pg, vi, or whatever you like to use to

look at text files. It is a shell script provided by HP that configures the LAN interfaces on your

machine at boot time. This file contains good comments from the HP developers, but the

important lines are the assignments to array variables with the name IP_ADDRESS and

SUBNET_MASK. Here is a sample of the relevant lines:

INTERFACE_NAME[0]=lan0

IP_ADDRESS[0]=135.17.59.216

SUBNET_MASK[0]=255.255.255.0

This host has one LAN interface named lan0, and its assigned IP address is 135.17.59.216.

To configure the UTM, you also need the subnet mask for the IP subnet to which it attaches.

Most often, an IP subnet corresponds to a LAN segment. For example, all interfaces attached to

the same 10Base-T hub are on the same LAN segment, and almost always have the same

subnet mask. If the host and UTM connect to the same subnet, you can find out the subnet

mask from the /etc/rc.config.d/netconf file. In the previous example, the subnet mask is

255.255.255.0.

If the host and UTM do not attach to the same subnet, your IP network administrator must provide

you with an appropriate subnet mask for the UTM. In addition, the administrator must provide

you with the IP address of a gateway router. This gateway must reside on the same subnet as