VirtualBox

Changes between Version 1 and Version 2 of Testing_Networks


Ignore:
Timestamp:
Mar 19, 2007 4:58:25 PM (17 years ago)
Author:
Michael Thayer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Testing_Networks

    v1 v2  
    1 == Creating testbed networks of virtual machines, host Windows XP, guest Redhat Enterprise Linux ==
     1= Creating testbed networks of virtual machines, host Windows XP, guest Redhat Enterprise Linux =
    22
    3 = Scenario =
     3Contributed by Gary Griffin, 2007/03/17
     4
     5== Scenario ==
    46
    57You have a host Windows XP system and a master Virtual image that is Redhat Enterprise Linux that you are regularly updating and want to create multiple instances and connect them in a private test network. An example would be a testbed MySQL Cluster which has a management node and two data nodes. Since the master image is regularly updated, we need a process for quickly cloning and creating a test environment.
    68 
    7  
    8 - Clone the master Virtual image
     9 * Clone the master Virtual image
    910
    1011{{{
     
    1415}}}
    1516 
    16 - Attach the vdi's to the already created VMs.
     17 * Attach the vdi's to the already created VMs.
    1718
    1819{{{
     
    2223}}}
    2324 
    24 - Create the network
     25 * Create the network
    2526
    26 Now reset the network for the new VMs to use an internal private network. This will allow the 3 guest VMs to communicate with each other, but not with the host. The intnet network type is not available from the GUI, and is reset by the GUI if any of the VM settings are changed. So this has to be performed from the command line. We choose to use a network name of 'testnet' just for convenience. It is an arbitrary name but must be consistent.
     27 Now reset the network for the new VMs to use an internal private network. This will allow the 3 guest VMs to communicate with each other, but not with the host. The intnet network type is not available from the GUI, and is reset by the GUI if any of the VM settings are changed. So this has to be performed from the command line. We choose to use a network name of 'testnet' just for convenience. It is an arbitrary name but must be consistent.
    2728 
    2829{{{
     
    3536}}}
    3637 
    37 - Customization of individual VMs
     38 * Customization of individual VMs
    3839
    39 Since these VMs will be in a private network, each has a fixed IP address. And they should use the host IP address as the gateway IP address. And example of the ifcfg.eth0 file where the host IP address is 192.168.1.101 and the guest IP address is 192.168.10.200 is:
     40 Since these VMs will be in a private network, each has a fixed IP address. And they should use the host IP address as the gateway IP address. And example of the ifcfg.eth0 file where the host IP address is 192.168.1.101 and the guest IP address is 192.168.10.200 is:
    4041 
    4142{{{

© 2023 Oracle
ContactPrivacy policyTerms of Use