Skip to content

Instantly share code, notes, and snippets.

@willzhang05
Created November 15, 2017 14:06
Show Gist options
  • Save willzhang05/787aeb201b903e9e1ad95e64cbeea652 to your computer and use it in GitHub Desktop.
Save willzhang05/787aeb201b903e9e1ad95e64cbeea652 to your computer and use it in GitHub Desktop.
## AMT Relay discovery ##
* Need anycast address of AMT Relay (233.44.15.9)
* AMT gateway sends AMT Relay Discovery message to anycast address (233.44.15.9)
* Find closest relay using routing table
* Send message to UDP port 2268 and has Nonce
* Relay responds to Gateway with AMT Relay Advertisement message
* Gateway receives message with Relay's unique IP address.
* Gateway uses this IP address for any AMT messages (AMT Requests/AMT Membership updates) sent to this specific Relay
* Relay replies using UDP Port 2268 and contains the same Nonce that the Gateway verifies is the same,
so it knows that the reply is a reply to its Discovery message.
* When Gateway receives this AMT Relay Advertisement Message, the Gateway starts 3-way handshake.
* Gateway sends AMT Request message to Relay using the relay's unique IP address as the destination (along with new Nonce)
* Relay replies with AMT Query with a new Nonce from AMT request and a code (MAC) in further messages from Gateway.
* AMT query encapsulates IGMP membership query and includes Querier's Query Interval Code (QQIC) which specifies Query Interval used by querier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment