* DECnet phase IV routing messages over ethernet & DDCMP
@ 1992-03-12 19:55 Dan Lambright
1992-03-13 16:22 ` Todd M. Miller
0 siblings, 1 reply; 4+ messages in thread
From: Dan Lambright @ 1992-03-12 19:55 UTC (permalink / raw)
I've been trying to interpret DECnet phase IV routing messages
over DDCMP and the ethernet. I was wondering if anyone out there could
answer some of these questions I have:
1. Why are the routing message "segments" divided into 32 bytes? Is that
an arbitrary number?
2. Over ethernet, our VAX sends a routing message containing the hops
and costs to 1024 (the size of its routing table.) However,
over DDCMP, the VAX only sends half that - 512 nodes!
3. Is there a maximum size of a DDCMP data packet? How about DECnet protocol
over ethernet? I assume that for the routing layer, the max size
packet is the value is the BLKSIZE field of the router initialzation
packet.
Question 2, in particular, has us confused. Any help on these questions
is greatly apreciated.
Thanks in advance,
Henry Lambright
dan@gordian.com
/*-----------------------\
| G o R d I a N |
| ENGINEERING |
| Santa Ana Heights, CA |
| (714)850-0205 |
\------------------------*/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: DECnet phase IV routing messages over ethernet & DDCMP
1992-03-12 19:55 DECnet phase IV routing messages over ethernet & DDCMP Dan Lambright
@ 1992-03-13 16:22 ` Todd M. Miller
1992-03-13 18:50 ` DSSI Bus - need information P. Allen Jensen
1992-03-17 0:43 ` DECnet phase IV routing messages over ethernet & DDCMP jeh
0 siblings, 2 replies; 4+ messages in thread
From: Todd M. Miller @ 1992-03-13 16:22 UTC (permalink / raw)
dan@gordian.com (Dan Lambright) writes:
>I've been trying to interpret DECnet phase IV routing messages
>over DDCMP and the ethernet. I was wondering if anyone out there could
>answer some of these questions I have:
Digital Data Communications Message Protocol(DDCMP) is no longer
supported by DEC (according to nasty mail I got for mentioning it in
comp.sys.ultrix), but in VMS I have relied on it. As many of the
readers of this group know, it is the network protocol covering
Rainbows, PRO's, Microvaxes, and VAXes that brings network access
(and multiple sessions) over a cable or modem.
For those interested, I present here an abridged version of "Technical
Aspects of Data Communication" chapter 18 "DDCMP" by John E. McNamara, 1977.
Although I have not tried, it seems to be everything you need to program
a DDCMP
DDCMP Message Queuing System:
"In the DDCMP protocol, any pair of stations that exchange messages
with each other number those messages sequentially starting with message
number 1. Each successive data message is numbered using the next number
sequence, modulo 256. Thus a long sequence of messages would be numbered 1,2,3,... 254,255,0,1,... The numbering applies to each direction separately.
For example, station A might be sending its messages 6,7,8 to station B while
station B is sending its messages 5,6,7 to station A. Thus, in a multipoint
configuration where a control station is engaged in two-way communication with
10 tributary stations, there are 20 different message number sequences
involved - one for messages from each of the 10 tributaries to the control
station and one for messages from the control station to each of the 10
tributaries.
Whenever a station transmits a message to another station, it assigns
its next sequential message number to that message and places that number in
the "Sequence" field of that message header. In addition to maintaining a
counter for sequentially numbering the messages which it sends, the station
also maintains a counter of the message numbers received from the other
station. It updates that counter whenever a message is received with a
message number exactly one higher than the previously received message number.
The contents of the received message counter are inclueded in the "Response"
field of the message being sent, to indicate to the other station the highest
sequenced message that has been received.
When a station receives a message containing an error, that station
sends a negative acknowledge (NAK) message back to the transmitting station.
DDCMP does not require an acknowledgement for each message, as the number
in the response field of a normal header, or in either the special NAK or
positive acknowledgement (ACK) message, specifies the sequence number of the last good message received. For example, if messages 4,5, and 6 have been
received since the last time an acknowledgement was sent, and message 6 is
bad, the NAK message specifies the number 5 which says "messages 4 & 5 are
good and 6 is bad." When DDCMP operates in full-duplex mode, the line does not
have to be turned around; the NAK is simply added to the messages for the
transmitter.
When a station receives a message that is out of sequence, it does not
respond to that message. The transmitting station will detect this from the
response field of the messages which it receives, and if the "reply wait" timer
expires before the transmitting station receives an acknowledgement, the
transmitting station will send a "REP" message. The REP message contains
the sequence number of the most recent unacknowledged message sent to the
distant station. If the receiving station has correctly received the message
referred to in the REP message (as well as the messages proceding it), it
replies to the REP by sending a positive acknowledgement (ACK). If it has
not received the message referred to in sequence, it sends a NAK containing
the number of the last message that it did receive correctly. The transmitting
station will then retransmit all data messages after the message specified
in the NAK.
The numbering system for DDCMP messages permits there to be up to
255 unacknowledged messages outstanding, a useful feature when working on
high delay circuits such as those using satellites.
DDCMP Message Format:
- - - ----- ---- -------- -------- ------- ----- ----------- -----
|S||S||C||Count||Flag||Repsonse||Sequence||Address||CRC 1||Information||CRC 2|
|Y||Y||L|| 14 || 2 || 8 bits || 8 bits || 8 bits|| 16 ||up to 16363|| 16 |
|N||N||A||bits ||bits| -------- -------- ------- | bits|| 8-bit || bits|
| || ||S| ----- ---- ----- | characters| -----
| || ||S| -----------
- - -
| Only Data & Maintenance
Message types have info &
CRC 2 fields |
SYN is a sync character.
Classes: 10000001 = Data Messages (SOH)
00000101 = Acknowledgement (ENQ)
00000101 = Negative Acknowledgement (DLE)
Count: Used for Data and Maintenance messages to indicate the number
of characters that will follow the header and form the information part
of the message. In control messages, the first 8 bits designate the
type of control message and the last 6 0's (except for NAK which uses
the low 6 bits for a reason:
BCC Header Error 000001
BCC Data Error 000010
Rep. Response 000011
Buffer Unavailable 000100
Reciever Overrun 000101
Message too Long 000110
Header Format Error 000111
Flag:
Contains the quick sync and select flags, bits 0 and 1 respectively:
Quick Sync is used to inform the receiving station that the message will
be followed by sync characters; the receiver may wish to set its associated
synchronous receiver hardware into "sync search" and syncs will be discarded
until the first character of the next message arrives. The purpose of this
is to permit the receiving station to engage any hardware sync-stripping logic
it might have and prevent it from filling its buffers with sync characters.
The select flag is used to indicate that this is the last message
which the transmitting station is going to transmit and that the addressed
station is now permitted to begin transmitting. This flag is useful in
half-duplex or multipoint configurations, where transmitters need to get
turned on and off.
The Response field:
The response field contains the number of the last message correctly received.
This field is used in Data Message and in the positive and negative acknowledge
types of Control Message. Its function should be evident from the preceding
discussion of sequence control.
The Sequence field:
The sequence field is used in Data Messages and in the REP type of Control
Message. In a Data Message, it contains the sequence number of the message as
assigned by the transmitting station. In a REP message, it is used as part
of the question: "Have you received all messages up through message number
(specify) correctly?".
The Address Field:
The address field is used to identify the tributary station in multipoint
systems and is used in message both to and from the tributary. In point
to point operation, a station sends address "1" but ignores the address
field on reception.
In addition to the positive and negative acknowledgement and REP types of
Control Message, there are also start and start acknowledge Control Messages.
These are used to place the station which receives them in a known state.
In particular, they intialize the message counters, timers, and other counters.
The start ackknowledge message indicates that this has been accomplished.
Maintenance Messages: These are typically bootstrap messages containing
load programs in the information field.
Known Drawbacks: The header is short and higher level operating systems
must have a buffer of the appropriate size ready on relatively short notice.
--
===============================================================================
Todd M. Miller tmiller@caos.caos.kun.nl
CAOS/CAMM, KUN tmiller@sci.kun.nl
Nijmegen, NL (031) 080-653383 (CAOS/CAMM)
^ permalink raw reply [flat|nested] 4+ messages in thread
* DSSI Bus - need information
1992-03-13 16:22 ` Todd M. Miller
@ 1992-03-13 18:50 ` P. Allen Jensen
1992-03-17 0:43 ` DECnet phase IV routing messages over ethernet & DDCMP jeh
1 sibling, 0 replies; 4+ messages in thread
From: P. Allen Jensen @ 1992-03-13 18:50 UTC (permalink / raw)
We have two DECsystem 5500's interconnected with a DSSI bus. Each
system has two rf72 drives in the enclosure. One of the systems is
the "primary" system and the other is the "secondary" system.
The "secondary" system is a "hot-standby" for the primary. The
two rf72 drives in the Primary are being shadowed to the secondary.
The OS is ULTRIX.
My question is:
If the secondary fails, can I disconnect the DSSI cable between the
primary and secondary and terminate the DSSI bus at the primary without
stoping the primary (ie - primary is up and running multi-user the
entire time) ?
Another related question - is it true that under ULTRIX, the boot device is
built into the kernel ? I have been told that to have the "secondary"
system above boot off the shadow drive (when, for example, the primary
system dies) I have to change the drive ID plugs on the disks.
It seems reasonable that the secondary could just boot off of drives
with ID 2 & 3 (0 & 1 are in the primary) by setting the boot device
at the >> prompt and having the /etc/rc* scripts on the shadowed
devices be smart enough to mount things from 2&3 if they cannot get to 0&1.
Any thoughts on this ? Also, any suggestions for high-availability
configurations of DECsystem 5500's or pointers to papers describing
such solutions ?
Thanks,
P. Allen Jensen
--
P. Allen Jensen | BellSouth Advanced Networks
Tel. 404.847.2900 | 1100 Johnson Ferry Road, Suite 900
Internet: jensen@eedsp.gatech.edu | Atlanta, GA 30342, USA
X.400 gateway: /G=Allen/S=Jensen/O=BSAN/ADMD=BELLSOUTH/C=US/@sprint.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: DECnet phase IV routing messages over ethernet & DDCMP
1992-03-13 16:22 ` Todd M. Miller
1992-03-13 18:50 ` DSSI Bus - need information P. Allen Jensen
@ 1992-03-17 0:43 ` jeh
1 sibling, 0 replies; 4+ messages in thread
From: jeh @ 1992-03-17 0:43 UTC (permalink / raw)
In article <1992Mar13.162249.24396@sci.kun.nl>, tmiller@sci.kun.nl (Todd M. Miller) writes:
> dan@gordian.com (Dan Lambright) writes:
>
>
>>I've been trying to interpret DECnet phase IV routing messages
>>over DDCMP and the ethernet. I was wondering if anyone out there could
>>answer some of these questions I have:
>
> Digital Data Communications Message Protocol(DDCMP) is no longer
> supported by DEC (according to nasty mail I got for mentioning it in
> comp.sys.ultrix), but in VMS I have relied on it.
Well, I dunno about Ultrix, but in VMS it is still supported. And all of the
"DECnet/VAX Extensions for VMS" (or whatever they're calling the `Phase V
First Wave' stuff this month) documents note that DDCMP *will* be supported
for the forseeable future.
> For those interested, I present here an abridged version of "Technical
> Aspects of Data Communication" chapter 18 "DDCMP" by John E. McNamara, 1977.
> Although I have not tried, it seems to be everything you need to program
> a DDCMP
> [...] [about 140 lines deleted]
this is all a very nice example of a net.copyright-violation, but what on
earth does it have to do with the original question???
--- Jamie Hanrahan, Kernel Mode Consulting, San Diego CA
uucp 'g' protool guru, VMSnet (DECUS uucp) Working Group, and
Chair, VMS Programming and Internals Working Group, U.S. DECUS VAX Systems SIG
Internet: jeh@cmkrnl.com, hanrahan@eisner.decus.org, or jeh@crash.cts.com
Uucp: ...{crash,eisner,uunet}!cmkrnl!jeh
"There's no security... where's the challenge?!?" -- Bruce Ellis on Unix
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1992-03-17 0:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-03-12 19:55 DECnet phase IV routing messages over ethernet & DDCMP Dan Lambright
1992-03-13 16:22 ` Todd M. Miller
1992-03-13 18:50 ` DSSI Bus - need information P. Allen Jensen
1992-03-17 0:43 ` DECnet phase IV routing messages over ethernet & DDCMP jeh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox