On Wednesday 28 March 2007, Luis Gallardo wrote: > Javier, you haven't told us what your host system is...but if you're > using Linux here you are: > > 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. > What is precisely the difference between this and ML's or Vladimir's approach? No iptables? ip called instead of ifconfig (but similar parameters)?
My distro does not have parprouted. What might one substitute (instead of the iptables rule) ? _______________________________________________ vbox-users mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-users
