LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-17-2012, 05:22 PM   #1
katy
LQ Newbie
 
Registered: Dec 2012
Posts: 1

Rep: Reputation: Disabled
Unhappy turn Mandriva into a router. Help Me please!!!!


hello,
first i'd like to apologize for my english am not so good
i have no clue how to transfer a virtuel Machine "Mandriva" -running on VMmwar- into a router so i could be able to realize my local network that consist on 2 other virtuel machines running also on MAndriva".
So could you please help me with the steps am so new to Linux world
 
Old 12-17-2012, 11:34 PM   #2
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 128Reputation: 128
Hi, welcome to LQ

This is a 2 step project, so let start with the VM part. You could actually clone the disk into your physical target disk, but this is stupid. Better do a clean install by downloading the CD or DVD. I also suggest using Ubuntu instead of Mandriva so you can follow this (great) guide http://ubuntuforums.org/showthread.php?t=716192 . This guide help you build a very nice router, but you have to understand that managing a Linux router using the command line is powerful, but also (very) complicated if you never did anything like it. There is a few great Linux or BSD based firewall ready to install / use. My favorite one are PFSense and OpenWRT.

I use a Linux box as router, just as you want to. It is awesome and my knowledge of the linux command line interface allow me to do some crazy stuff, but it may not be the easiest way to learn Linux. Using a preconfigured router distribution is much easier.
 
Old 12-17-2012, 11:37 PM   #3
mdlinuxwolf
Member
 
Registered: Dec 2006
Distribution: Mepis and Fedora, also Mandrake and SuSE PC-BSD Mint Solaris 11 express
Posts: 378

Rep: Reputation: 41
A few problems are apparent.

First, virtual machines are sand boxed, that is isolated from influencing the host computer and others around them. This makes them poor candidates for interacting with regular machines.

You need to use a real physical computer with 2 or more NICs to make a router, not a simulation of a computer.

Second, Mandriva has always emphasized the desktop client more then the server side. It is a fine distro, but for a server, I'd try Fedora. You can install server modules and the server kernel right from the DVD & still have a machine that you can use.

Both Mandriva and Fedora are missing multimedia codecs. You have to get these after installation by adding repositories and libraries.

These aren't needed for a router.

Having said all that, buying a router wired or wireless might be easier. Wireless routers still have 4 Ethernet ports.
 
Old 12-17-2012, 11:48 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Quote:
Originally Posted by mdlinuxwolf View Post
You need to use a real physical computer with 2 or more NICs to make a router, not a simulation of a computer.
Actually, no you don't. The OP states that he wants to build a virtual router for his network that consists of two virtual machines. Besides the VM host, no physical parts involved.

@katy: You may have more luck with finding documentation for your purpose when you use a server distribution instead of a distribution that is primrily meant for desktop use.
For example CentOS: http://blog.malaya-digital.org/setup...t-squid-proxy/
Or Debian: http://brian.serveblog.net/2011/07/3...-based-router/
 
Old 12-20-2012, 12:37 AM   #5
mdlinuxwolf
Member
 
Registered: Dec 2006
Distribution: Mepis and Fedora, also Mandrake and SuSE PC-BSD Mint Solaris 11 express
Posts: 378

Rep: Reputation: 41
I guess each VM could link to a physical router. Still, it adds another layer of complexity.

I have always viewed VMs as a testing method for something destined to be physically built or set up at another time. A good example is seeing if a disto will work with your hardware.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Programmatically turn my router off and on again using c++ possible? DoctorZeus Programming 6 02-22-2012 05:26 PM
Turn linux router into wireless router anthonysaulnier Linux - Wireless Networking 3 09-26-2010 02:05 PM
How to turn a router into a wireless card? SentralOrigin Linux - Networking 1 03-14-2009 07:38 AM
Mandriva won't turn off computer obstinatesod Linux - Newbie 10 06-07-2005 02:41 PM
How do i turn an old comp into a router? NovaWo1f Linux - Networking 5 06-04-2004 07:06 PM


All times are GMT -5. The time now is 01:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration