# user(s)386
# project(s)13
# build(s)3038
# transform(s)60
Avg build time9.2s
Queue len0 (0.0)
Statusidle
 

Configuring a networked node

To access the network, an Erlang on Xen node must have at least one virtual network interface listed in the domain configuration. The following line in the configuration file is usually enough:

vif = [ '', ]

In addition, a static or dynamic network configuration must be requested by corresponfing command-line flags.

The fastest way to launch a networked instance is to provide it with a static network configuration using these flags:

-ipaddr xx.xx.xx.xx
-netmask xx.xx.xx.xx
-gateway xx.xx.xx.xx

A dynamic configuration is initiated by -dhcp flag. DHCP configuration may take a noticable time. The boot sequence does not proceed to launching user application indicated by -s and -run flags until the network configuration is complete.

Examples:

# static:
extra = "-ipaddr 192.168.0.99 -netmask 255.255.255.0 -gateway 192.168.0.1"
vif = [ '', ]
# dynamic
extra = "-dhcp"
vif = [ '', ]
The service is free for any purpose, including commercial use. It is provided "as is", without any warranty.
More licensing options are available from Cloudozer LLP.
E-mail: [email protected].