8-2 LON WORKS/IP Channel Timing ConsiderationsLON WORKS /IP Channel Timing ConsiderationsWhen designing a LON WORKS/IP channel over an IP network which might have a largelatency, such as the Internet, it is important to be aware the relationship between the 3timing parameters that can be set when configuring a network to send packets across the IPnetwork. Two of the timing parameters, Channel Timeout and Packet Reorder Timer, are setfor the LON WORKS/IP channel through the Configuration Server. Channel Delay is setthrough an LNS based tool such as the LonMaker tool.On local area networks, Channel Timeout is required only if MD5 Authentication is used.Packet Reorder Timer should be disabled on a LAN, and the LonMaker Channel Delayfor the channel should be set to twice the aggregation timer.On networks using the Internet, Channel Timeout and Packet Reorder Timer mustconsider the value of the LonMaker Channel Delay parameter. Table 8.1 specifies how toapproximate the timing values for network implementations using the Internet.Table 8.1 – Timing Parameter Calculations for Internet L ON WORKS/IP ChannelsTiming Parameter Set to:Channel Timeout (Average Ping Delay / 2) + 20%Packet Reorder Timer The lesser of:¼ of Channel Timeout Value, or 64 MSLonMaker Channel Delay Average Ping Delay + 10%If using aggregation (see Aggregation in Chapter 12), and if the aggregation delay is a highpercentage of the channel timeout or channel delay, add twice the aggregation delay to theChannel Delay and one times the aggregation delay to the Channel Timeout.Use the ping command from a DOS window to obtain the average ping delay. Do not use theping command in the i.LON 1000 Console Application.Channel TimeoutChannel Timeout is the LON WORKS/IP channel property that assigns a delay for a packet totravel across that channel. The assigned delay is a time parameter set in milliseconds andindicates how old a packet can be before it is discarded. If you are sending packets across avirtual private network or any configuration that uses the Internet, set the Channel Timeoutparameter to ½ the average ping delay. Synchronize the i.LON 1000 routers with a SNTPtime server.Set the Channel Timeout parameter to a value in relation with the ping delay as indicated inthe table 7.1. In a LON WORKS network, each channel is assigned a cost defined as the roundtrip delay for a packet traveling across that channel. Channel Delay is based on acombination of bit rate, packet size, and media access. As a guideline, you should setChannel Timeout on your LON WORKS/IP channel to more than half the Channel Delay value.Channel Timeout is highly recommended when using MD5 authentication. When usingMD5 authentication, set it to 100 MS and the Channel Delay to 200 MS.Factors in determining Channel Timeout include:1. The delay can vary on each leg of a round trip. Your timeout parameter shouldfactor the maximum delay into one leg of the trip.