beautypg.com

Sample classical ip configurations – Sun Microsystems 3U User Manual

Page 72

background image

50

SunATM 3U CompactPCI Adapter Installation and User’s Guide • February 2001

Several rules apply to the use of variables in the

aarconfig

file:

Two variables cannot follow each other in an expression without an intervening
colon. Thus

$v1:$v2

is legal while

$v1$v2

is not.

Fields in each line in the

aarconfig

file are separated by white space. Therefore,

variables should not be separated from the rest of an ATM address with white
space. For example,

$v1: $v2

is illegal.

Once a variable is defined by a set command, it may not be redefined later in the
same configuration file.

The reserved variable names cannot be set. These names include

prefix

,

mac

,

sel

,

macsel

,

myaddress

,

anymac

,

anymacsel

,

sunmacsel

N (where N is a

number between 0 and 199), and

localswitch_server

.

Note –

The ESI portion of

localswitch_server

and the

sunmacsel

N variables is

a reserved MAC address. The hexadecimal values of the reserved addresses are:

localswitch_server

08:00:20:75:48:08

sunmacsel

N

base

08:00:20:75:48:10

To calculate the ESI portion for a

sunmacsel

N address, simply add the value of N

(converted to a hexadecimal number) to the

sunmacsel

N base address. For

example, the ESI portion of

sunmacsel20

would be

08:00:20:75:48:10 + 0x14 = 08:00:20:75:48:24.

Sample Classical IP Configurations

The following examples demonstrate entries in the

/etc/opt/SUNWconn/atm/

aarconfig

file for several typical network configurations.

Although some of the examples show only one sample

aarconfig

file, similarly

configured files must appear on each system. Example 2 shows the files for each of
the three systems in the configuration.

1. SVC-only: Clients use the default address and access to the ARP server is

restricted to clients on the local switch only.

a. The

/etc/opt/SUNWconn/atm/aarconfig

file on a client:

Interface Host ATM Address VCI Flag

ba0 - $myaddress - l

ba0 - $localswitch_server - s