host networking working only when host's wifi disabled

Discussions related to using VirtualBox on Linux hosts.
Post Reply
sleytr
Posts: 1
Joined: 30. May 2007, 22:22

host networking working only when host's wifi disabled

Post by sleytr »

Hi,
I'm using VirtualBox on Pardus Linux host. If I connect to internet via land-line ethernet everything working properly.
But I can't acces to guest machines if I enable wifi connection. I'm using following script to prepare tap interface.
#!/bin/bash
tunctl -t tap0 -u sleytr
chmod 0666 /dev/net/tun
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 tap0
ifconfig tap0 0.0.0.0 promisc up
ifconfig eth0 0.0.0.0 promisc up
ifconfig br0 192.168.1.101 netmask 255.255.255.0 broadcast 192.168.1.255
route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.1.1 dev br0
chmod 0666 /dev/net/tun
Any advice would be so appreciated.
Post Reply