Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I need a dead simple (read dumbies) guide to setting an Ubuntu 10.10 machine up as a router.

Here's the scenario:

I have several Ubuntu 10.10 VM's that run on the same virtual network. I want them all to use one of the VM's as a router. That machine will be the only one able to access real network resources and the internet. Problem is, I've never set a router up on a linux box. I'm sure it's very easy but I'd like to get the simple-mans guide if there is one. I'm sure it's out there somewhere.

Thanks in advance!

share|improve this question
add comment

3 Answers 3

The easiest and simplest way is to turn on Internet-connection sharing in the machine you want to use as a router: http://ubuntuforums.org/showthread.php?t=1183420&highlight=xbox+360+bridge

For that to work, your router machine would need 2 network interfaces - one connected to the Internet and one connected to the other machines.

Then, the other machines would have to have their connections go through your router, which I'm not really sure how to do using VMs (ethernet cables IRL). Presumably, your VM software could set up the networking to do that, but you might be able get by by manually setting the gateway in your VMs to be your router.

share|improve this answer
add comment

you can also choose n-computing device to share network as well as system resources...

share|improve this answer
    
Can you expand this to explain how? –  Eliah Kagan Sep 3 '12 at 21:24
add comment

Once of the best resources for ICS and firewall that I've come across is firestarter. Once you install it by typing sudo apt-get install firestarter, you can just run it from Applications > Internet. It requires almost no manual configuration for regular ICS, but also allows you to have fine-grained control over the firewall.

share|improve this answer
add comment

Your Answer

 
discard

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.