4782

Get a Live Demo

You need to see DPS gear in action. Get a live demo with our engineers.

White Paper Series

Check out our White Paper Series!

A complete library of helpful advice and survival guides for every aspect of system monitoring and control.

DPS is here to help.

1-800-693-0351

Have a specific question? Ask our team of expert engineers and get a specific answer!

Learn the Easy Way

Sign up for the next DPS Factory Training!

DPS Factory Training

Whether you're new to our equipment or you've used it for years, DPS factory training is the best way to get more from your monitoring.

Reserve Your Seat Today

TCP/IP Tutorial: IP Routing

Part 1 | Part 2

Although static IP addresses are usually set by the IS/IT department, knowing the concepts and basic structure helps you a lot. An installation and maintenance technician can then play a much more active and contributing role in the turn-up of IP elements.

A manager can better position their department to survive the transition from legacy transport to IP-based solutions. The widespread use of protocols, such as SMTP for telemetry reporting and TCP/UDP for telemetry transport, are evidence of this transition in the process.

These protocols, as well as SMTP, POP3, FTP, TELNET and a host of others, all rely on IP addressing. This tutorial will discuss the three fundamental items involved in typical element addressing - the IP Address, the Subnet Mask, and the Default Gateway.

A manager can better position their department to survive the transition from legacy transport to IP-based solutions.

IP Address

The IP Address is perhaps the easiest one to understand. In legacy multi-drop polling environments, each element on the leg had to have a unique ID that the polling master used to collect data.

In a LAN/WAN environment, each element on a network segment must similarly have a unique ID. This unique ID is technically a combination of IP and MAC addresses, but since the equipment manufacturer generally assigns the MAC address, the IP address becomes the controllable variable.

Though the assignment is generally done by the IS/IT department, it is good to remember that IP communication difficulty can sometimes be a simple issue of mistyping the assigned IP address when setting up the element. Another somewhat less frequent occurrence is the assignment of an already-used address to a new element.

The conflict resulting from this mistake will usually impair communication with both elements just as it did in legacy networks where two units would respond to the same poll.

Subnet Mask

The Subnet Mask is a filter that prevents everyone else from seeing the traffic on your leg of the network. The actual filter is a special network element that sits on your leg and handles traffic to and from other network legs.

A standard element uses its Subnet Mask to determine when a request needs to be handled by that special element and when it can simply be placed on the local leg. The technical side of this function involves a logical XOR of the element's IP Address with the destination IP Address.

The result is ANDed with an uninterrupted sequence of bits (the Subnet Mask) to enable a decision. If no bits survive the logical shenanigans, the traffic will be placed on the local leg. Otherwise, the traffic will be sent to the special element, which is typically called the Default Gateway.

Obviously, an accurate Subnet Mask is needed for traffic generated by an element. It is equally important when the element is just responding. Though the request may reach the element, the response can be utterly prevented by a single bit error in the Subnet Mask that prevents the element from correctly routing the traffic to the Default Gateway.

Default Gateway

The Default Gateway must then, by definition, have an address on your local network leg. It also has separate connections and unique addresses on other legs.

The Default Gateway processes traffic-routing requests received from each leg decides where the traffic needs to be sent. It places it on the appropriate destination leg, using logical functions similar to the ones mentioned previously.

If it has no leg that is suitable for the addressing of the routed request, it typically has a Default Gateway of its own to which it forwards the request.

The maintenance of gateways is no casual affair, and it is not generally involved in the deployment of an IP element.

The routing of IP traffic is one of the magic elements of the Internet and entire volumes have been printed in exhaustive detail regarding every little aspect of the IP addressing and routing mechanism.

This article has presented what should be an easily understood model of three items commonly involved in deploying elements in an IP environment. The IP Address which 'uniquely' identifies an element, the Subnet Mask which 'filters' both autonomous and response element traffic and the Default Gateway which provides 'operator assistance' for non-local traffic.

Next Article: Featured NetGuardian RTU

In our next article, we will deploy a NetGuardian as a DCPx responder to illustrate how the concepts we have discussed up to this point play into a typical installation.