Direct Connections

If you are testing a SUT that cannot be part of a larger network (usually for security or logistical purposes), this section explains how to create a closed, local connection with Eggplant Functional.

Step by Step: Setting up a Direct Connection Between Eggplant Functional and the SUT

This process is nearly identical for the Eggplant Functional computer and the SUT. (The only difference is the IP address in step three.)

The required settings are found in the computers' network preferences (not in the Eggplant Functionalapplication or the VNC server.)

  1. In network preferences, select (or create a new) connection. Select a "wired" or "ethernet" connection.
  2. Indicate that you are using a static IP address. This option may take several forms:
    • Disable DHCP or Roaming Mode.
    • Select Static or Manual IP address.
    • Select Use the following IP address:
  3. Enter a private IP address. Use 10.0.0.1 for Eggplant Functional, and 10.0.0.2 for the SUT. (These IP addresses are "non-routable", or reserved for private networks.)
  4. Make the Eggplant Functional computer a router for the SUT.
    1. In the Gateway or Router field, enter the IP address of the Eggplant Functionalcomputer: 10.0.0.1 .
    2. Enter the subnet mask 255.255.255.0 . (On this network, only IP addresses that begin with 10.0.0 are considered local.)
  5. Connect the computers with an Ethernet cable.

Step by Step: Setting up a Direct Connection in Eggplant Functional

  1. Create a new network location on the Eggplant Functional computer. (For Mac OS X 10.4, see note below.)
    1. Open Mac OS X System Preferences > Network.
    2. In the Location pop-up menu, choose Edit Locations.
    3. In the location list, click the plus sign to add a new location.
    4. Give the new location a descriptive name, such as Direct Connection.
    5. In the list of network interfaces, select Ethernet.
  2. Give the computer a private IP address.
    1. In the Configure pop-up menu, choose Manually.
    2. In the IP Address field, enter 10.0.0.1 . (This IP address is "non-routable", or reserved for private networks.)
  3. Make the Eggplant Functional computer a router for the SUT.
    1. In the Router field, repeat the IP address you just entered: 10.0.0.1 . (You will also use this IP address as the SUT's router, so the Eggplant Functional computer will control traffic to the SUT.)
    2. In the Subnet Mask field, enter 255.255.255.0 . On this network, only IP addresses that begin with 10.0.0 are considered local.

Step by Step: Setting up a Direct Connection on the SUT

  1. In network preferences, select (or create a new) connection. Select a wired or ethernet connection.
  2. Indicate that you are using a static IP address. This setting may take several forms:
    • Disable DHCP or Roaming Mode.
    • Select Static or Manual IP address.
    • Select Use the following IP address.
  3. Enter 10.0.0.2 as the SUT's IP address.
  4. Enter Eggplant Functional's IP address (10.0.0.1) as the gateway or router IP address for the SUT.
  5. Enter the subnet mask 255.255.255.0. (This is the same subnet mask you entered on the Eggplant Functionalcomputer.)
  6. Connect the computers with an ethernet cable.

 

This topic was last updated on August 19, 2021, at 03:30:51 PM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2022 Eggplant