Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible for a guest to determine the an interface type (i.e., whether eth0 is NAT, host only, bridged or internal)?

Something to be run from the guest like this:

guest-vm ~# vbox-interface eth0

eth0 is a NAT interface.

share|improve this question

migrated from serverfault.com Nov 21 '11 at 16:24

This question came from our site for professional system and network administrators.

add comment

1 Answer 1

The closest thing to what you are looking for is VirtualBox Guest Additions and it unfortunately does not offer that functionality. Guest Additions will give the host the ability to interact with guest through a variety of APIs and utilities but I don't think there is anyway for guest to query the host for information about the "hardware" that VirtualBox presents to it.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.