Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 Nov 21 '11 at 16:24

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

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

You must log in to answer this question.