How Configure Multiple Ip Address in Ubuntu?
Contents

To add secondary IP address permanently on Ubuntu system, edit the /etc/network/interfaces file and add the required IP details. Verify the newly added IP address: # ifconfig eth0 Link encap:Ethernet HWaddr 08:00:27:98:b7:36 inet addr:192.168. 56.150 Bcast:192.168.

How add multiple IP address in Ubuntu?

Add an Additional IP Address Permanently

Ubuntu 18.04 uses Netplan utility to configure networking. You can add an additional IP address permanently to your system by editing the file /etc/netplan/50-cloud-init. yaml. In the above output, you should see that the IP address 192.168.

How do you configure multiple IP address in Linux?

If you would like to create a range of Multiple IP Addresses to a particular interface called “ifcfg-eth0“, we use “ifcfg-eth0-range0” and copy the contains of ifcfg-eth0 on it as shown below. Now open “ifcfg-eth0-range0” file and add “IPADDR_START” and “IPADDR_END” IP address range as shown below.

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest