The Wayback Machine - https://web.archive.org/web/20240917181632/https://www.geeksforgeeks.org/link-local-address/
Open In App

Link Local Address

Last Updated : 07 Jun, 2022
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

In computer networking, a link-local address is the IP address that is to be used for communication within a logical division of the network or in the broadcast domain to which the host is connected.

  • The uniqueness in addresses is not assured in another network segment. Therefore, do not forward by routers.
  • The other devices connected to the same physical (or logical) link can communicate using IPv4 Link-Local addresses. IPv4 Connection-Local communication isn’t appropriate for communication with gadgets that are not genuinely associated with a similar connection. The IP address reaches to be utilized for these addresses lies in the scope of 169.254.1.0 to 169.254.254.255.
  • The total addresses some others out to be 65,023 in the range given in the above point.
  • IPv4 Link-Local addresses should only be used in controlled conditions, such as when reliable, routable addresses are not available (such as on ad hoc or isolated networks). Moreover, it is not preferable to configure IPv4 Link-Local addresses and routable addresses on the same interface at the same time.
  • Assignment of link-local addresses is usually carried out in two ways- one is manually through an administrator and the other one is automatic. Mostly, they are preferred to be assigned with autoconfiguration.
  • The link-local address performs a useful function of automatic address configuration in IPv4 when DHCP (Dynamic Host Configuration Protocol)server like no external address method available and failure of other methods as well, knowledge discovery, or at that time also when routers are not available. The management of various internal protocol components is required in IPv6 so these addresses are mandatory in version 6.
  • It is used for the purpose of communication among nodes that are present on the same link.
 Link-local address

 

Configurations of Link-Local Addresses in IPv4 and IPv6:

1. IPv4 (Internet Protocol Version 4): The link-local addressing for IPv4 is specified in RFC (Request For Comments)3927 document by the IETF (Internet Engineering Task Force). The reserved range that belongs to link-local addresses is 169.254.1.0 – 169.254.254.255 by IETF. In case no option is available then interfaces got Link-local addresses through the internal host which implies stateless address autoconfiguration.

When the address is to be configured with automatic configuration then network hosts choose randomly candidate addresses and for that ARP (Address Resolution Protocol) is used. The purpose of using ARP is to confirm that the current address is not in use on the network. If a reply comes to ARP then it assures that candidate’s IP address is not available to use because of its current usage. So, randomly a new candidate address is generated and the process is repeated. In other words, after the selection of an IP address, a query is sent by a link-local process with the same address on the network to check for its existence. In case of no response, there is an assignment of IP address to the device. Otherwise, the selection of another IP is made and the whole ARP process is repeated. 

When the assignment is done of link-local addresses and in case, there is the availability of globally routable addresses or private addresses than for new connections new addresses are preferred instead of available link-local addresses but communication can still be facilitated via link-local address. 

2. IPv6 (Internet Protocol Version 6): Every interface in IPv6 must have a link-local address. The link-local address is used between point-to-point interfaces as point-to-point communication is carried out between point-to-point interfaces that eliminate the need for a global IPv6 address. Furthermore, routers do not forward these addresses as they are used only on a single link. These are also used for neighbor discovery.

The following diagram shows the Link-local Unicast IPv6 address:

S.No. 64 bits (IP v6) 64 bits
01. FE80:0000:0000:0000 Interface ID
  • The FE80 consists of 10 bits (1111111010) and the next 54 bits are 0’s. 
  • The prefix used with the IPv6 link-local address is FE80::/10.
  • The address block termed as a prefix is reserved for the Link-local Unicast IPv6 address.

There are two possibilities for configuring IPv6 link-local addresses:

  • Manually (stateful) 
  • Auto address (stateless)

The Link-local prefix  (FE80::/10) is used in automatic auto address configuration and Interface Identifier in the specified format of EUI-64. In the manual configuration method, the router command is used. The interface ID is obtained from the interface’s hardware address or MAC address in EUI-64 Format.

In performing several sublayer operations of the Neighbor Discovery Protocol or other protocols such as DHCPv6 which are based on IPv6, this address is a must. As described in RFC 4862, the automatic configuration is implemented as part of the Neighbor Discovery Protocol (NDP) in IPv6. The address is made up of the routing prefix and the interface’s MAC address.


Previous Article
Next Article

Similar Reads

Configuring Local User Authentication in Cisco
One shared password for all authentication purposes is not the safest method. Giving each person a login and password makes tracking them easier. There are primarily two methods for logging into a Cisco router equipment (and also to other networking devices in general). Using a local login and password on the device itself.By using an external auth
5 min read
Creating Virtual Local Area Networks (VLANs) in Cisco
A VLAN is a group of end stations with common requirements regardless of their physical location. VLANs have the same attributes as physical local area networks, but end stations can be grouped even if they are physical local area networks. Not physically on the same LAN segment. VLANs are typically mapped to IP subnetworks. For example, all termin
2 min read
Criteria for Dividing a Local Network
Two or more computers connect to shared resources (such as printers or CDs), exchange files, or enable electronic communication to form a network. You can connect networks to your computer using cables, radio waves, phone lines, satellites, or infrared laser beams. Criteria for Dividing the Local Network:As networks expand, it becomes necessary to
6 min read
MAC Address Table On a Cisco Switches
The MAC (Media Access Control) address is a 48-bit physical identity of a device used to uniquely identify a device in layer 2 of the OSI model. It is represented in hexadecimal. The 3 bytes of the address represent the OUI, and the last 3 bytes are unique to the device itself. The switch keeps track of the other Ethernet interfaces on the network
3 min read
Global Unicast Address in CCNA
Global Unicast Address is equivalent to IPv4 public address. Global Unicast Addresses in IPv6 are globally identifiable and uniquely addressable. For more details, you can refer to IPv4 Addressing and IPv6 Addressing articles. The Most significant 48-bits are designated as global routing prefix which is assigned to a specific automatic system. The
2 min read
How to Find Your Default Gateway IP Address?
A default gateway is a node that enables a connection between networks in order to allow machines on other networks to communicate, In other words, the default gateway is an intermediate node between the local network and the internet. In this article, we will learn How to find the default gateway IP address of a machine. The IP address of the Defa
2 min read
Setting IP Address Using ipconfig Command
Setting up an IP address using the ipconfig command is a simple process that can be performed from any computer with an internet connection. This article aims to provide a step-by-step guide on setting up an IP address using the default gateway and the DNS server. This can be useful if you cannot access the internet or need to change your IP addres
2 min read
Configuring NAT For IP Address Conservation in Cisco
IP address conservation is the goal of Network Address Translation (NAT). It makes it possible for private IP networks to connect to the Internet using unregistered IP addresses. Before packets are routed to another network, NAT acts as a router, typically connecting two networks, and converts the private (not globally unique) addresses in the inte
7 min read
How to Set a Static IP Address On Your Device?
A static IP address is one that does not change over time and can be assigned to a computer connected to the Internet. Every device that connects to your router receives a dynamic IP address by default. This is known as DHCP (short for Dynamic Host Control Protocol). However, there are occasions when we require our devices to connect to the network
2 min read
What is IPv6 Address Planning?
Prerequisites: Internet Protocol version 6 (IPv6) and what is IPv6? A new IP protocol, called Internet Protocol (IP) version 6, is intended to replace IP version 4, which is currently in use and deployed worldwide. The latest IP version, IPv4, has proven to be reliable, easy to implement, and easy to use. It is interoperable and has passed the test
7 min read
What is MAC Address Table ?
MAC stands for Media Access Control it is a physical address that uniquely identifies a device and hardware manufacturer on a network. Most commonly used in  (IEEE 802) networking technologies, like Ethernet, WiFi, and Bluetooth technology. A mac address is globally unique so suppose two devices are on the internet they can not have the same MAC ad
3 min read
Steps of Configuring NAT for IP Address Conservation
Pre-requisites: EIGRP, NAT Network Address Translation (NAT) is a process in which one or more local IP address is translated into one or more Global IP address and vice versa in order to provide Internet access to the local hosts. Also, it does the translation of port numbers i.e. masks the port number of the host with another port number, in the
2 min read
What is IPv6 Stateless Address Autoconfiguration ?
The IPv6 addressing scheme is the successor of the IPv4 addressing. The IPv4 addressing scheme used a 32-bit address which translates to over 4 billion unique IPv4 addresses. However, with the expansion of devices that require internet connectivity, this address pool started running out.  The IPv6 addressing scheme is based on a 128-bit address whi
4 min read
Configure IP Address For an Interface in Cisco
The interface is the port at which the router connects to a given network. It acts as an entry or exit point for data that is to be transmitted through the router. Every interface must be labeled or assigned an IP address, which should be unique among all the IP addresses in the network.  In Cisco Packet Tracer, to understand the process of assigni
3 min read
Setting IP Address Using GUI
An IP address is a unique identity of any computer system on the internet by which it can communicate with other networks, servers, and web devices. if you want to learn more about IP addresses then you can refer to the article What is an IP Address? Now, GUI is a Graphical User interface that helps internet or web devices to communicate with each
2 min read
Configure IP Address for Interface in Cisco Switches
To configure an IP Address on a switch interface, first, we must change the interface from a layer 2 interface to a layer 3 interface. A point to note is that to provide an IP Address to a switch interface, the switch first must be a Multilayer Switch and all ports of an MLS is layer 2 by default. There are two ways to configure an IP address to a
2 min read
CCNA Tutorial for Beginners
This CCNA Tutorial is well-suited for the beginner as well as professionals, and It will cover all the basic to advanced concepts of CCNA like Components of Computer Networking, Transport Layer, Network Layer, CCNA training, Cisco Networking, Network Design, Routing and Switching, etc. which are required to prepare for the certification. So let's g
8 min read
Small Organization Set Up in CISCO Packet Tracer
Cisco Packet Tracer is a tool built by Cisco and it provides network simulation to practice simple and complex networks. The main purpose of the Cisco Packet Tracer is to help students learn the principles of networking and demonstrate the networking concepts. Step 1: Open the Cisco Packet Tracer. Step 2.: After opening the Cisco Packet tracer, add
3 min read
How To Delete Configuration of a Cisco Router and Switches?
In a Cisco network, it is important to periodically delete the configuration of routers and switches to ensure that the network is running smoothly and efficiently. In this article, we will explain how to delete the configuration of a Cisco router and switch using the command-line interface (CLI). Before you begin, make sure you have the following:
3 min read
How to Identify Unknown Devices Connected to Your Network?
Have you noticed unusual activity on your network or suspect that there might be unknown devices connected to your network? Ensuring your network's security is crucial, and identifying these devices is a key step in maintaining a safe environment. This article will show you how to identify unknown devices on your network using various tools and met
6 min read
Nmap Cheat Sheet
Nmap (Network Mapper) is a free and open-source network detection and security scanning utility. Many network and system administrators also find it useful for tasks such as network inventory, managing service upgrade schedules, and monitoring server or service availability. Nmap uses raw IP packets in a novel way to determine the hosts available o
4 min read
Implementation of Static Routing in Cisco - 2 Router Connections
Pre-Requisite Types of Routing Static routing is a routing protocol that helps to keep your network organized and to optimize routing performance. It enables the router to assign a specific path to each network segment and to keep track of network changes. This helps to improve network stability and continuity. This adds security because a single a
3 min read
RIP Routing Configuration Using 3 Routers in Cisco Packet Tracer
Pre-Requisite: Routing Information Protocol (RIP) Routing Information Protocol (RIP) is an active routing protocol that operates hop count as a routing metric to find the most suitable route between the source and the destination network. It is a distance-vector routing protocol that has an AD value of 120 and works on the Network layer of the OSI
3 min read
Subnetting Implementation in Cisco Packet Tracer
A subnet, or subnetwork, is a part of a larger network. Subnets are a logical part of an IP network into multiple, smaller network components. The Internet Protocol (IP) is the method for transmitting data from one computer to another over the internet network. Each computer, or host, on the internet, has at least one IP address as a unique identif
3 min read
Implementation of Mesh Topology in Cisco
Pre-requisite: Advantages and Disadvantages of Mesh Topology In the mesh topology of networking, each and every device sends its own signal to the other devices that are present in the arrangement of the network.  Steps to Configure and Setup Ring Topology in Cisco Packet Tracer:Step 1: First, open the Cisco packet tracer desktop and select the dev
2 min read
Basic Switch Configuration in Cisco
The switch is a network device that is used to segment the networks into different subnetworks called subnets or LAN segments. It is responsible for filtering and forwarding the packets between LAN segments based on the MAC address. In this article, we will see the switch configuration in the Cisco packet tracer. Steps to Configure the Switch: Step
2 min read
Implementing Star Topology using Cisco Packet Tracer
A star topology for a Local Area Network (LAN) is one in which each node is connected to a central connection point, such as a hub or switch. Whenever a node tries to connect with another node then the transmission of the message must be happening with the help of the central node. The best part of star topology is the addition and removal of the n
2 min read
DNS Message Format
DNS allows you to interact with devices on the Internet without having to remember long strings of numbers. Changing of information between client and server is carried out by two types of DNS messages: Query messageResponse message.The format is similar for both types of messages. The information is held up in up to five different sections of DNS
4 min read
Private IP Addresses in Networking
Private IP addresses play a vital role in computer networking, permitting organizations to build internal networks that communicate securely without conflicting with public addresses. In this article we are going to discuss each and every point about private IP addresses in Networking. What is Private IP Addressing?Private IP Addresses are those ad
6 min read
Default Gateway in Networking
Routing is the most important process in networking. The process of routing includes various networking devices for packet forwarding one of which is the default gateway. The default gateway forwards the packets from the client to other network. This article is about a detailed description of the default gateway, its uses, and how it works in netwo
3 min read
Article Tags :