Address resolution table

https//www.racom.eu/eng/support/firmware/mr400/art.html

Print version

12. Address resolution table

The (A)rt menu is used for creation and editing of Address resolution tables. These tables are used on Channel-to-Node interface, when a complex conversion of the user address space to the MORSE address space is needed. Ethernet and some protocol access modules can use these tables, too. The (A)rt menu allows for editing table items regardless of the purpose to which the table is used.

The size of table Art is limited. Art1 to 4 may contain a total of 252 items. No more than 100 items are recommended to be added to a single Art table. More space can be created in table Art using fw Walrus in the hw M-Server for the MAS function.

Table Art contains the required pair (d)est + g(w) of length 4 + 4 bytes. (d)est is, for example, the MORSE address, and g(w) is the IP address. MORSE addresses are converted in the table to IP addresses. Where necessary the content of the pair can be different. For example:

690F0041 C0A80120
690F0042 C0A80125
690F0072 C0A80114
690F1589 C0A80137

From MORSE main menu type A Enter

Address Resolution Table: (N)o:1
(d)est:00000000 g(w):00000000
(g)et p(u)t (D)elete item
de(f)ault gw
(c)lear
(r)ead all
(q)uit
>>
(N)o :1

— number of table edited (1, 2, 3 or 4)

(d)est: 00000000

— destination address (dest) used in the following commands

g(w) : 00000000

— gateway address (gw) used in following commands

p(u)t

— adds new item ( dest and gw ), overwrites when an item with the same dest already exists

(g)et

— for given dest finds the respective gw

(D)elete

— deletes the item with given dest (if exists)

de(f)ault

— writes gw into the default gw item (the default gw is used for unlisted destinations)

(c)lear

— clears the whole table

(e)dit

— edit mode – the whole table is transferred into Setr and edited or it is directly created in Setr and then written as a whole to the CU. See the description below.

(r)ead

— reads the whole table

type r Enter

ART No 1: 
items: 2
default gw: C0A80052 (192.168.0.82   )
dest:    gw:
56509004 C0A86304 (86.80.144.4     192.168.99.4   )
56509005 C0A86412 (86.80.144.5     192.168.100.18 )
>>

Edit Art as one unit

From MORSE main menu type Ae Enter Enter:

Address Resolution Table editor:
ART No 1: 
items: 2
default gw: 00000000 (0.0.0.0        )
dest:    gw:
56509004 C0A86304 (86.80.144.4     192.168.99.4   )
56509005 C0A86412 (86.80.144.5     192.168.100.18 )
(c)lear table (N)o:1
(d)est: 56509005 ga(t)eway: C0A86412
de(f)ault gateway
(g)et p(u)t (D)elete item
(r)ead (w)rite
(q)uit

The content of the table is transferred to Setr. Using commands (c)lear, (d)est, ga(t)eway, de(f)ault, (g)et, p(u)t, (D)elete the table can be modified in Setr in the same manner as was described above for work with menu A Enter in the CU. Using command (w)rite the whole table can be transferred to the connected CU to Art designated by parameter N(o):1.

Similarly the content of the table can be transferred from Art1 for example, to Art2 or to another CU. For example:

From a remote CU we can read the content of table Art3 using command(r)ead:

Address Resolution Table editor:
ART No 3: 
items: 1
default gw: 00000000 (0.0.0.0        )
dest:    gw:
11111111 33333333 (17.17.17.17     51.51.51.51    )
(c)lear table (N)o:3
(d)est: 0 ga(t)eway: 0
de(f)ault gateway
(g)et p(u)t (D)elete item
(r)ead (w)rite
(q)uit
690F8001h>

Don’t close menu Art, redirect to another CU, select the number of the Art table (N)o:and write the content there using command (w)rite:

!h0101

690F0101h>N4

690F0101h>w

690F0101h>
ART No 4: O.K.
690F0101h>r

690F0101h>
ART No 4: 
items: 1
default gw: 00000000 (0.0.0.0        )
dest:    gw:
11111111 33333333 (17.17.17.17     51.51.51.51    )
690F0101h>

Using (r)ead we see that the content has been inserted into Art 4.

©  2024 RACOM s.r.o. All Rights Reserved.