
23
3.5.1 Configuration Entries
The
rnic_cfg
file entries have the following format:
function amso_[type]_[rnic]_[instance] {
AMSO_IPADDR=[ipaddr]
AMSO_MASK=[mask]
AMSO_MTU=[mtu]
AMSO_GW=[gw]
AMSO_BCAST=[bcast]
}
Where the following fields contained within brackets mean:
[type]
This is the type of entry being defined. Currently there are two valid types:
"ccil" -- This is the mode to define a legacy interface Ethernet network. The
backend will use
ifconfig(8)
to configure the Linux netdev-style ccilnet
interface.
"
rdma
" -- This is the mode to define an RDMA IP address. The backend will
use Ammasso's own
cconfig
(1) command to manage this interface.
[rnic]
This is the current RNIC number for which we are defining the address. This
number starts counting from
0
(
zero
). Note this number is here for future
capability and must always be
0
for the 1.2 Update 1 release.
[instance]
This is the instance number for a given definition. This number starts counting
from
0
. Each instance is another IP address, netmask, etc. definition for a
given RNIC instance. This allows having multiple IP addresses per RNIC.
[ipaddr]
This is the specific IP address in network ‘dotted quad’ notation to use for this
interface.
[mask]
This is the network mask (
netmask
) of the specific configuration.
[mtu]
This is the maximum transmittable unit (MTU) or frame size for the interface.
This is not required. If it is not specified, Ammasso will set the MTU to the
default value of 1500.
[gw]
This is the network gateway IP address for this interface. This is specified in
network `dotted quad’ notation. It is optional and if none is specified,
Ammasso will not configure a default gateway.
[bcast]
This is the broadcast address for the network. It is given in network `dotted
quad’ notation. Its value is optional and if none is specified, the broadcast
address is deduced from the
[ipaddr]
and
[mask].
This field will be
ignored if defined within an "
rdma
"
[type].