I tried following instructions in the 1.5.2 end user manual for using this. 
Told be br0 was already there. This is, of course, true, since I put it there 
using instructions posted on this list a while back. I have a tap0 using 
iptables and a tap0 using bridging available. So no further entries 
in /etc/inn

I set up the vbox0 interface as instructed. Restarted vboxnet. If would not 
start br0. I manually started it using the startup script. Now the vbox0 did 
not give any error messages. Cool.

How do I go over to the new methods? These scripts have been around for ages.

Here is the tap/iptables script: (I am using a pptp ADSL interface so these 
things work off ppp0 rather than eth0!)

sudo modprobe tun
sudo tunctl -t tap0 -u david
sudo ifconfig tap0 10.0.2.2 netmask 255.255.255.0 up
sudo iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
#sudo ifconfig tap0 up

Here is the bridged version:

sudo modprobe tun
sudo tunctl -t tap0 -u david
sudo chmod 666 /dev/net/tun
#sudo ip link set tap0 up
#sudo ip addr add 10.0.2.2/32 dev tap0
sudo ifconfig tap0 10.0.2.2 netmask 255.255.255.0 up
sudo chmod g+w /proc/sys/net/ipv4/conf/tap0/proxy_arp
sudo echo "1" > /proc/sys/net/ipv4/conf/tap0/proxy_arp
sudo chmod g+w /proc/sys/net/ipv4/ip_forward
sudo echo "1" > /proc/sys/net/ipv4/ip_forward
sudo parprouted ppp0 tap0
echo "tap0 bridge started"

(There is no br0 here so it must have be placed elsewhere. NOT in 
the /etc/netwoking/interfaces. Probably should base setup on the tap0 
instructions rather than the bridge instructions?)


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

Reply via email to