Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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).
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 ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.