It is know from various posts online that simply using bridged networking won't work for a wireless card. I followed the following link to configure host interface for my wireless card on ubuntu 7.10
Bridged Networking with VirtualBox on Linux Hosts
However, there is one important thing missing that makes the networking of the guest os unstable, sometimes connect to the host or internet. I turned on tcpdump and also run netstat and find out the reason why sometimes the networking will fail in the guest. It seems that every time when networking is working, there is a route that tells host to connect to guest to use tap0. Sometimes the route is not there and the guest's networking will fail.
With this information I run "ip route add $guestip dev tap0" and found this makes the networking of the guest very stable and always working.
Here are a couple of approaches to make life more easier.
Wednesday, January 2, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment