How To Understand and Configure Your Network for IntraVUE

How To Understand and Configure Your Network for IntraVUE

Summary

This document attempts to standardize the methods used to configure Intrauve in situations where there is little or no understanding of the existing network.

This document is targeted at a technical person who is somewhat familiar with network terms, running programs from a DOS prompt, and who must install IntraVUE.

IntraVUE is designed to monitor and collect diagnostic data for Local Area Networks (LAN) - layer 2 switches and their associated edge or end devices. IntraVUE was not designed to provide layer 3 or Wide Area Network (WAN) diagnostics but will work with them to get data from layer 2 switches and edge devices.. To properly configure IntraVUE you must understand how the network addresses of the switches relate to the edge devices and you must have the SNMP community of any managed switches/routers.

This document will progress through the following 'steps'.

  1. Understanding the terms. Please spend some time reviewing the terms as their definitions include how they are relevant to IntraVUE and your network.
  2. IntraVUE scanning requirements.
  3. Various types of networks from simple to very complex.
  4. Tools that are available to understand your network before using IntraVUE.
  5. Using IntraVUE in conjunction with tools to understand your network and properly configure IntraVUE.
  6. Configuring IntraVUE for long term monitoring and reporting.

TERMS

IntraVUE Scanning Requirements

  1. The host computer must be able to PING all the devices to be scanned.

  2. The devices storing the mac addresses of the devices must be in the scan range and must be configured to respond to SNMP from the host. This requires at least the SNMP read only community and may require additional permissions such as an entry in an Access Control List.

  3. The switches must provide timely responses to SNMP queries. Typical response times are less than 20 milliseconds but some switches are known to take 20 seconds (20000 millisends). IntraVUE will tolerate a response as slow as 1000 milliseconds (1 second).

  4. Switch responses must conform to SNMP standards and managed switches must respond to the Bridge Mib, RFC 1493 or one of its successors.

Types of Networks

Networks are described in increasing order of complexity.

  1. The simplest network is one in which all the edge devices and all the switches are in the same subnet. To scan this type network you only have to enter the full scan range and proper SNMP communities. If this is your network, you do not have to read the rest of this document. IntraVUE LITE was designed for this type network when the subnet mask is 255.255.255.0 (Class C).

    In figure 1 below, each blue 'cloud' represents a different subnet but you only need to scan devices in the big cloud, 'Plant Private Network'.


    Figure 1

  2. Another simple network is one in which all the edge devices are in one subnet and all the infrastructure switches are in another subnet. The IntraVUE host computer should be in the subnet of the edge devices and should be the top parent of the IntraVUE network. (In the images below imagine only ONE LAN on the right side.)

    In figure 2 the IntraVUE host is on the left. All the LOCAL edge devices communicate without going thru a router, but the IntraVUE host must go through a router in order to get ping and SNMP data from the switches. The router (which knows the macs of the switches) must be in the scan range of the same IntraVUE network and respond to SNMP.


    Figure 2

    In some cases, plant personnel are not allowed to know the SNMP community of the central router. In figure 3, a NIC card has been added for each formerly remote LAN to solve this problem. Now those LANs have local addresses on the host computer and communication does NOT go through the router. The MAC addresses of all devices are in the host computers local ARP cache.


    Figure 3

  3. Similar to network #2 this network has devices in many different subnets, not just 2 (as shown in figures 2 and 3 with all the LANs on the right). For example, one router with subnets for office, building 1, building 2, and switches.

    You can configure IntraVUE to have all devices in one big IntraVUE network or have a separate IntraVUE network for each LAN. If you do the later, the switches that are used in each LAN must also be in each IntraVUE network.

  4. Network #3 is made more complex by configuring the layer 2 switches in the network to have VLANs. This is one of the most common plant floor network architectures.

    In the figure 4 there are 5 VLANs. The layer 2 switches are in the center circle, Switch VLAN. Even though they are connected by layer 2 switches, devices in one VLAN can not communicate with devices in another VLAN without going through the router.


    Figure 4

    For IntraVUE to provide the most diagnostics, each VLAN of edge devices should be a separate IntraVUE network in the System Configure's Scanner Tab. Each one of the 'remote' networks must also include the interface (IP address) of the router leading to the edge devices (as determined by TRACERT) as the top parent.

    In figure 4, the IntraVUe network for VLAN 1 needs to have the local computer as top parent, all the local ip addresses, the router, and the switch ips. VLANs 2, 3, and 4 each need to have the ip of the router as top parent, the ips of the VLAN, the router, and switch ips all in the scan ranges of that IntraVUE network. (The switch ips will be in all 4 IntraVUE networks.)

    VLANs are configured in a layer 2 switch by assigning VLAN numbers to ports of the switch. Packets arriving on a port of a switch having a VLAN(s) configured will only be sent to other ports having the same VLAN(s) configured. This limits broadcast traffic to only the ports with the same VLAN number as the originator.

    Figure 5 illustrates this using different colored lines for each VLAN. If the destination MAC is on a port in another VLAN, the message will be sent to the gateway and then back to the switch on the port having the same VLAN number as the destination. If a port of a switch is not configured for a VLAN, it acts as if all VLANs are configured for that port.

    All traffic for a device in a different VLAN (differnt colored line) must go to the router to be redirected to the switch.


    Figure 5

  5. Implementing Rapid Spanning Tree protocol (RSTP) in the switches creates a physical ring of communication where the last switch in a series of connected switches is connected to the first switch, thus forming a ring. The last link is never 'active' unless there is a break between any other switches in the ring. At that time, communication will start a new path and all switches will continue to be able to communicate, but using a different path.

    Nothing special needs to be done to handle this situation. IntraVUE will discover the new path and redraw the topology to reflect the change in the ring.

  6. Hot Standby Redundant protocol (HSRP) creates a connection between a pair of routers. In this scenario 2 routers are configured so that either one can act for the other in the event the other router fails. The routers 'share' a virtual IP address and a virtual mac address as well as having their own ip and mac. In some cases, one router will respond to the virtual IP/mac, but the other can assume in within milliseconds if necessary. In many cases, each router handles some VLANs. In figure 6, router A will handle the even VLANs and router B will handle the odd VLANs.

    Other devices are configured to use the 'virtual' IP address of the routers.

    Additionally each 'upper level' layer 2 switch is connected to both routers, so that if a router failure happens there is a connection to the other router using the same 'virtual' IP address.

    Since the routers are connected and the upper switches are connected to each router, an alternate path is created and the mac of the routers can be seen on two possible ports of the 'upper level' switches.

    This arrangement is shown in figure 6.


    Figure 6

    Depending on different circumstances, such a VLANs, each switch above reports may report the virtual mac on either of 2 ports depending on which VLAN last communicated with a router. Additionally there is a path where the switch can see the 'second' router through the 'first' router.

    To handle this situation, we normally configure IntraVUE to EXCLUDE the ip addresses of the upper level switches. Typically no edge devices are connected to these switches and IntraVUE is a tool to manage the communication to the edge devices. Additionally we configure the ports of the lower switches going to the upper switches to be trunked. This is done in a configuration file and is explained in detail in IntraVUE help, under 'Handling Trunking'.

  7. Within any network, multiple connections between layer 2 switches may exist. There are two common reasons for this.

    The IntraVUE scanner must be configured to treat ports that can lead the same mac address as 'trunked ports'. This is done in a configuration file and is explained in detail in IntraVUE help, under 'Handling Trunking'.

Tools to Get Information

The following tools can be used to get more information about your network. The tools should typically be run on the computer which is hosting IntraVUE.

  • PING - a DOS command line tool. Using PING tells whether a device can be reached from the host computer.


    Figure 7

  • TRACERT - a DOS command similar to PING, but each time the request passes through a router, the router is listed.

    This is an important tool because it will show you the last router in the path to a device. The last entry is the target device. The last router is the second to last entry in the list and is the router which will know the MAC addresses of the devices in the target subnet. In figure 7, the 10.1.1.3 router must be in the scan range in order to get the MAC of the 10.2.2.5 edge device.


    Figure 8

  • SWITCHPROBE - This is a java application provided by IntraVUE. It is available on the host PC by selecting "START / Programs / IntraVUE / Tools / Use Switchprobe".


    Figure 9

    Switchprobe is useful to verify you have the proper SNMP community set for a switch because it provides feedback in about 5 seconds. It tests a combination of IP address and SNMP community and provides the results that the internal scanner will see.


    Figure 10

    Note that you may have the right community and IP address and this tool will still fail if the switch or router being queried has implemented Access Control Lists (ACL), and the requesting IP address (the IntraVUE host) is not in the list. Double check the spelling of the community you used, make sure SNMP is enabled in the switch, make sure you can ping the switch, and check the community with network support personnel.


    Figure 11

    Switchprobe is also useful for diagnosing why a switch does not respond as expected.

  • TrunkingFiles.zip is a collection of programs that finds duplicate paths between switches for networks that are entirely Cisco. If you need these programs IntraVUE tech support will assist you in their use.

  • Switches - The switches can provide configuration information concerning their SNMP community, supported SNMP version, hosts that can get data, and other data using either telnet and a command line interface or, sometimes, a web interface to the switch.

    Initial Scanning and Discovery

    Long Term Monitoring with IntraVUE

  • Typically, you will want one IntraVUE network for each VLAN.

  • Clear the database.

  • If you are scanning devices local to the IntraVUE host computer, add a network and make the IntraVUE host the top parent. Add the scan range of the local devices. Add the scan range of switches used by the local devices.

  • For EACH other VLAN add an additional IntraVUE network. The top parent of each will be the interface of the router (as determined by TRACERT) for that VLAN.

  • As a result, for each 'network' defined in the System Configuration Scanner Tab, there will be a line coming out of the center Scanner node.


    Figure 17

  • Review the System Event log for devices moving that are not expected to move. Most of these issues should have been dealt with as part of discovery, but it is possible something might not surface until you scan all VLANs at once. If this happens it is probably wise to call tech support and email a copy of your database.


    IntraVUE Technical Support - 01-978-499-7800 or help@intravue.net