Analog.com Analog Dialogue Wiki English 简体中文 日本語
EngineerZone
EngineerZone
  • Log In
  • Site
  • Search
  • User
  • Forums

    Popular Forums

    • RF and Microwave
    • Power Management
    • Video
    • FPGA Reference Designs
    • Precision ADCs
    • Linux Software Drivers
    • SigmaDSP Processors & SigmaStudio Dev. Tool

    Product Forums

    • A2B
    • Amplifiers
    • Analog Microcontrollers
    • Clock and Timing
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy Monitoring and Metering
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Processors and DSP
    • Switches/Multiplexers
    • Temperature Sensors
    • Voltage References
    View All

    Application Forums

    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing Library
    • Motor Control Hardware Platforms
    • Optical Sensing
    • Precision Technology Signal Chains Library
    • Video
    • Wireless Sensor Networks Reference Library

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools and Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Reference Designs
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    Maximize the Benefits of High Bandwidth Current Sense Amplifiers for Space Constrained Applications

    Recent Discussions

    • Pluto is not receiving data
    • ADALM-pluto sampling frequency
    • ADALM PLUTO SDR
    • Bad FIT image format and MSD mounting errors in firmware built for Sidekiq Z2
    • set the sample rate to 30MHz or the maximum that usb2.0 allows

    Places

    • ADI Education Home
    • ADI Webinars
    • StudentZone (Analog Dialogue)
    • Video Annex
    • Virtual Classroom

    Latest Webinars

    • Maximize the Benefits of High Bandwidth Current Sense Amplifiers for Space Constrained Applications
    • Design Efficient Power Solutions for Battery-powered Applications
    • Shunt-based Energy Metering in High-Power Applications
    • Isolating GigaSpeed: Unlocking Data Integrity for USB and HDMI Communication
    • Extend Battery Life and Maximize Performance - Let Supervisors Do The Work
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ245 on Fossil Dating with Carbon14
    View All

    Places

    • Community Help
    • Logic Lounge
    • The Weekly Brew

    Resources

    • EZ Code of Conduct
    • Getting Started Guide
    • ADI: Words Matter
    • Community Help Videos
    View All
  • Blogs

    Highlighted Blogs

    Join the Analog Devices IEEE Radar Challenge

     

    Seeing is Believing but Smart Surveillance Cameras Let You Speak and Listen Too!

    Latest Blogs

    • We are Celebrating a Milestone on EngineerZone: Meet Our 100K Member!
    • How to Raise the Resolution of an Optical Motor Encoder without Changing the Disk
    • The Changing Nature of Logistics and Retail Automation
    • Variable Speed Drive 101
    • How to Optimize Voltage Regulators for Powering an Audio Amplifier
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • Partners

    Electronic Design Services - PartnerZone

    • Boston Engineering
    • Calian, Advanced Technologies
    • Colorado Engineering Inc. (DBA CAES AT&E)
    • Clockworks Signal Processing
    • Epiq Solutions
    • Fidus
    • PalmSens
    • Richardson RFPD
    • Tri-Star Design, Inc.
    • VadaTech
    • Vanteon
    • X-Microwave
    View All
AD6LoWPAN Library
  • Wireless Sensor Networks Library
AD6LoWPAN Library
Documents IP address allocation for my 6LoWPAN devices in the network?
  • Members
  • Tags
  • More
  • Cancel
  • Documents
  • ADF7242 with RaspberryPi
  • ADUCRF101 Software and Application framework; Mesh Network in Sub-GHz
  • ADWSN-UI tool displaying "unknown device" on my centerpoint node
  • ADWSN: AD6LoWPAN Support Community
  • ADXL362
  • ADXL362 sleep time and activity
  • Can I send commands from Border Router to Node in AD6LoWPAN?
  • Can I send data from Node to Border Router in AD6LoWPAN?
  • Can MDuCM3029 + ADF7030-1 be used for AD6LoWPAN ?
  • Concept of "Orbit" in AD6LoWPAN? Why is it introduced?
  • Data Packets from Node WSN
  • Default configuration for AD6LoWPAN devices
  • Device types in AD6LoWPAN EDK?
  • Explain the 3-Node demo procedure and required tools
  • FAQ: AD6LoWPAN 3-Node demonstration - procedure and required tools
  • FAQ: Commands from Border Router to Node in AD6LoWPAN
  • FAQ: How to interpret the sensor data collected on ADWSN tool?
  • FAQ: Is the packet format in AD6LoWPAN same as standard one?
  • FAQ: Node Joining Process in 6LoWPAN - ND, RPL
  • FAQ: Operating Modes & Supported data rates in AD6LoWPAN
  • FAQ: RPL Non-Storing mode in AD6LoWPAN
  • GPIO and Transceiver Interrupts
  • HOW CAN I GET THE TINY WSN SCHEMATICS
  • How different is AD6LoWPAN from Contiki OS based implementation?
  • How does a 6LoWPAN device register to network?
  • how many number of sensors can be displayed in the monitor?
  • How to interpret the different messages received on the UI tool?
  • How to interpret the sensor data collected on ADWSN tool?
  • How to send “User Defined Commands”  from Border Router to Node?
  • How to set sleep mode in ADXL362(MEMS)?
  • I have WSN Bunch version kit, Can this be used for AD6LoWPAN also?
  • IP address allocation for my 6LoWPAN devices in the network?
  • Is AD6LoWPAN implementation standards based solution?
  • Is AD6LoWPAN network autonomous, self-forming & self-healing?
  • Key features & Product details of AD6LoWPAN EDKv1.0
  • Maximum payload in AD6LoWPAN?
  • My WSN nodes are not communicating
  • Node not joining the network after firmware upgrade from PC tool
  • Packet format for 6LoWPAN/AD6LoWPAN?
  • question on multi-channel, and channel hopping
  • Received packets size
  • Significance of port number in communication from Border Router to Node?
  • Supported PHY options in AD6LoWPAN?
  • unable to detect my devices in the pc tool and sometimes displaying as “unknown devices”.
  • unable to flash my Bunch WSN boards
  • What are the different standards followed in AD6LoWPAN?
  • What are the different types of messages used in 6LoWPAN?
  • What do I get with this AD6LoWPAN EDK? Is this for everyone or Is it more apt for protocol experts?
  • What happens when the border router resets?
  • What is the default tx power in AD6LoWPAN EDKv1.0, and how do I change it?
  • What type of routing (source/non-source) is supported in AD6LoWPAN?
  • What type of routing is supported in AD6LoWPAN? Can you explain it briefly?
  • Wireless Sniffer with AD6LoWPAN? Is it offered free of cost along with the EDK?
  • With one USB-SWD/UART-EMUZ, how do I setup 3-node demo?

IP address allocation for my 6LoWPAN devices in the network?

Original Question: IP address allocation for my 6LoWPAN devices in the network? by NagarjunaG

How is the IP address assigned to each of WSN/6LoWPAN devices in the network?


Verified Answer: RE: IP address allocation for my 6LoWPAN devices in the network? by NagarjunaG

AD6LoWPAN, as per IPv6 specification, performs stateless Address Auto Configuration as a component of the Neighbor Discovery (ND) protocol. This helps in allocating the IP address for any 6LoWPAN device.


Typically, a router or a dedicated server broadcasts the configuration information to all interfaces by means of ND protocol routing prefix advertisements. This begins IP address assignment on the receiving interfaces for local or global routing purposes.

 

The IPv6 address is formed from its network/routing prefix and the Interface Identifier (IID). The interface identifier is nothing but the 64-bit MAC address of the interface.

 

In short, when any device is powered up, the following happens:

1. It generates Link Local IPv6 address based on the network prefix and IID (Interface Identifier). The 64-bit MAC address is used as Interface Identifier for IPv6 address.

2. Using the link local IPv6 Address, the node performs the Neighbor Discovery (ND) in order to derive its global IPv6 address. The Global IPv6 address is derived using the Prefix Information Option (PIO) information received from the Router Advertisement (RA) packet. This address is used by the node for sending the UDP messages.

For further information please refer to RFC4862.

 

Additional Notes:

  • IPv6 requires a link-local address to be assigned to every network interface on which the IPv6 protocol is enabled.
  • Link-local addresses are not guaranteed to be unique beyond a single network segment. Hence routers do not forward packets with link local addresses.
  • The link local address is required for IPv6 sublayer operations of the Neighbor Discovery (ND) protocol, as well as for some other IPv6  based protocols, like DHCPv6.


Question: RE: IP address allocation for my 6LoWPAN devices in the network? by ezadminThis question has been closed by the EZ team and is assumed answered.

  • Share
  • History
  • More
  • Cancel
Related
Recommended
Social
Quick Links
  • About ADI
  • ADI Signals+
  • Analog Dialogue
  • Careers
  • Contact us
  • Investor Relations
  • News Room
  • Quality & Reliability
  • Sales & Distribution
  • Incubators
Languages
  • English
  • 简体中文
  • 日本語
myAnalog

Interested in the latest news and articles about ADI products, design tools, training and events?

Go to myAnalog
Analog Logo
©1995 - 2023 Analog Devices, Inc. All Rights Reserved
沪ICP备09046653号-1
  • Sitemap
  • Legal
  • Privacy & Security
  • Privacy Settings
  • Cookie Settings