qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] TUN settings
@ 2004-06-07  9:57 Hetz Ben Hamo
  2004-06-07 10:13 ` Adrian Smarzewski
  2004-06-07 16:21 ` Tim
  0 siblings, 2 replies; 4+ messages in thread
From: Hetz Ben Hamo @ 2004-06-07  9:57 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-06-07 19:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-07  9:57 [Qemu-devel] TUN settings Hetz Ben Hamo
2004-06-07 10:13 ` Adrian Smarzewski
2004-06-07 16:21 ` Tim
2004-06-07 19:14   ` Adrian Smarzewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).