Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

First I must say that I am new in linux and maybe I will ask trivial question. My job is to create 8 ethernet interface to be visible in kernel, but all of them should send and receive data through only one real ethernet interface. All of that 8 interfaces should to can be configured with ifconfig (or some one similar command).
Does anyone have idea how to do this? It was told to me to change something in ethernet driver, but i dont know what? Or is there some other solution?

share|improve this question
What OS are you running? The config files differ a bit, as do the commands, but basically you will be creating eth0:0 eth0:1 eth0:2 and so forth.. – NickW Apr 22 '13 at 11:52
up vote 3 down vote accepted

You can set up virtual interfaces by appending to the physical interface name :<n> where n is a number.

$ ifconfig eth0:0 netmask

Using the ip utility, you can even specify a name:

$ ip link add link eth0 name virt1
$ ip addr add dev virt1
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.