");
}
#-------------------------------------------------------------------
vLogHTML("The Format of Relay Message option is correct
");
#-------------------------------------------------------------------
vClear($IF0);
vStop($IF0);
dhcpExitPass();
#NOTREACHED
########################################################################
__END__
=head1 NAME
S_RFC3315_22.10_RelayMsgOP.seq - Checking Relay Message Option in the Relay-reply message
=head1 TARGET
Server
=head1 SYNOPSIS
=begin html
S_RFC3315_22.10_RelayMsgOP.seq [-tooloption ...]
-pkt S_RFC3315_22.10_RelayMsgOP.def
-tooloption: v6eval tool option
See Also DHCPv6.def
=head1 INITIALIZATION
=begin html
TN(Relay agent1)
|
Link0 -------+-----------+--------------- 3ffe:501:ffff:100::/64
|
NUT(Server1)
Relay-reply Message Format
The format of the Relay Message option is:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| OPTION_RELAY_MSG | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
. DHCP-relay-message .
. .
. .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
msg-type
RELAY-REPL(13)
transaction-id
Any
Server ID option
Any
Client ID option
Any
Relay Message option
- option-code
OPTION_RELAY_MSG (9)
- option-len
Length of DHCP-relay-message
- DHCP-relay-message
In a Relay-forward message, the received
message, relayed verbatim to the next relay agent
or server; in a Relay-reply message, the message to
be copied and relayed to the relay agent or client
whose address is in the peer-address field of the
Relay-reply message
| Device Name |
Device Type |
I/F |
Assigned Prefix |
Link Local Addr |
MAC Addr |
| Server1 |
NUT |
Link0 |
3ffe:501:ffff:100::/64 |
NUT's Linklocal address |
NUT's MAC address |
| Relay agent1 |
TN |
Link0 |
3ffe:501:ffff:100::/64 |
fe80::200:ff:fe00:a2a2 |
00:00:00:00:a2:a2 |
=end html
=head1 TEST PROCEDURE
=begin html
NUT TN
| |
| | initialize NUT (as a DHCPv6 Server)
| |
| <---- | Relay-forward (w/ Relay Message option Solicit)
| ----> | Relay-reply (w/ Relay Message option Advertise) (*1)
| |
| |
=end html
=head1 JUDGEMENT
(*1)PASS: The NUT received the Relay-forward message and return the Relay-reply message
including the Relay Message option.
=head1 TERMINATION
N/A
=head1 REFERENCE
=begin html
see also RFC3315
22.10. Relay Message Option
=end html
=head1 SEE ALSO
perldoc V6evalTool
=cut