[SOLVED] Question about Bridge Interface in VirtualBox

Hi,
So I use bridge interface option in VirtualBox opposed to the default NAT one.
From what I see, the two interfaces(original one and bridged one) are isolated, such that the guest OS cannot intercept traffic of host OS and vice versa, is that correct?
Cause I cannot see the interface bridged by VirtualBox in host OS and cannot see the actual interface in guest OS.
Thank you.
Last edited by darrenldl (2013-09-12 02:30:39)

I'm not sure what you mean by isolated, do you mean that the guest machine won't be able to communicate with the host system? I don't think that the case. I'm not an expert on this myself and it's a bit of a blind man describing an elephant, but from what I understand a bridged interface acts as an independent host on your network. As far as any other machine is concerned, the guest and host are 2 machines. Are you able to ping the host os' ip from the guest machine? If you are able to ping across, then they are sharing the same network segment. This means if you want the bridge to not be able to see what's going on on your network, you'll have to use some firewall or subnet tricks to get that to happen.

Similar Messages

  • Question about IDashedAttributeValues interface

    Hi to everyone,<br />I have a question about IDashedAttributeValues interface.<br />If I would like to apply custom dashes kDashedAttributeValuesBoss to a page item. I would expect that my code will look like this:<br /><br />InterfacePtr<IDashedAttributeValues> pAttribute(::CreateObject(kDashedAttributeValuesBoss));<br /><br />pAttribute->SetPhase( nPhase );<br />pAttribute->SetCornerAdjustment((IDashedAttributeValues::CornerAdjustment)nCornerAdjust ment);<br />pAttribute->SetValue( 0, nDash0 );<br /><br />But InDesign crashes at SetValue code. I could understand InDesign. It is out of range. But, how to specify the length of value array or to add value into array?<br /><br />Thanks in advance,<br />Alexander Staroverov<br />Developer Engineer<br />Comosoft GmbH

    Thank you to all, I have found the answer in SDK samples:<br /><br />void SnpGraphicHelper::AddDashedValues(const K2Vector<PMReal>& dashAndGapValues)<br />{<br />IDataBase* db = fItemList.GetDataBase();<br />InterfacePtr<IDocument> theDocument(db, db->GetRootUID(), UseDefaultIID());<br />     InterfacePtr<IUIDData> uidData(::CreateObject2<IUIDData>(kDashedAttributeValuesBoss));<br />     ASSERT(uidData != nil);<br />     uidData->Set(::GetUIDRef(theDocument));<br />     InterfacePtr<IDashedAttributeValues> dashedAttributeValues(uidData, UseDefaultIID());<br />     if (dashedAttributeValues != nil && dashAndGapValues.size() > 0) {<br />          for (int32 i = 0; i < dashAndGapValues.size(); i++) {<br />               dashedAttributeValues->SetValue(i, dashAndGapValues[i]);<br />          }<br />          this->AddAnAttribute(dashedAttributeValues);<br />     }<br />}

  • [SOLVED] Question about CPU temperature

    Hi everybody,
    I just want to ask a question about "standard" CPU temperatures because my laptop (a Dell Vostro 3700) is permanently hot with the fans on even when I am not doing anything special.
    I have CPU freq scaling active with the conservative governor, and I use Gnome Shell 3.2 with an nVidia using the nouveau driver.
    Here are "stable" temperatures while writing this post:
    # sensors
    acpitz-virtual-0
    Adapter: Virtual device
    temp1: +72.5°C (crit = +103.0°C)
    nouveau-pci-0100
    Adapter: PCI adapter
    temp1: +78.0°C (high = +100.0°C, crit = +110.0°C)
    coretemp-isa-0000
    Adapter: ISA adapter
    Core 0: +73.0°C (high = +95.0°C, crit = +105.0°C)
    Core 2: +73.0°C (high = +95.0°C, crit = +105.0°C)
    And this is the output of mpstat
    # mpstat -P ALL
    Linux 3.1.6-1-ARCH (fm) 01/04/2012 _x86_64_ (4 CPU)
    10:16:50 PM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
    10:16:50 PM all 1.59 0.18 0.54 0.02 0.00 0.02 0.00 0.00 97.65
    10:16:50 PM 0 1.88 0.15 0.72 0.02 0.00 0.01 0.00 0.00 97.22
    10:16:50 PM 1 1.64 0.21 0.40 0.02 0.00 0.01 0.00 0.00 97.73
    10:16:50 PM 2 1.47 0.15 0.67 0.02 0.00 0.06 0.00 0.00 97.64
    10:16:50 PM 3 1.36 0.20 0.39 0.02 0.00 0.01 0.00 0.00 98.01
    The fan, of course, is full speed (very annoying)
    I think that these temperatures are quite high, but I don't know what's really causing all this heating because my laptop is basically idle.
    Any suggestion?
    Thanks.
    P.S.: Running Linux fm 3.1.6-1-ARCH #1 SMP PREEMPT Thu Dec 22 09:11:48 CET 2011 x86_64 Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz GenuineIntel GNU/Linux
    Last edited by fm (2012-01-06 09:32:01)

    samuvuo wrote:
    fm wrote:Just to wrap up this topic, I "solved" the issue by adding these parameters to the kernel:
    Just curious: what are the temperatures now? Sensors output after the "fix" would be nice.
    It's in the previous posts:
    Before (idle)
    # sensors
    acpitz-virtual-0
    Adapter: Virtual device
    temp1: +72.5°C (crit = +103.0°C)
    nouveau-pci-0100
    Adapter: PCI adapter
    temp1: +78.0°C (high = +100.0°C, crit = +110.0°C)
    coretemp-isa-0000
    Adapter: ISA adapter
    Core 0: +73.0°C (high = +95.0°C, crit = +105.0°C)
    Core 2: +73.0°C (high = +95.0°C, crit = +105.0°C)
    After (idle)
    acpitz-virtual-0
    Adapter: Virtual device
    temp1: +63.5°C (crit = +103.0°C)
    nouveau-pci-0100
    Adapter: PCI adapter
    temp1: +68.0°C (high = +100.0°C, crit = +110.0°C)
    coretemp-isa-0000
    Adapter: ISA adapter
    Core 0: +62.0°C (high = +95.0°C, crit = +105.0°C)
    Core 2: +64.0°C (high = +95.0°C, crit = +105.0°C)
    After (after playing 8 min youtube video)
    acpitz-virtual-0
    Adapter: Virtual device
    temp1: +74.5°C (crit = +103.0°C)
    nouveau-pci-0100
    Adapter: PCI adapter
    temp1: +78.0°C (high = +100.0°C, crit = +110.0°C)
    coretemp-isa-0000
    Adapter: ISA adapter
    Core 0: +73.0°C (high = +95.0°C, crit = +105.0°C)
    Core 2: +75.0°C (high = +95.0°C, crit = +105.0°C)
    Fan spinning is better (less noisy) after specifying the kernel parameters.
    Thanks
    Last edited by fm (2012-01-06 13:43:05)

  • 2 questions about bridge cs6 is always the rotate lossless? and high quality on demand

    Hi
    about bridge cs6 the rotate buttons rotate 90° counter and 90°clockwise is lossless ? i mean without loss of quality ?
    and my i know the meaning of high quality on demand? might someone make an example?
    thanks a lot

    That's why I have never bothered to conduct such a test.  A complete waste of time, in my opinion.
    I would not put it that way because it always interesting to what extend users like to go or come up with for testing
    But in basic, yes you are right. If you need such extreme test to proof the theory wrong the practice still is a winner. If you can't see it with your own eyes it is not really important but to fill an academic paper. In real life neither you, nor the customer or viewer would notice any difference
    According to the discussion about jpeg vs Raw, of course Raw has a ton of benefits above jpeg. Personally I almost never shoot jpeg but I do know people that do to satisfaction.
    Suppose you are a sports photographer and need both speed in writing to the card as in post process etc. You are working under know and solid light conditions and have measured your wight balance and set it manual. This provides very good qualities (that is if you have set the jpeg quality to high or max in camera) and shot with a recent good dSLR it produces files that can be published without problems on a magazine spread.
    I can't see disadvantage for such situations. However, you have to be aware that for future use your options are still limited when deciding to change post processing. Color temperature, exposure etc etc are far more flexible with Raw then jpeg.
    The vast majority of my clients want jpeg and that is what I convert to when files are ready. Yet I keep my original DNG and PSD file.
    Especially the archived Raw (in my case since 2008 converted DNG from CR2 files) is important. I can't tell you how surprise I am every time I open a raw file from 10 years ago in todays Raw converters. They have been improved very much and are able to get more out of your old files then you ever could imagine.
    And to finish with an other plus side of Raw. If you need to enlarge old and new raw files to huge billboards you will discover that the results of the Raw are far more superior

  • [SOLVED] Question about resolv.conf

    I successfully configured my Arch box with a static IP by following the instructions on the Arch wiki page here but had a couple of questions about configuring /etc/resolv.conf:
    1) What is the proper way to obtain the domain name that should be inserted into resolv.conf?
    2) What exactly is this domain name used for?  I read the man page but still don't really understand it.  Why do I need a domain name if I already have a working set of nameservers to resolve IP addresses?
    EDIT: @ewaller Yes I edited the OP because I realized that my original problem was that I just hadn't added a domain name in my resolv.conf file.  I edited my original post because 1) the instructions are already posted clearly on Arch Wiki so my post really wouldn't be beneficial and 2) so I could ask my real question without making other people waste their time reading through my other nonsense
    Last edited by choogi (2010-09-09 04:06:45)

    yejun wrote:You can just use public dns like 8.8.8.8 or 4.2.2.1. There's no other way to get dnsserver besides dhcp.
    Yes, I know how to get a nameserver, but I'm asking about the domain name that goes in resolv.conf.  The Arch wiki tutorial for setting up static IP uses the following resolv.conf as an example:
    nameserver 61.23.173.5
    nameserver 61.95.849.8
    search example.com
    My question has to do with what the "search example.com" does.  I don't have a domain name associated with my machine, but if I remove that line, then I get "web page unavailable" when I try to load any web site, which suggests that I'm not connecting to any nameservers right?

  • [SOLVED] Question about GCC error messages.

    I'm currently taking a course in C programming, and I have  a question about the error messages returned by GCC.
    When ever i try to compile a program containing syntax errors, i get cryptic and not very helpfull error messages.
    If i try to compile:
    #include <stdio.h>
    int main(void)
    int i;
    i = 0
    return 0;
    I get following from GCC:
    error.c: In function â:
    error.c:8:2: error: expected â before â
    But shouldn't the message be something like:
    error.c: In function 'main':
    error.c:8:2: error: expected ; before 'return'
    or am I mistaken?
    /AcId
    Last edited by AcId (2010-10-13 17:48:19)

    Woah. That is very strange. I've never seen that before.
    I assume you're using Arch Linux. What text editor did you use to write the code? Which terminal application are you using?
    ...those questions are probably unrelated to the problem, but we might as well get them out of the way.

  • Question about bridge pattern

    its definition is "decouple an abstraction from its implementation so that the two can vary independently". I don't understand what "abstraction and the implementation vary independently" really mean and how .
    Before another question pls see the below class diagram of bridge pattern:
    http://images.cnblogs.com/cnblogs_com/zhenyulu/Pic91.gif
    My question is whether not using abstraction and just keeping implementation hierarchy can do the same thing? Interface and its implementation itself(polymorphism) can make extending easily and be well subject to open-closed principle,can't they?
    Sorry for my bad English.
    Edited by: fxbird on 2011-7-17 上午5:13

    fxbird wrote:
    jschell wrote:
    fxbird wrote:
    I think it's very common in j2ee development. Certainly isn't if someone is using a container.
    If someone is creating a container then I would suspect that such a pattern might be useful.
    However if someone is creating a container then there are going to be a lot of useful patterns. And lot of classes as well.
    And in total of the entire scope of creating a container the bridge would be a very small part.
    So it certainly isn't going to be "common".Hello jschell , what do you mean by 'container'? You phrased your comment about J2EE. A common idiom is to refer to a J2EE (actually newer name is JEE) server as a JEE container. Not sure why specifically that word is used but maybe because such servers are said to 'contain' applications.
    In my previous reply, the architecture I mentioned is ss(spring+struts2.x),the pattern I mentioned is a standard way. You either do not understand what I said or you do not understand what happens in those implementations.
    If I have 100,000 classes and 3 of them are implementing the bridge pattern then it is not "common".
    If I have 100,000 classes and 3,000 of them implement many bridge patterns (and not generated) then one could say it is "common".
    And having done some JEE applications I seriously doubt there is an implicit need to use the bridge pattern.
    The bridge pattern is intended to deal with a complex situation. Since there are more simple JEE applications than complex ones then it seems unlikely that there is a "common" need for it in JEE applications.
    Actual I've not been understood why it's used this way---define business interface, from my perspective, it doesn't have to define it, simply writing a business class and calling dao method is enough. I assume bo interface thing is a bridge pattern.I don't know why they would use the bridge pattern nor even if they really do. I wouldn't be surprised that it is used and I can also suppose that the use would be a good idea. Although it is quite possible as well that it is used incorrectly in some places.

  • [Solved] Questions about Arch on T420s

    Hello everybody,
    I'm relatively new to Arch and switched from Ubuntu last year. Since then I've learned a lot about Linux in general due to the great documentation provided by the Arch community.
    I've managed to install Arch on my Thinkpad T420s with an UEFI Setup using Archboot. But still there are open questions.
    My first question is about the UEFI System partition and grub2. Should the UEFI partition be mounted to the filesystem? What about updating Grub2 (eg for setting boot parameters) when the UEFI System partition is not mounted to the filesystem. Up to now I've set boot parameters by manually mounting the UEFI partition and editing the Grub2's menu.lst equivalent. I think this is not optimal.
    My second question is about some graphical artifacts in Gnome 3. The T420s uses Intel HD 3000 Graphics. Sometimes icons in nautilus disapear or get replaced by black planes when hovering over them with the mouse cursor. Similar black planes replacing icons can be observed sometimes in Evolution or Rhythmbox. Furthermore gnome-terminal becomes transparent sometimes when I'm scrolling or switching between powertop2 tabs. Anyone else observed similar issues on their T420s or on other models with an Intel HD 3000? I use several options for the i915 driver but none of them seem to be related to the graphical artifacts. Furthermore I've disabled dVT in the BIOS.
    options i915 modeset=1
    options i915 i915_enable_rc6=1
    options i915 i915_enable_fbc=1
    options i915 lvds_downclock=1
    options i915 semaphores=1
    My last question is about the USB ports on my T420s. I've 3 USB ports, one on the left side (USB2.0) and two (USB3.0 and another USB2.0) on the back side. When I plug in a HD on the left side everything works fine and the filesystem is automatically mounted. When I plug in the same HD on the ports of the back side the HD isn't even recognized. Interestingly when i boot with the HD plugged into the back side ports everything works fine. Can you point me any directions how to solve this problem?
    Hopefully sombody using Arch on a T420s has already solved these issues and could share the solutions. Otherwise I would be grateful for any suggestions.
    Sincerely yours,
    Tobsen
    Last edited by tobsen (2012-02-09 17:15:27)

    Hi Tobsen, I have a T420 also. Perhaps my experiences will be some help?
    Regarding the USB ports: I installed Arch on my T420 with the Kernal 3.0.3 snapshot and all the USB ports worked out of the box. That sounds like a problem with udev to me, though. Have you checked the wiki article on this?
    Regarding the graphical artifacts: For me, when a popup window appears from hovering the mouse over an icon, the window is sometimes blank grey. It's totally inconsistent, and I can fix it by just hovering over it again, so I haven't really bothered to examine the source of the problem. Could this be related to your problem with the GPU? I figured it was a problem with the windows manager I'm using (Enlightenment e17), which is unstable.
    Regarding UEFI: I don't use GRUB2, so this may not be good advice, but I personally feel like you should avoid auto-mounting partitions you don't always need. It slows down boot, and if the partition is mounted, user error could damage it. I say you should keep doing what you're doing.

  • [SOLVED] Question about "loadkeys" from the install procedure

    https://wiki.archlinux.org/index.php/In … ard_layout
    https://wiki.archlinux.org/index.php/Be … the_keymap
    # loadkeys ro_win
    They show up as black squares... Even after generating these locales, as per the Beginner's Guide:
    [root@archiso ~]# locale-gen
    Generating locales...
    en_US.UTF-8... done
    ro_RO.UTF-8... done
    ro_RO.ISO-8859-2... done
    Genetation complete.
    What do?
    PS: I noticed that they're activated with "Alt+Shift". There's no mention in the Install Guide or Beginner's Guide about this. Heh.
    Last edited by DSpider (2012-08-24 14:45:34)

    From the LiveCD (in VirtualBox):
    # nano x
    <wrote these characters>
    # cat x | curl -F "sprunge=<-" http://sprunge.us
    And they show up fine: http://sprunge.us/MKBj
    ăîşţâ
    ĂÎŞŢÂ
    Until a better explanation comes along, I've added this info to the BG:
    Don't worry if some of the letters show up as white squares or as other symbols. It's probably just the console font missing those glyphs. The glyph codes are correct and if you press the correct keys they will show up fine when (or if) you set up a graphical environment later.
    https://wiki.archlinux.org/index.php/Be … the_keymap
    I guess I can mark it as solved...

  • Question about message interface

    I developed a jdbc to file scenario, it works, but I'm confused.
    I designed a message interface for jdbc outbound,
    CustomerRow
    |--row
         |--CUST_NO
         |--......
    I set Document Name = 'resultset' in jdbc sender adapter.
    I can see payload in SXMB_MONI.
    <?xml version="1.0" encoding="utf-8" ?>
    - <resultset>
    - <row>
      <CUST_NO>pp3433</CUST_NO>
      <SALES_ORG>org1</SALES_ORG>
      <DISTRIBUTION_CHANNEL>dis1</DISTRIBUTION_CHANNEL>
      <DIVISION>div1</DIVISION>
      <FLAG>N</FLAG>
      <LAST_UPDATE>2008/11/05 15:24:53:843</LAST_UPDATE>
      </row>
    - <row>
      <CUST_NO>ppy3233</CUST_NO>
      <SALES_ORG>org2</SALES_ORG>
      <DISTRIBUTION_CHANNEL>dis2</DISTRIBUTION_CHANNEL>
      <DIVISION>div2</DIVISION>
      <FLAG>N</FLAG>
      <LAST_UPDATE>2008/11/05 15:24:53:843</LAST_UPDATE>
      </row>
      </resultset>
    You noticed that resultset is not 'CustomerRow' in message interface which I defined.
    I don't know how it can work.

    The parameter Document Name should ideallly contain ur Message Type root name. As u have changed it to 'resultset', it is replaced at the sender adapter and then flow continues.
    There are very few occasions when success raises a question
    Regards,
    Prateek

  • Question about Serizable interface

    Which one of the following are true:
    - Serizable interface defines no memebers.
    - Serializable inteface extends the externalizable interface.
    - only an object that implements the serializable interface can be saved and restored by serialization facilities.

    Next time don't wait till Sunday midnight to do homework that has to be submitted Monday morning.
    db
    Hint: You can find the answers to all 3 questions in the API for Serializable
    {color:0000ff}http://java.sun.com/javase/6/docs/api/java/io/Serializable.html{color}

  • Question about inbound interface

    Hi!
    Here, there is an inbound interface using idocs.
    My question is: if there are five idocs ready to be processed, is the function module executed five times? I mean, one time for each idoc or is there a single function module execution that processes the five idocs?
    Thanks!
    Regards,
    Cristian

    hi,  Cristian
    Actually it depend on IDOC inbound setting for your message type.
    in WE20, go to Partner Profiles:Inbound parameters setting.
    you will be request to set Process Code for Inbound.
    if you choose some Process Code, which support Packet Inbound, you IDOC will be executed Packetize.  E.G. once 5 IDOCs.
    And you inbound function also needed to support Packet.

  • Question about documentation & interface inheritance

    If I have interface Foo that extends interface Bar, I'm wondering if there's a way for Foo to add more documentation to one of Bar's methods.
    For example, if I have:
    public interface Foo {
      * The "stuff" that gets done by this method should be more properly defined in the implementing class.
      void doStuff();
    public interface Bar extends Foo {
    }Is there any way for me to specify for Bar to override the doc on the doStuff() method inherited from Foo (such that it might read something like "The doStuff() method of all implementers of Bar should [behave in x manner]")?
    I realize I'm probably not articulating myself totally clearly, so let me know if I need to shed light on anything.
    Thanks!
    Edited by: Caryy on Nov 30, 2010 4:06 PM

    jverd wrote:
    I think you're allowed to declare an identical doStuff() method in Bar and give it its own documentation. It won't just get concatenated on to the supertype's doc, but the javadoc tool might generate a link to the parent method like it does when a class overrides or implement a method.Wow... >_< I thought I tried that and failed before asking this question, but it appears that you are correct (I must have typo'd or something)! Thanks for the fast reply and sorry for the n00b question....

  • [SOLVED] Question about Feh

    I installed feh to use as a file browser image launcher (https://wiki.archlinux.org/index.php/Fe … e_Launcher) and as a desktop wallpaper manager (https://wiki.archlinux.org/index.php/Fe … er_manager), but it seems that I each time must use "sudo" for this. Therefore I think the script from the wiki page will not launch in Thunar and that the wallpaper will not load on start up in i3. In order to do this, I think I must add my user to a group, but I'm not sure which one or if it is the right way to solve it. Would you please assist me with this and thank you in advance.
    Last edited by rayanamukami (2014-04-26 09:32:36)

    Thank you for your advice, I should not use sudo as often as I do.
    In Thunar opening an image with the feh_browser.sh script gives the following message.
    Failed to execute application "feh_browser.sh".
    Failed to execute child process "/home/kohaku/feh_browser" (Permission denied).
    For the wallpaper, I followed the wiki page about i3 (https://wiki.archlinux.org/index.php/I3 … _wallpaper). The following command gives the following message.
    $ feh --bg-scale /path/to/image.file
    feh WARNING: /home/kohaku/.feh/wallpaper/touhou.png - No read access
    feh ERROR: Unable to load image /home/kohaku/.feh/
    I have added
    exec --no-startup-id sh ~/.fehbg
    to
    ~/.i3/config

  • [SOLVED] Question about bash

    The default .bashrc file looks like this. When installing rvm I noticed that it is not sourcing scripts under /etc/profile.d.
    # ~/.bashrc
    # If not running interactively, don't do anything
    [[ $- != *i* ]] && return
    alias ls='ls --color=auto'
    PS1='[\u@\h \W]\$ '
    I just solved my issue by adding the following code to .bashrc. I was just wondering if this should be done by default perhaps in the package that installs /etc/skel/.bashrc?
    if [ -f /etc/profile ]; then
    . /etc/profile
    fi
    Last edited by MikeW (2014-11-12 05:28:25)

    Seems that it is an rvm issue. After a bit of searching for rvm problems I found this post that gave me the rvm specific solution. This is probably the preferred fix since its just rvm that's the issue here.
    http://askubuntu.com/questions/40287/et … ng-sourced
    The key is serveral posts down...
    Installing RVM as multiuser requires the user to run this command:
    echo '[[ -s "/etc/profile.d/rvm.sh" ]] && . "/etc/profile.d/rvm.sh" # Load RVM function' >> ~/.bashrc
    So I can remove the /etc/profile bit now. Thanks for stearing me in the right direction to fix this.

Maybe you are looking for