The LAN/WAN library consists of a set of base-models to which specific functionalities can be added. The LAN/WAN models differ from other models in that they route messages by routing-rules similar to the Internet-Protocol (IP). They can be used to study IP or TCP/IP networks. The library contains components that are typical of LANs and WANs, such as routers, switches, hubs, hosts, gateways, bridges, hosts, servers, in-line network encrypters (INEs), and other protocol converters. Each link and/or component's attributes control the respective data transfer rates, latencies, packetization, and etc.. Data traffic can be specified statistically.
An example network model called, Example_LAN.sim, is located in the $CSIM_MODEL_LIBS/lanlib directory. The LAN models are not directly compatible to the Core_Models.
To access the LAN-lib component models, import the library file in the GUI by:
File / Import / By-Reference $CSIM_MODEL_LIBS/lanlib/netslib.sim
Or add the following include statement to your main diagram file:
number_of_destinations - Number of destination specifiers. For each destination subnet X, a dest_subnet_addressX such as Y.Z.0.0 and mean_traffic_genX rate must be specfied for all destinations X from 0 to (number_destinations - 1). dest_subnet_addressX - IP address for destination X. Should be set to IPv4-type values such as 45_34_0_0. (If quotes are used around the address, then dots "." can be used instead of underscores.) mean_traffic_genX - Rate of traffic generated in Bytes/sec to destination X. min_msg_lngth - Smallest message generated in Bytes. max_msg_lngth - Largest message generated in Bytes. percent_classified_traffic - Percent of traffic generated as classified. subnet_addr - This subnet's IP address.
backplane_rate - Backplane rate in MBytes/Sec. portcnfg0 - Connection configuration parameter. Must be set to a port name from p1 - p7. ... portcnfg7 - Connection configuration parameter. Must be set to a port name from p0 - p6.
backplane_rate - Backplane rate in MBytes/Sec. max_packet_size - Maximum packet length in Bytes. route_x_x_x_x - Routing rule. Must be set to a port name from p0 - p7. Example: route_78_34_23_00 = p3 route_y_z_w_q - ... ... * Default routing rules can be specified like zero subnet specifiers. For example, 188.8.131.52 can be equated to: route_24_50 = port5 I.E. Route all packets to subnet 24.50.xx.yy to port5.
encryption_delay - Encryption delay in seconds. expansion_factor - Message length expansion factor relative to 1.0.
unclassified_rate - Link transfer rate for unclassified packets in MBytes/Sec. classified_rate - Link transfer rate for classified packets in MBytes/Sec.
The following units are predefined:
Bytes = 1.0 kBytes = 1000.0 MBytes = 1000000.0 GBytes = 1e9 Sec = 1.0 mSec = 0.001 Mbits = 125000.0
Back Up to Model Libraries