Server Fault is a question and answer site for system and network administrators. 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'm going to do a project based on IPv6 Network. So I need to create a IPv6 Virtual Network in my Linux OS (I use Ubuntu). Also I need to create some virtual hosts in my virtual network and setup static IPs (local IPs) for each and every host. And I need to run a terminal on each virtual host.

Can I setup that kind of an environment on my Linux OS? Please give me some help to do this.

share|improve this question
If you don't need to route the traffic, you can use the auto-configured, link-local addresses. – AndreasM Nov 18 '11 at 11:33

it's almost the same thing as configuring ipv4 interface/virtual interface, Here is a sample of what you could put into /etc/network/interfaces file

iface eth0:1 inet6 static
pre-up modprobe ipv6
address youripv6address
netmask yournetmask
gateway yourgateway
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.