Reference articles on history, science, culture and more
Encyclopedia

IP aliasing

Associating more than one IP address

IP aliasing is associating more than one IP address to a network interface. With this, one node on a network can have multiple connections to a network, each serving a different purpose.

According to the Linux Kernel documentation,

IP-aliases are an obsolete way to manage multiple IP-addresses/masks per interface. Newer tools such as iproute2 support multiple address/prefixes per interface, but aliases are still supported for backwards compatibility.

In the Linux kernel, it was first implemented by Juan José Ciarlante in 1995. On Solaris IP aliasing was called logical network interface and was first available in Solaris 2.5 in 1995. It has also been possible in Microsoft Windows NT since (at least) Windows NT 3.51, released in 1995.

IP aliasing can be used to provide multiple network addresses on a single physical interface. This demonstrates using IP version 4 addresses only. One reason for using this could be to make a computer look as though it is multiple computers, so for example you could have one server that is acting as both a gateway (router) and a DHCP server and DNS using three different IP addresses, perhaps with a future plan to use a hardware router and to move the functionality to separate DNS and DHCP servers. Or indeed the opposite you could decide to replace the three different hardware devices with a single server to reduce the administration overhead. In this case you can have three different addresses which are all on the same computer without having to install many physical network interfaces. Another reason to use IP aliasing could be to have the computer on two different logical network subnets whilst using a single physical interface.

Watch videos about IP aliasingExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article IP aliasing, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.