Passa al contenuto principale

Mappature di indirizzi MILNET X.25

Tutti gli host MILNET ricevono indirizzi assegnati dal Defense Data Network (DDN). L'indirizzo di un host MILNET può essere ottenuto dal Network Information Center (NIC), rappresentato come una stringa di testo ASCII nel cosiddetto «host table format». Questa sezione descrive il processo mediante il quale gli indirizzi MILNET X.25 possono essere derivati dagli indirizzi nel formato host table del NIC.

Un indirizzo host table del NIC consiste nelle rappresentazioni in stringa di testo ASCII di quattro numeri decimali separati da punti, corrispondenti ai quattro ottetti di un indirizzo Internet a trentadue bit. I quattro numeri decimali sono indicati in questa sezione come "n", "h", "l" e "i". Pertanto, un indirizzo host table può essere rappresentato come: "n.h.l.i". Ciascuno di questi quattro numeri avrà una, due o tre cifre decimali e non avrà mai un valore superiore a 255. Ad esempio, nella host table, l'indirizzo: "10.2.0.124", n=10, h=2, l=0 e i=124. Per convertire un indirizzo host table in un indirizzo MILNET X.25:

      1.  If h < 64, the host table address corresponds to the X.25
physical address:

ZZZZ F IIIHHZZ (SS)

where:

ZZZZ = 0000 as required

F = 0 because the address is a physical address;

III is a three decimal digit respresentation of
"i", right-adjusted and padded with leading
zeros if required;

HH is a two decimal digit representation of "h",
right-adjusted and padded with leading zeros
if required;

ZZ = 00 and

(SS) is optional

In the example given above, the host table address 10.2.0.124
corresponds to the X.25 physical address 000001240200.
  1. Se h > 64 o h = 64, l'indirizzo host table corrisponde all'indirizzo logico X.25
                            ZZZZ F RRRRRZZ (SS)

dove:

        ZZZZ = 0000    as required

F = 1 because the address is a logical address;

RRRRR is a five decimal digit representation of
the result "r" of the calculation

r = h * 256 + i

(Note that the decimal representation of
"r" will always require five digits);

ZZ = 00 and

(SS) is optional

Thus, the host table address 10.83.0.207 corresponds to the X.25
logical address 000012145500.

In entrambi i casi, i campi "n" e "l" dell'indirizzo host table non vengono utilizzati.