You can modify the "script" by changing "ip" instructions with its
ifconfig equivalent:


tunctl -t tap0 -u lgallard
chmod 666 /dev/net/tun
/sbin/ifconfig  tap0  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"


On 3/31/07, David Baron <[EMAIL PROTECTED]> wrote:
> On Saturday 31 March 2007, Ron wrote:
> > Luis Gallardo <[EMAIL PROTECTED]> writes:
> > > 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"
> >
> > Luis - Thanks for the information above.  I tried typing it in by hand and
> > got errors with the "echo" lines.  Do you run your script by hand or have
> > it setup to run during startup.  If the latter, where do you put your
> > script?
>
> This is a script. I had to make sudo for most of the lines and the ip calls
> did not completely set it up but one ipconfig line did.
>
> _______________________________________________
> 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