beautypg.com

Supporting multiple emulated lans, On a single interface – Sun Microsystems 3U User Manual

Page 80

background image

58

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

Supporting Multiple Emulated LANs
on a Single Interface

The SunATM software allows a single ATM interface to join up to 16 emulated local
area networks (ELANs), provided this is allowed by the switch and LAN Emulation
(LANE) services. Each ELAN joined will be represented by a unique lane instance
(for example,

lane0

or

lane1

).

Note –

A requirement for supporting this feature is that the adapter card be

assigned multiple MAC addresses, which is supported by the SunATM adapter. You
can find the number of MAC addresses assigned to your SunATM adapter by using
the

atmgetmac(1M)

command with the

count

option.

Configure multiple ELANs by placing multiple entries in the

/etc/opt/SUNWconn/atm/atmconfig

and

/etc/opt/SUNWconn/atm/

laneconfig

files. Each

lane

instance will have a unique hostname and IP address,

ATM address, and MAC address associated with it. In addition, assign an ELAN
name to the instance if any ELAN other than the default is to be joined. Provide this
information, with the exception of the MAC address, which is retrieved from the
board itself, in the

/etc/opt/SUNWconn/atm/atmconfig

and

/etc/opt/

SUNWconn/atm/laneconfig

configuration files.

Note –

Only one signalling protocol (for example, UNI 3.0 or 3.1) and one Classical

IP instance are supported per physical interface. Specify the UNI version in the first

/etc/opt/SUNWconn/atm/atmconfig

entry for a given interface; the Classical IP

instance may be specified in any entry.

The following example shows the

/etc/opt/SUNWconn/atm/atmconfig

and

/etc/opt/SUNWconn/atm/laneconfig

files and the

ifconfig -a

output for a

system with one SunATM interface,

ba0

. The interface uses UNI 3.0 for signalling,

and does not run Classical IP. It joins four emulated LANs: the default,

elan1

,

elan2

, and

elan3

.

The example

/etc/opt/SUNWconn/atm/atmconfig

file:

Interface UNI CIP Hostname LANE Instance LANE Hostname

ba0 3.0 - 0 atm0

ba0 - - 1 atm1

ba0 - - 2 atm2

ba0 - - 3 atm3