4.2 Adept Controller Configuration Using CONFIG_C

The network configuration for the Adept controller is held in the system configuration file and can be viewed and modified using the CONFIG_C utility.

Explanation of the Default Configuration

Section Header

The default network configuration begins with the header:
	.NETWORK    

Local Machine ID (Optional)

	LOCAL_ID = "/MACHINE `CELL1' /UID 200 /GID/200" 

The machine-ID and the user-ID and group-ID are used for permission checking on an NFS server. There are two conventions used for mounting an NFS server:

If the /MACHINE keyword is not specified, then null authentication is used.

Default Remote Disk Mount

	MOUNT 1 = "/MOUNT 'D1' /NODE 'SERVER1' /PATH '/c'" 

This is the default user-selectable name used to access a disk on a server on the LAN. This server may be a file server or a gateway or any other type of server.

The default NFS remote disk has the default user-selected name D1 and refers to drive c on the server that identifies itself as SERVER1. This drive has been exported as /c. Note that the /PATH definition is case sensitive and in server-native syntax. The /PATH definition can include a subdirectory specification. The example given is the syntax used for a PC server. The IP address for the server is defined by a NODE statement for the server name.

Additional mounts can be defined at run time using the V+ FSET program instruction or monitor command.

Default Node Names and Addresses

	NODE 1 = "/NODE 'CELL1' /ADDRESS 192 168 144 1"  

CELL1 is the default AdeptNet user-selectable name for one of the nodes on the LAN. This name may be used anywhere an IP address is required in V+. The default configuration data file also contains the definitions for several other nodes:

	NODE 2 = "/NODE 'CELL2' /ADDRESS 192 168 144 2" 
	NODE 3 = "/NODE 'CELL3' /ADDRESS 192 168 144 3" 
	NODE 4 = "/NODE 'CELL4' /ADDRESS 192 168 144 4" 
	NODE 5 = "/NODE 'CELL5' /ADDRESS 192 168 144 5" 
	NODE 6 = "/NODE 'CELL6' /ADDRESS 192 168 144 6" 
	NODE 7 = "/NODE 'CELL7' /ADDRESS 192 168 144 7" 
	NODE 8 = "/NODE 'CELL8' /ADDRESS 192 168 144 8" 
	NODE 9 = "/NODE 'SERVER1' /ADDRESS 192 168 144 101" 

Note that additional nodes can be defined at run time using the V+ FSET program instruction.

Default Router

	ROUTE_DEFAULT = "/ADDRESS 192 168 144 101"  

This is the default address for any packet with an unknown destination.

Default Gateway

	ROUTE_GATEWAY 1 = "/ADDRESS 192 168 199 0 
			/SUBNET 255 255 255 0 /GATEWAY 192 168 144 100"  

A gateway links two networks together with a network router. In this example the address of the remote network is 192.168.199.x. The subnet mask indicates how to interpret this address. The router through which passes all information for this remote network has the address 192.168.144.100 on the local network. Note that this configuration statement is not necessary if all remote networks are accessible through a single gateway. In this case, a ROUTE_DEFAULT statement is sufficient.

Default Local Address

	ROUTE_SELF = "/ADDRESS 192 168 144 1 /SUBNET 255 255 255 0"  

This defines the IP address of the local system. The network address of this particular node is 192.168.144.1, that is, node 1. The subnet mask indicates that the default address for this network is 192.168.144.x, where the x represents the node number.

For networks incorporating multiple Adept controllers, you need to change the address defined in the ROUTE_SELF statement for the additional nodes.

Note: On an Adept SmartController, the default IP address is displayed on bottom side of the controller chassis.

Configuration Limits

Number of Disk Mounts

There can be a maximum of nine remote disk mounts for each V+ System. Only two of these can be specified in the configuration file; others can be specified using the FSET program instruction or the FSET monitor command. Refer to Mounting a Remote Disk for more information.

Number of Nodes

There can be a maximum of 32 node names specified to V+. Only 9 of these can be specified in the configuration file; the rest have to be specified (only once at power-up) in a program using the FSET program instruction or the FSET monitor command.

Number of Gateways

There can be a maximum of two gateways defined by V+. These must both be specified in the configuration file.