LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-22-2011, 10:23 PM   #1
sura2k
LQ Newbie
 
Registered: Nov 2011
Posts: 3

Rep: Reputation: Disabled
Create IPv6 Virtual Network


Hi all,
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.

Thank You!
 
Old 11-22-2011, 10:29 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Hello,

Since you are going the "virtual" route, you most likely want to use a VM - either VMware, VirtualBox, etc, and set it up that way. I highly recommend you search on both VMware and VirtualBox, and see what they both have to offer, then come back and ask away what your concerns are. Now as far as setting up a IPv6 network, once again, a VM would be your best bet, especially if your normal network that you use is running off of IPv4.

Cheers,

Josh
 
Old 11-23-2011, 03:27 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Is he saying VLAN's or does he mean virtual machines?
 
Old 11-23-2011, 09:13 PM   #4
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,681
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
The virtual hosts might mean a single real host with multiple IPs, each looking like a host on the network being set up. This is "virtual" in the way a web server does virtual hosts. However, if this is for testing and experimenting how a real network could work with multiple hosts, and is to be done virtually (so a 6 host network doesn't require 6 physical machines), virtual machines would be the thing. Any of the many major virtual machine implementations should be able to do that.

But I have not seen good tools that would set up an accurate mimic of a physical hardware network with VMs. There are plenty to get the VMs networked just fine. But they use tun/tap devices. There probably needs to be a bridge set up with tap devices. But the available number of tap devices seems to be limited.
 
Old 11-23-2011, 09:50 PM   #5
sura2k
LQ Newbie
 
Registered: Nov 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Let say you have a router and several host within that private network. I need to mimic that environment in my computer. If I have a that kind of physical environment I don't need this actually.
 
Old 11-23-2011, 10:05 PM   #6
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,681
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
It sounds like you need a few virtual machines, networked together on a software bridge. Follow the instructions for the virtual machine type you are using to create a "tap device" network setup which appears as an ethernet inside the virtual machine. Bridge all the tap devices together ... along with your host ethernet device if you want all this to be accessed from other physical machines. That's the basic concept that should work. Google (and search previous posts here) for various detailed instructions on bridging and virtual machine setup and choose what works best on your system (lots of details, like several steps in setting up bridge).
 
Old 08-21-2012, 12:55 PM   #7
vanessxa
LQ Newbie
 
Registered: Aug 2012
Posts: 1

Rep: Reputation: Disabled
Need help for IPv6 network on Vbox

Quote:
Originally Posted by sura2k View Post
Let say you have a router and several host within that private network. I need to mimic that environment in my computer. If I have a that kind of physical environment I don't need this actually.
Maybe you can help me. I'm starting on creating an IPv6 network on a virtual machine. What should be the first step ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xubuntu: cant create virtual eth1 in /etc/network/interfaces Karottenbaum Linux - Software 4 10-12-2011 04:42 PM
Is it possible to create a virtual LAN on my machine using virtual box or MS virtula nhammoud Linux - Networking 1 01-27-2011 03:49 PM
Cannot create an IPv6 virtual IP (alias interface) using ioctl(SIOCSIFADDR) the_rock Linux - Newbie 2 08-20-2010 04:14 PM
Create a Virtual Network Hub umwai Linux - Virtualization and Cloud 2 08-04-2010 11:13 PM
How to create Virtual Network Conections `neo Linux - Networking 7 06-25-2006 05:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration