Thomas, here is an example of a join message header, as seen on the join side between pledge and Join Proxy. Please let me know how I can make this more complete for your code. If you want hex dump, I'll do that, but I'll have to create a full topology with some addresses.
Let me do a second email for CoAP proxy example, once you are happy
with this presentation. I don't have a good idea for size of OSCOAP pieces, I
will pull those out.
L2:
srcmac=ab-cd-12-34-56-78-ab-cd
dstmac=88-88-aa-bb-cc-dd-ee-ff
IPv6:
ver=6
tc=0
flowid=0
src=fe80::abcd:1234:5678:abcd
dst=fe80::0
nh=17
UDP:
srcport=1234 <- could be a constant?
dstport=TBD <- we could ask for a port, or use 5683
ULP: OSCOAP stuff.
Travelling from Join Proxy to root/JRC using IPIP(IP):
L2:
srcmac=ee-ff (2-byte, assigned short-address)
dstmac=next-hop-l2
IPv6:
ver=6
tc=0
flowid=0
src=2001:db8::eeff
dst=2001:db8::0001 (assume JRC got assigned short-address 0001)
nh=41
RPI header: rank=X, instanceID=Y
IPv6:
ver=6
tc=0
flowid=0
src=fe80::abcd:1234:5678:abcd
dst=fe80::0
UDP:
srcport=1234
dstport=TBD
ULP: OSCOAP stuff.
Travelling from root/JRC to Join Proxy using IPIP(IP), if JRC is co-located
in the DODAG root:
L2:
srcmac=next-hop-l2
dstmac=ee-ff
IPv6:
ver=6
tc=0
flowid=0
src=2001:db8::0001
dst=2001:db8::eeff
nh=41
RPI header: rank=X, instanceID=Y
RH3 header: X hops (do you want me to fill this in?)
IPv6:
ver=6
tc=0
flowid=0
src=fe80::abcd:1234:5678:abcd
dst=fe80::0
UDP:
srcport=1234
dstport=TBD
ULP: OSCOAP stuff.
Travelling from root/JRC to Join Proxy using IPIP(IP), if JRC is NOT co-located.
in the DODAG root. JRC is now 2001:db8:1::abcd.
L2:
srcmac=next-hop-l2
dstmac=ee-ff
IPv6:
ver=6
tc=0
flowid=0
src=2001:db8::0001
dst=2001:db8::eeff
nh=41
RPI header: rank=X, instanceID=Y
RH3 header: X hops (do you want me to fill this in?)
IPv6:
ver=6
tc=0
flowid=0
src=2001:db8:1::abcd
dst=2001:db8::eeff
nh=41
IPv6:
ver=6
tc=0
flowid=0
src=fe80::abcd:1234:5678:abcd
dst=fe80::0
UDP:
srcport=1234
dstport=TBD
ULP: OSCOAP stuff.
Link-Local anycast:
https://tools.ietf.org/html/rfc4291#section-2.6
as far as I can tell, we can make up our own LL-anycast, but we could
reasonably also use fe80::0
--
Michael Richardson <[email protected]>, Sandelman Software Works
-= IPv6 IoT consulting =-
signature.asc
Description: PGP signature
_______________________________________________ 6tisch mailing list [email protected] https://www.ietf.org/mailman/listinfo/6tisch
