VirtualBox

Changes between Version 2 and Version 7 of Ticket #6403


Ignore:
Timestamp:
Apr 13, 2010 7:58:37 AM (14 years ago)
Author:
Frank Mehnert
Comment:

Logs attached.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6403 – Description

    v2 v7  
    331.1.1.x are public/outside addresses in this example.
    44
    5 eth0 - primary hostos IP       1.1.1.1
     5eth0 - primary hostos IP       1.1.1.1[[BR]]
     6eth0:2 - secondary hostos IP   1.1.1.2[[BR]]
     7eth0:3 - secondary hostos IP   1.1.1.3[[BR]]
    68
    7 eth0:2 - secondary hostos IP   1.1.1.2
    8 
    9 eth0:3 - secondary hostos IP   1.1.1.3
    10 
    11 Hostos has tcp/22 bound specifically to 1.1.1.1 with sshd using the "ListenAddress 1.1.1.1" directive in sshd_config.
     9Hostos has tcp/22 bound specifically to 1.1.1.1 with sshd using the "!ListenAddress 1.1.1.1" directive in sshd_config.
    1210
    1311Now setting the guestos to bind to 1.1.1.2:
    1412{{{
    1513VBoxManage setextradata "guest os" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/BindIP" "1.1.1.2"
    16 
    1714VBoxManage setextradata "guest os" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" TCP
    18 
    1915VBoxManage setextradata "guest os" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" 22
    20 
    2116VBoxManage setextradata "guest os" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 22
    2217}}}
     
    2621{{{
    2722VBoxManage setextradata "guest os" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" TCP
    28 
    2923VBoxManage setextradata "guest os" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" 22
    30 
    3124VBoxManage setextradata "guest os" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 23
    3225}}}
     
    3629
    3730For instance, should I want to bind 1.1.1.2:80 to guestosA and 1.1.1.3:80 to guestosB, you cannot, as the first guestos that starts will bind to all 0.0.0.0:80.  The BindIP should limit what IP address the NAT's are bound to.
    38 

© 2023 Oracle
ContactPrivacy policyTerms of Use