All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hetz Ben Hamo <hetz@softier.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] TUN settings
Date: Mon, 07 Jun 2004 12:57:34 +0300	[thread overview]
Message-ID: <200406071257.34308.hetz@softier.com> (raw)

Hi,

Since SLiRP seems to not work with the PCI NE2000 here (4 machines, different 
configurations, none of them work), I decided to try the TUN way..

Here's my /etc/qemu-ifup script (based on what Tim posted):

!/bin/sh sudo /sbin/ifconfig tun0 192.168.2.200 netmask 255.255.255.0 
broadcast 192.168.2.255
sudo sh -c 'echo 1 > /proc/sys/net/ipv4/ip_forward'

(it's 2 lines, kmail breaks them...grrr)

In Windows 98 guest the config is:

IP Address: 		192.168.2.201
Subnet Mask:		255.255.255.0
Default Gateway:	192.168.2.200

And yet, I cannot ping the TUN interface in the host (192.168.2.200), and I 
cannot ping anywhere else.

Suggestions?

Thanks,
Hetz

             reply	other threads:[~2004-06-07  9:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-07  9:57 Hetz Ben Hamo [this message]
2004-06-07 10:13 ` [Qemu-devel] TUN settings Adrian Smarzewski
2004-06-07 16:21 ` Tim
2004-06-07 19:14   ` 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=200406071257.34308.hetz@softier.com \
    --to=hetz@softier.com \
    --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.