I set my networking with bridging. My script in the Linux host is:

Host:

tunctl -t tap0 -u lgallard
chmod 666 /dev/net/tun
/sbin/ip link set tap0 up
/sbin/ip addr add 172.16.16.16/32 dev tap0
echo "1" > /proc/sys/net/ipv4/conf/tap0/proxy_arp
echo "1" > /proc/sys/net/ipv4/ip_forward
parprouted eth0 tap0
echo "tap0 is set"

In this example lgallard is the user who launches the virtual
machines. Then, I set a static ip in the guest OS (no matter if it's
Linux or Windows)

Guest (Linux):

Add to the /etc/network/interfaces this lines:


# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.2.113
netmask 255.255.255.0
gateway 192.168.2.1

Set your ip, netmask and gateway according to the network where the
VM's will be connected. If you want DNS resolution, add your dns
servers in the /etc/resolv.conf

Guest (Windows)

Go to the  TCP/IP interface properties a set the values for a static
IP connection and DNS resolution

On 3/28/07, David Baron <[EMAIL PROTECTED]> wrote:
> Here is something else I found picked up by logcheck:
> Mar 28 12:06:20 d_baron spamd[6478]: dns: sendto() failed: Operation not
> permitted at /usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm line 340,
> <GEN56> line 652.
> Mar 28 12:06:21 d_baron spamd[6477]: dns: sendto() failed: Operation not
> permitted at /usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm line 340,
> <GEN87> line 74.
>
> But why would spamd be sitting on DNS from an http lookup. (Or maybe this has
> nothing to do with it!?)
>
> _______________________________________________
> vbox-users mailing list
> [email protected]
> http://vbox.innotek.de/mailman/listinfo/vbox-users
>


-- 
Saludos,
Luis Gallardo

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to