Adding Devices to the Network

 



Overview

 

You can add devices to an existing network either by drag and drop of devices from the device tree or by adding multiple devices of same type or different types using wizard. Each device in the network will have a unique name, unique ipaddress and port number and unique mac address. The unique device name will be updated as the sysName, unique IPv4 or IPv6 address assigned to the devices will be updated in ipAddrTable for IPv4 addresses and ipv6AddrTable for IPv6 addresses and the unique mac address of the device will be updated in the ifTable for IPv4 address or ipv6IfTable for Ipv6 address.

 

Drag and Drop a Device to the Network

 

You can drag and drop devices from the device tree, into a blank network or to an existing network.

 

To drag and drop devices into the network

  1. Select a device from the Device Tree and drag and drop it into the network area. The default device properties like device type, device name, ip address and port number will be displayed in the General Tab.

  1. If the device supports SNMP, the SNMP Tab is enabled. Selecting this tab displays the following information.

  1. Read Community: The default SNMP read community is public. You can specify any other read community name for the device.

  2. Write Community: The default SNMP write community is public. You can specify any other write community name for the device.

  1. If the device supports CLI, the CLI Tab is enabled. Selecting this tab displays the following information.

  2. User name : Specify the new user name to login to the IOS simulation. The default user name is user.

  3. Password : Specify the new password to login to the IOS simulation. The default password is password.

  4. Exec Mode password: Specify the new password to get into exec mode. The default password is test.

  1. If the device supports TFTP, the TFTP Tab is enabled. Selecting this tab displays the following information.

  1. Execute script on download :  You can configure Jython script files to be executed when a file is downloaded from the TFTP server. This facility can be used to inform the manager about a file transfer, by way of sending traps etc. To configure scripts, browse and select the script (.py file). This script file will be copied in ./networks/<networkname>/tftp/<templatedevicename> directory in the name TftpDownloadScript.py. The script will be executed whenever a file is downloaded from the TFTP server in the simulator.

  2. Execute script on upload: You can configure Jython script files to be executed whenever a file is uploaded to the TFTP server. This facility can be used to inform the manager about a file transfer, by way of sending traps etc. To configure scripts, browse and select the script (.py file). This script file will be copied in ./networks/<networkname>/tftp/<templatedevicename> directory in the name TftpUploadScript.py. The script will be executed whenever a file is uploaded to the TFTP server in the simulator.

  3. Root directory : Configure the TFTP root directory of the device. The TFTP file transfers will be with respect to this root directory.

  1. If the device supports Telnet, the Telnet Tab is enabled. Selecting this tab displays the following information.

  2. User name : Specify the new user name to login to Telnet. The default user name is root.

  3. Password : Specify the new password to login to Telnet. The default password is public.

  4. Click Add to add the device to the network area. The network area displays the device icon with its IP address and the protocol supported in the devices.

Note:

  1. The Unique Name of the device will be updated as the sysName in the system group of RFC1213-MIB for SNMP devices.

  2. The specified IP address will be updated in ipAddrTable of RFC1213-MIB for SNMP devices.

  3. A unique mac address will be assigned to each device and updated in ifTable -> ifPhysAddress.

  4. No two devices in the same network will have the same IP address and port number combination. The SNMP, TL1, TFTP, CLI  and Telnet port numbers should not clash.

  5. The Network Simulator dynamically configures IP addresses when starting each agent instance in the network. Refer to the topic Configuring IP Addresses for more information on IPv4 addresses and Configuring IPv6 Addresses for more information on IPv6 addresses.

 

Adding Multiple Devices of Same Type

 

You can add multiple devices of the same type using the Network Design Wizard. This wizard can be invoked either while creating a new network or to add multiple devices to an existing network.

 

To add multiple devices of same type,  select the option Tools -> Network Design Wizard from the menu bar.  This will invoke the Network Design wizard. For more information on IPv4 address devices, refer to the topic Creating a Network with Same Device Type and for IPv6 address devices refer to the topic Creating a IPv6 network with Same Device Type.

 

Adding Multiple Devices of Different Type

 

You can add multiple devices of different type using the Network Design Wizard. This wizard can be invoked either while creating a new network or to add multiple devices to an existing network.

To add multiple devices to an existing network,  select the option Tools -> Network Design Wizard from the menu bar.  This will invoke the Network Design wizard. For more information on IPv4 address devices, refer to the topic Creating a Network with Multiple Device Types and for IPv6 address devices refer to the topic Creating a IPv6 network with Multiple Device Types.