Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to make some Virtual IP Addresses for my network adapter or wireless adapter, so that I can connect to network with more than one IP address from one computer or laptop.

How can I do it? (I know it's possible ,because one of my friends has done it in university and have more than one - some times till 255 - IP address in network).

share|improve this question
up vote 2 down vote accepted

Virtual MAC address? I think you mean "virtual IP addresses". See man 5 interfaces, and follow the documentation links at the very end. On my system, it says:

For advice on configuring this package read the Network Configuration chapter of the Debian Reference manual, available at or in the debian-reference-en package.

Examples of how to set up interfaces can be found in /usr/share/doc/ifupdown/examples/network-interfaces.gz.

But, even if you assign extra IP addresses, your traffic is still going in/out of your system through the SAME NIC. No matter how many IPs, only 1 NIC. No speedup. Multiple IP addresses are good for obfuscation, virtual machines, and simulated network testing.

Read and enjoy!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.