On Tue, 2010-10-19 at 13:10 +1300, Daniel Hill wrote:
> On 19 October 2010 11:58, Bryce Stenberg <[email protected]> wrote:
> > Hi,
> >
> > I hope this is simple question...
> >
> > I'm trying to set up a very basic install of Ubuntu Server 10.04 to act
> > as a basic router for a virtual network setup.
> > I just want all traffic passed from host-only network side of this
> > virtual server to go out through its external interface (which is a
> > NAT'd and handled by VirtualBox).
> > >From this ubuntu server I can ping external networks on the internet and
> > machines on the internal host-only network.
> > But from a server on the host-only network I can't get a response from
> > pings to external networks.
> >
> > So, can someone please tell me what the missing piece is?  As in what
> > settings of software do I need to setup to get the traffic to go both
> > ways.
> > I did google it but am a bit confused by the various answers I found...
> > Not sure what is easiest, simplest and good.
> >
> > Thanks,
> >  Bryce Stenberg.
> >
> 
> I have no Idea what I'm doing but I'm going to give it a shot
> what's the IP addresses and theout put of route on the the two servers?

It's probably that ip forwarding is not enabled. To check, 

cat /proc/sys/net/ipv4/ip_forward

If it returns 0, then there's the problem.

sudo echo 1 > /proc/sys/net/ipv4/ip_forward

and add the line 

net.ipv4.ip_forward=1

to /etc/sysctl.conf to preserve over reboots.

hth,

Steve




-- 
Steve Holdoway BSc(Hons) MNZCS <[email protected]>
http://www.greengecko.co.nz
MSN: [email protected]
Skype: sholdowa

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users

Reply via email to