LonTalk/IP Network Addresses

A LonTalk/IP device may have multiple Layer 3 addresses. There are two types of LonTalk/IP Layer 3 addresses. They are unicast and multicast addresses. Unicast addresses are used to uniquely identify an individual LonTalk/IP device. Multicast addresses are used to identify a group of LonTalk/IP devices. The LonTalk/IP network address is an IP address. The format of the IP address is channel-type dependent. For IP-70 LAN channels, a standard IPv4 network address format is used. For LON channels, a standard ISO/IEC 14908-1 network address format is used. The LonTalk/IP protocol specifies the conversion between the different address formats using a stateless algorithm. LonTalk/IP LAN to LON routers such as an IzoT router use this algorithm to route packets between LAN and LON channels, automatically converting the addresses as required. Since the algorithm is stateless, IzoT routers do not require special provisioning or configuration to perform the network address format conversion. This topic describes the formats and requirements for unicast and multicast LonTalk/IP network addresses.

Unicast Network Addresses

Network address conversion for unicast addresses is dependent on the LonTalk/IP domain length and value. The LonTalk/IP domand length can be 0, 1, or 3 bytes. LonTalk/IP does not support 6-byte domains. The following table summarizes the conversion between a LAN channel and a LON channel for a LonTalk IP address with a domain of up to 3 bytes (D1, D2, and 00), a one-byte subnet ID (S), and a one-byte node ID (N).

 

LonTalk/IP Domain Length LonTalk/IP Domain ID Value LAN IPv4 Address LON ISO/IEC 14908-1 Address
0   192.168.S.N S, N
1 D1 10.D1.S.N D1, S, N
3 D1D200 D1.D2.S.N D1D200, S, N

 

The LonTalk/IP domain, subnet, and node IDs must meet the following requirements:


Other domain IDs may not be valid in a particular IP infrastructure as they may conflict with existing IP addresses.

 

Multicast Network Addresses

There are three types of LonTalk/IP multicast addresses. They are domain broadcast, subnet broadcast, and group addresses. Network address conversion for multicast addresses is dependent on the type of multicast, as shown in the table below:


LonTalk/IP Multicast Address Type LonTalk/IP Address Value LAN IPv4 Address LON ISO/IEC 14908-1 Address
Domain Broadcast   239.192.0.0 14908-1 Domain Broadcast
Subnet Broadcast S 239.192.0.S 14908-1 Subnet Broadcast to S
Group G 238.192.1.G 14908-1 Group G