Fixing the Mesh-Local EID

46 views
Skip to first unread message

Nidhal Fliss

unread,
Jan 24, 2018, 11:58:38 AM1/24/18
to openthread-users
Hello, I'm trying to fix the Mesh-local EID of one of my devices using theotIp6AddUnicastAddress and sending CoAP messages to it, however it is being filtered in the MAC layer. the error is "OT_ERROR_DESTINATION_ADDRESS_FILTERED". 

My question is, are there more steps to be observed in Fixing the devices IP6@ than just assigning a random @(I've tried various scopes to no avail) ?. If possible can you provide some practical example for this use case.

Thank you for time
Regards. 

Jonathan Hui

unread,
Jan 24, 2018, 12:09:00 PM1/24/18
to Nidhal Fliss, openthread-users
What is the exact value of the IPv6 address you are trying to configure?

You can easily test manual configuration of IPv6 addresses via the CLI as follows:

1) Configure Node 1:

> panid 0x1234
Done
> ifconfig up
Done
> thread start
Done

2) Configure Node 2:

> panid 0x1234
Done
> ifconfig up
Done
> thread start
Done

3) List IPv6 addresses on Node 2:

> ipaddr     
fdde:ad00:beef:0:0:ff:fe00:5801
fdde:ad00:beef:0:ea5e:6210:c6e0:931e
fe80:0:0:0:8c75:b363:87dd:3f67
Done

4) Configure new mesh-local IPv6 address on Node 2 and verify:

> ipaddr add fdde:ad00:beef:0::beef    
Done
> ipaddr
fdde:ad00:beef:0:0:0:0:beef
fdde:ad00:beef:0:0:ff:fe00:4400
fdde:ad00:beef:0:ea5e:6210:c6e0:931e
fe80:0:0:0:8c75:b363:87dd:3f67
Done

5) Ping manually configured address from Node 1.

> ping fdde:ad00:beef:0:0:0:0:beef
8 bytes from fdde:ad00:beef:0:0:0:0:beef: icmp_seq=1 hlim=64 time=10ms

--
Jonathan Hui

--
You received this message because you are subscribed to the Google Groups "openthread-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openthread-users+unsubscribe@googlegroups.com.
To post to this group, send email to openthread-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openthread-users/80cb3972-6de9-4f37-93c4-31fb69e18878%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages