Hi. Thanks for your reply.
I do not use the bridged setup for the moment. What I want to do is, to bring up the vboxnet0 device that is created by VirtualBox for HostOnly network. Would it work, if I just put it into the interfaces file like a "real" network interface? Is there a parameter to let the system know that it is just a virtual device? Thanks and Greets, Holger On 17.07.2012 23:32, Gregory Nowak wrote: > On Tue, Jul 17, 2012 at 09:44:31AM +0200, Holger wrote: >> Hi. >> >> Is it possible to bring up the vbox related network interface(s) on >> Ubuntu's startup? I mean, without starting any virtual machine? > > Yes, if you mean what I think you do. On my debian system, eth0 is my > internal lan interface. This is bridged in br1 to tap devices used by > my virtual machines, some of which are user-mode linux. In the > case of virtualbox, the virtual machine is bridged to its own tap > device. So, here's how this part of my /etc/network/interfaces looks > like: > > # lan interface > auto br1 > iface br1 inet static > address 192.168.0.1 > netmask 255.255.255.0 > gateway 192.168.0.2 > bridge_ports eth0 tap1 tap2 tap3 > pre-up tunctl -u user_running_the_vm > pre-up tunctl -u user_running_the_vm > pre-up tunctl -u user_running_the_vm > post-down tunctl -d tap3 > post-down tunctl -d tap2 > post-down tunctl -d tap1 > up ifconfig br1 add 2001:db8::1/64 > > If this isn't what you wanted to know, then you need to be more > specific. HTH. > > Greg > > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ VBox-users-community mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/vbox-users-community _______________________________________________ Unsubscribe: mailto:[email protected]?subject=unsubscribe
