Hi Ron,

I realize you're posting your message over and over again because no one has
answered you.  Let's see if this helps ...

First of all, you should read the VirtualBox documentation.  It discusses
setting up Host Interface networking.  Although not too well so I understand
your frustration.

Here's how I currently have my environment working.  Please keep in mind
that I'm disabling the firewall on my machine for this test.  This is _not_
how you want to setup your environment.

:::::::::::::
::: setup :::
:::::::::::::
#!/bin/sh

#
# Disable all Firewall rules - bad bad bad ... but only for tesing purposes
...
#
iptables -F
iptables -P INPUT  ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT  ACCEPT

#
# Below:
#
# pablo - my user id
# 192.168.25.199 - the static IP address of my Host O/S
# eth0 - the network interface card on my Host O/S
# 192.168.25.1 - the default gw of my Host O/S
#
tunctl -t tap0 -u pablo
brctl addbr br0
ifconfig eth0 0.0.0.0 promisc
brctl addif br0 eth0
ifconfig br0 192.168.25.199 netmask 255.255.255.0
brctl addif br0 tap0
ifconfig tap0 up
route add default gw 192.168.25.1

::::::::::::::::
::: teardown :::
::::::::::::::::
ifconfig tap0 down
brctl delif br0 tap0
brctl delif br0 eth0
ifconfig br0 down
brctl delbr br0
tunctl -d tap0
ifconfig eth0 -promisc
/etc/init.d/network restart

-pablo


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

Reply via email to