All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carlos Valiente <lists@virutass.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] usermode-networking problem
Date: Sun, 23 May 2004 21:28:25 +0100	[thread overview]
Message-ID: <1085344105.1137.4.camel@rilke> (raw)
In-Reply-To: <40B0F46C.2000308@kadu.net>

On Sun, 2004-05-23 at 19:58, Adrian Smarzewski wrote:
> sh-2.05b# ping -c 3 212.77.100.101
> PING 212.77.100.101 (212.77.100.101) 56(84) bytes of data.
> 
> --- 212.77.100.101 ping statistics ---
> 3 packets transmitted, 0 received, 100% packet loss, time 2018ms
> 
> 
> I don't know why. Should I configure something on host os?

Yes: On your host you have to:

1. Enable IP forwarding:

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

2. Enable masquerading

# iptables -t nat -A POSTROUTING	\
	-s 10.0.0.0/8			\
	-d ! 10.0.0.0/8 -j MASQUERADE

C

  reply	other threads:[~2004-05-23 20:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-23 18:58 [Qemu-devel] usermode-networking problem Adrian Smarzewski
2004-05-23 20:28 ` Carlos Valiente [this message]
2004-05-24 20:10   ` Adrian Smarzewski
2004-06-03 10:24     ` Adrian Smarzewski
2004-05-25  1:55   ` James Ascroft-Leigh
2004-05-23 20:56 ` vaise
2004-05-23 21:05 ` Fabrice Bellard
  -- strict thread matches above, loose matches on Subject: below --
2004-05-23 18:58 Adrian Smarzewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1085344105.1137.4.camel@rilke \
    --to=lists@virutass.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.