qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] TUN settings


From: Hetz Ben Hamo
Subject: [Qemu-devel] TUN settings
Date: Mon, 07 Jun 2004 12:57:34 +0300
User-agent: KMail/1.6.1

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 via email to

[Prev in Thread] Current Thread [Next in Thread]