Skip to main content

Ethical hacking simplified. IPv6 autoconfiguration (System fundamentals)

Autoconfiguration

Your feedback is really important. For suggestions and corrections you can drop your comments. Thanks 


This ease the burden on network administrators. It allows the devices to assign network addresses to themselves automatically with a link-local unicast address. The autoconfiguration is the same with the IPv4 DCHP (dynamic host configuration protocol) they both configure devices/hosts automatically. By default an IPv6 host can configure a link-local address for each interface. Using router discovery, host can learn the address of routers, additional and other configuration settings. The router advertisement message (this is a multicast message the router always send out to help the IPv6 to configure itself) states whether the address is going to be stateful configuration.

NB: autoconfiguration can only be done on interfaces that support multicast addressing. This autoconfiguration is fully described in RFC 2462 IPv6 stateless address autoconfiguration.

Address states

  • Tentative: This is the process of being verified to be a unique address. As we already read in the definition of IP address. IP address can never be duplicated on the same network. If duplication of IP addressing occurs all the two addresses will report IP conflict. So this state make sure there is no IP conflict.
  • Proffered: This the next step after uniqueness verification, the address enters into the preferred step. This step means the address is unique. In this state a host can send and receive message/data. The amount of time a node/host stays in the tentative and preferred states is been defined in the router advertisement.
  • Deprecated: In this state the address is stil valid but its been discouraged to use for new communication. Meaning its preferred time is over. Host/node can still send and receive message/data with same address.
  • Valid: This is the state in which host can send and receive data with the unicast address. The valid states covers the preferred and deprecated state. The valid states time is defined in the router advertisement.
  • Invalid: This is the state after the valid time of an address has expired, a node cannot send or receive data with the IP address.

Types of autoconfiguration

  • Stateless: This configuration solely relies on the router advertisement message. It receives the prefix and require the host not to use stateful address.
  • Stateful: This configuration is based on the use of stateful configuration protocol. DHCPv6. To obtain address and other settings, the host uses stateful configuration when it receives the router advertisement that do not include the prefix, it then requires the host to use the stateful configuration protocol. Hosts uses stateful address when there is no router present.
  • Both: This is based on the router advertisement. The node receives messages which include stateless address prefix but requires the host the use stateful addressing protocols.
NB: link-local addressing is always configured for all systems using the above configuration system.

Autoconfiguration networking device process
  1. A tentative link-local address is derived, using the local link prefix which is FE80::/64 and the 64bit interface ID.
  2. A duplicate check is carried out to make sure the tentative address is unique.
  3. If the step two failed, the address must be configured manually.
  4. If step two is successful, the tentative address is seen as a unique and valid address. The address is then assigned to the interface and the corresponding multicast link-layer address is registered with network.
Autoconfiguration host process

  1. Host send a router request message.
  2. If the host didn't receive router advertisement message, the host uses the stateful configuration protocol (DHCPv6) to obtain address and other settings.
  3. If it receives the router advertisement, the host address will be included in the message.
  4. For each stateless configuration addressing, the prefix is always included.

NB: To make sure there are no duplicate addresses, when a duplicate address is identifies in the tentative state, the address will not be assigned to another device, but when duplicate is not sensed, its automatically assigned.

Reference: technet.microsoft.com
                  Sybex CCNA study guide



Comments

Popular posts from this blog

Microsoft Office for Tablet now on Google Play store

Back in November, Microsoft opened up early previews builds for its new mobile Office applications for Android tablets to those willing to sign up and wait for an invitation. After taking on feedback over the past couple of months, Microsoft has announced that it is expanding its preview scheme by releasing its Office applications to everyone directly through the Google Play Store. The new Office software for mobile unifies Android, IOS, and Windows platforms. Previously each platform had to make do with its own apps, meaning that feature sets differed depending on your operating system and updates were often slow and intermittent. By unifying the Office platform, Microsoft hopes to bring updates and new features to users in a timelier manner. There are still a couple of conditions attached to the preview builds though. Firstly, Office is still limited to ARM-based Android tablets with a screen size between 7 and 10.1 inches. Your tablet will also need to be running Ki...

Tips for strong password

As we have already discussed that passwords are strong and at the same time weak! If user create password from his name, date of birth or any other combination that is related to him, cracking down his account doesn't need much technical know how. Meaning attacker who know you, can be lucky enough to access your sensitive information by only entering certain key combinations. Creating strong and almost non hackable wait!!! is there any non hackable password! I was once told that any system can be hacked! It only took time, skills and resources! You are absolutely right! But at-least one has to really suffer before getting your data! Arm robbers do rob banks! Do you think a local or common thief can rob bank? The ans is absolute NO! Strong passwords doesn't happen by chance! Below are the steps to create a very strong passwords! Passwords should be at-least 8 characters Its already becoming standard on the internet. Many websites doesn't allow less than 6 charact...

Ethical hacking simplified. cryptographic hashing.

Cryptoghraphy Hashing Hashing is the process of converting plaintext into chipertext. One of the advantage of  hashing is, its  almost impossible to alter. Even if the intruder succeeded in altering the data the receiver will definitely know on receiving the message. Hashing can be seen as a one way encryption process. Its main aim is to confirm the authenticity of data. Hashing output is known as hash, hash value or message digest. How it work When you are sending the message, you will create an encryption with your private key using a particular type of hashing which we will talk about shortly. It will then create gabbled messages which is fixed length and exactly the length of the message. Bundles the chipertext with the plaintext together which are both encrypted. Upon arriving the destination, the receiver will get the public key of the sender and decrypt the message. Mind you hashing is here to confirm the authenticity of the message. After confirming the sender...