I have followed the instructions to build a temp bridge and virtual interface for the virtual machine.
the network didnt work then. what have i probably missed out?
any ideas?
here is teh script i used to get the network
script:
#!/bin/bash
#buld a tap adapter
tunctl -t tap1 -u <username>
#set a bridge and named br0
brctl addbr br0
#make eth0 promisc
ifconfig eth0 0.0.0.0 promisc
#connect the real interface to bridge
brctl addif br0 eth0
#give br0 the existing ip
ifconfig br0 192.168.1.60
# connect the virtual interface to bridge
brctl addif br0 tap1
# activate tap1
ifconfig tap1 up
# set permission
chmod 0666 /dev/net/tun
Virtualbox bridged Networking on mandriva
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
First, read the Forum Posting Guide and give us the info we need. With just a script and "it doesn't work" is not very helpful.
Second, doesn't the ifconfig command need a netmask too?
Second, doesn't the ifconfig command need a netmask too?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.