Candela Technologies
http://www.candelatech.com
sales@candelatech.com
+1 360 380 1618 [PST, GMT -8]

LANforge-ICE Cookbook

Overview

LANforge-ICE WAN Emulation

  1. Bridged Mode (Non-Routed) WanLink
  2. Bridged Mode WanLink with Virtual Ports/Redirect Devices
  3. Routed Mode WanLinks with Virtual Routers
  4. Routed Mode WanLinks with a Single Physical Port
  5. Routed Mode WanLinks with WanPaths
  6. Virtual Router with DHCP Service
  7. Virtual Router with NAT
  8. Multiple Layer-2 Switches
  9. Multiple Virtual Routers
  10. Multiple Physical Port Testing

 


Candela Technologies, Inc., 2026 Main Street, Suite A, P.O. Box 3285, Ferndale, WA 98248, USA
www.candelatech.com | sales@candelatech.com | +1 360 380 1618


Overview

The LANforge-ICE Cookbook provides a set of high-level examples of how to setup useful test scenarios in LANforge-ICE for WAN emulation.  Each example intends to give the reader a brief introduction to the test scenario and a set of step-by-step instructions on how to use the LANforge-GUI to configure the test.

All of the following examples will work on Linux systems running the LANforge software with the LANforge kernel and a sufficient license.  If you are running another Linux kernel, you will not be able to exactly duplicate some of the examples, but there are usually work-arounds available to assist you.   Please contact us at support@candelatech.com if you have any questions.

If you are using the Windows version of LANforge, you will have to modify ports using the Windows utilities and you will not be able to duplicate the Routed Mode ICE examples.  Everything else should work approximately the same, but the performance is limited to 10Mbps speeds.

 


Candela Technologies, Inc., 2026 Main Street, Suite A, P.O. Box 3285, Ferndale, WA 98248, USA
www.candelatech.com | sales@candelatech.com | +1 360 380 1618


LANforge-ICE WAN Emulation

Before attempting the examples below, ensure that you have successfully followed these software installation guides:
LANforge-GUI Installation
LANforge Server Installation

It is also recommended that you back up your current running LANforge Server database so that you may safely return to your current operating state.


  1. Bridged Mode (Non-Routed) WanLink

    Goal: To allow LANforge-ICE to sit transparently on a network segment by using a Bridged Mode WanLink to simulate a WAN.

    In this test scenario, a LANforge-ICE WanLink is created in Bridged Mode to simulate a WAN consisting of a DS1 speed (1.544Mbps) link with 20ms of delay in one direction and 30ms of delay in the other direction.

    1. Setup the LANforge Ports so that they have 0.0.0.0 IP addresses.
      Bridged Mode WanLinks use ports that have no IP address because the ports are transparent to the traffic flowing through them.
    2. A: Go to the Port Manager.
      B: Modify port eth0. Set the IP address, IP Mask and Gateway IP to all zeroes (0.0.0.0).
      C: Modify port eth1. Set the IP address, IP Mask and Gateway IP to all zeroes (0.0.0.0).
      D: Verify port configuration.

    3. Create a WanLink.
    4. A: Go to the WanLinks tab.
      B: Create a WanLink.

      To simulate a WAN, enter a specific amount of delay or other impairment.

      For this example, enter 20ms of delay for Entry Point A and 30ms of delay for Entry Point B.

      Also, be sure to set the correct ports, transfer rate and backlog buffer. Select 'OK' when done.
      C: Verify WanLink creation.
      D: Go to the Status tab and select Netsmith to view the graphical representation of the WanLink.
      E: This is the general form of a Bridged Mode WanLink in Netsmith. It consists of two 0.0.0.0 IP addressed ports with a vertical bar between them.

    5. Run traffic and verify results.
    6. A: Right-click to toggle the WanLink to allow traffic from a transmitting device to flow to a receiving device.
      B: The transmitting/receiving devices can be just about anything that generates and receives traffic such as a web server and client or a pair of LANforge-FIRE ports.

      Right-click to display the WanLink.

      C: WanLink display.
      D: On the WanLinks tab, highlight the WanLink Endpoints and scroll to the right to note the Serialization Delay which is the delay injected by LANforge to account for packet size and transfer rate.
      In this case, SD = (1514 bytes * 8 bits/byte) / 1.544Mbps = 7.8ms

      The total delay as experienced by the transmitting/receiving device is the sum of the WanLink configured delay and the serialization delay which in this case would be about 28ms in one direction and 38ms in the other.

  2.  


    Candela Technologies, Inc., 2026 Main Street, Suite A, P.O. Box 3285, Ferndale, WA 98248, USA
    www.candelatech.com | sales@candelatech.com | +1 360 380 1618


  3. Bridged Mode WanLink with Virtual Ports/Redirect Devices

    Goal: To setup a Bridged Mode WanLink using RDDs (Redirect Devices).

    In this test scenario, a LANforge-ICE WanLink is created in Bridged Mode using Redirect Devices to illustrate an example of how to send LANforge-FIRE traffic to yourself through LANforge-ICE. This is useful when physical ports are in short supply and a proof-of-concept test is needed.

    1. Setup a Netsmith Connection.

      A: Go to the Status tab and select Netsmith.
      B: Right-click to create a new connection.
      C: Take defaults, Auto Create everything and select 'OK'.

      NOTE:The new connection is composed of two pairs of Redirect Devices, Port 1A, 1B and Port 2A, 2B and a WanLink. The new connection is not created until you select the 'Apply' button in the Netsmith window.
      D: Apply the new connection.

      NOTE:The new connection is created and has a Bridged Mode WanLink between Redirect Device ports 1B and 2B which are shown as smaller, green squares (B-Ports) connected by a vertical bar (WanLink).

    2. Setup the WanLink.

      A: Right-click the WanLink select Modify WanLink.
      B: Verify that the B-side ports of the Redirect Device pairs are filled in which in this case are rddVR0b and rddVR1b.

      Also be sure to set the impairment, if any, backlog-buffer and transfer rate. Select 'OK' when done.
      C: Right-click to toggle the WanLink status to Running (green).

    3. Setup the ports.

      A: Right-click port rddVR0 and select Modify Port.
      B: Assign an IP address and Network Mask.
      C: Right-click port rddVR1 and select Modify Port.
      D: Assign an IP address and Network Mask.

      NOTE:An alternative method to set Network Mask is after the IP address, put a / followed by the number of mask bits. In this case, /24 is equivalent to 255.255.255.0
      E: Select IPs at the bottom of the Netsmith window to verify port configuration.
      F: Go to the Port Mgr tab to verify port configuration.

      NOTE:The Bridged Mode WanLink is connected between rddVR0b and rddVR1b which both have 0.0.0.0 IP addresses.

    4. Create a Layer-3 Connection.

      A: Go to the Layer-3 tab and select Create.
      B: The RDD-FIRE connection will use the A-side ports of the Redirect Device pairs.

      These are the ports rddVR0 and rddVR1 that were assigned IP addresses in step 2.
      C: Verify the Layer-3 connection.

    5. Run LANforge-FIRE to yourself through LANforge-ICE!

      A: Highlight the Layer-3 Cross Connect and select 'Start'.
      B: Select 'Display' to show the Layer-3 Cross Connect details.
      C: Go to the Status tab and select 'Netsmith' to view the graphical representation of the setup.
      D: Right-click to display the WanLink details.

  4.  


    Candela Technologies, Inc., 2026 Main Street, Suite A, P.O. Box 3285, Ferndale, WA 98248, USA
    www.candelatech.com | sales@candelatech.com | +1 360 380 1618


  5. Routed Mode WanLinks with Virtual Routers

    Goal: To setup a Routed Mode WanLink between two Virtual Routers.

    In this test scenario, LANforge-ICE is used to simulate a routed network where incoming traffic on one port is sent through one Virtual Router then through a WanLink, then through a second Virtual Router and then finally out to a port on a different network.

    1. Setup a Netsmith Connection.

      A: Go to the Status tab and select Netsmith.
      B: Right-click to create a new connection.
      C: Take defaults, Auto Create everything and select 'OK'.
      D: Select 'Apply' in the Netsmith window to create the connection.

    2. Setup two Virtual Routers

      A: Right-click to create a new router.
      B: Take defaults, or change the name, graphical size and notes about the Virtual Router.

      Select 'OK' when done.
      C: Repeat for the second Virtual Router.
      D: Select the 'Apply' button in the Netsmith window.

      NOTE:After making any changes to the Netsmith window, you must select 'Apply' or your changes will NOT be implemented and could be lost.

      Also, note the Netsmith Apply Progress bar displayed at the bottom of the Netsmith window.

    3. Configure the ports on the ends of the WanLink.

      A: Right-click port rddVR0 and select Modify Port.
      B: Assign an IP address and Network Mask.

      This example uses 10.1.1.100 and 255.255.255.0.
      C: Right-click port rddVR1 and select Modify Port.
      D: Assign an IP address and Network Mask.

      This example uses 10.1.1.101 and 255.255.255.0.

    4. Drag the ends of the WanLink into the Virtual Routers.

      A: Left-click and drag rddVR0 into Router-0.
      B: Left-click and drag rddVR1 into Router-1.
      C: Select the 'Apply' button at the bottom of the Netsmith window.

    5. Setup the Routed Mode WanLink characteristics.

      A: Right-click the WanLink and select Modify Wanlink.
      B: Verify that the B-side ports, rddVR0b and rddVR1b are filled in.

      Also be sure to set the impairment, if any, as well as backlog-buffer and transfer rate.

      Select 'OK' when done.
      C: Right-click the WanLink and select Toggle Wanlink to set its status to Running (green).

    6. Setup the physical ports.

      A: Right-click port eth0 and select Modify Port.
      B: Assign port eth0 an IP address and Network Mask.

      This example uses 172.1.1.1 and 255.255.255.0.
      C: Drag port eth0 into Router-0.
      D: Right-click port eth1 and select Modify Port.
      E: Assign port eth1 an IP address and Network Mask.

      This example uses 172.2.2.1 and 255.255.255.0.
      F: If either physical port connects to a larger routed network, right-click the port and select 'Modify' to fill in the values for Next Hop and Subnets as follows:

      Next Hop is the default gateway of your next network hop.
      Subnets can be up to 8 different subnets or 0.0.0.0/0 for any subnet.
      Click 'OK' when done, then select 'Apply' in Netsmith to apply your changes.
      G: Drag port eth1 into Router-1.
      H: Select the 'Apply' button at the bottom of the Netsmith window.

    7. Run traffic and verify results.

      A: Verify that the traffic on eth0 is being sent to Default Gateway 172.1.1.1 and that traffic on eth1 is being sent to Default Gateway 172.2.2.1.

      In this example, traffic to eth0 is from a port configured with IP address 172.1.1.105 Network Mask 255.255.255.0 and Default Gateway 172.1.1.1. Traffic to eth1 is from a port configured with IP address 172.2.2.106 Network Mask 255.255.255.0 and Default Gateway 172.2.2.1.

      If your physical configuration is complete, Netsmith should appear as shown.

      B: Right-click one of the Virtual Routers and select Show Routing Table to view the internal routing table of the Virtual Router.
      C: Virtual Routers use simple subnet routing.

      Routing protocols and redundant links are not supported at this time.

  6.  


    Candela Technologies, Inc., 2026 Main Street, Suite A, P.O. Box 3285, Ferndale, WA 98248, USA
    www.candelatech.com | sales@candelatech.com | +1 360 380 1618


  7. Routed Mode WanLinks with a Single Physical Port

    Goal: To setup a Routed Mode WanLink between two Virtual Routers that only use one physical port.

    In this test scenario, LANforge-ICE is used to simulate a routed network where a single physical port is used for incoming and outgoing traffic. The traffic will enter the physical port and will then be sent through two Virtual Routers connected by a WanLink and then back out the same physical port.

    1. Setup a Netsmith Connection.

      A: Go to the Status tab and select Netsmith.
      B: Right-click to create a new connection.
      C: Take defaults, Auto Create everything and select 'OK'.
      D: Select 'Apply' in the Netsmith window to create the connection.

    2. Setup two Virtual Routers

      A: Right-click to create a new router.
      B: Take defaults, or change the name, graphical size and notes about the Virtual Router.

      Select 'OK' when done.
      C: Repeat for the second Virtual Router.
      D: Select the 'Apply' button in the Netsmith window.

      NOTE:After making any changes to the Netsmith window, you must select 'Apply' or your changes will NOT be implemented and could be lost.

      Also, note the Netsmith Apply Progress bar displayed at the bottom of the Netsmith window.

    3. Configure the ports on the ends of the WanLink.

      A: Right-click port rddVR0 and select Modify Port.
      B: Assign an IP address and Network Mask.

      This example uses 10.1.1.100 and 255.255.255.0.
      C: Right-click port rddVR1 and select Modify Port.
      D: Assign an IP address and Network Mask.

      This example uses 10.1.1.101 and 255.255.255.0.

    4. Drag the ends of the WanLink into the Virtual Routers.

      A: Left-click and drag rddVR0 into Router-0.
      B: Left-click and drag rddVR1 into Router-1.
      C: Select the 'Apply' button at the bottom of the Netsmith window.

    5. Setup the Routed Mode WanLink characteristics.

      A: Right-click the WanLink and select Modify Wanlink.
      B: Verify that the B-side ports, rddVR0b and rddVR1b are filled in.

      Also be sure to set the impairment, if any, as well as backlog-buffer and transfer rate.

      Select 'OK' when done.
      C: Right-click the WanLink and select Toggle Wanlink to set its status to Running (green).

    6. Setup MAC VLANs.

      A: Go to the Port Mgr tab, highlight eth0 and select 'Create'.
      B: Check the MAC-VLAN button.
      Set a MAC address that begins with 00 such as 00:11:33:55:77:01.
      Set the Quantity to 2.
      Set the IP Address to 172.1.1.1 and IP Mask to 255.255.255.0.
      Leave the Gateway IP field blank.
      Select 'OK' when done.
      C: Highlight eth0#1 and select 'Modify'.
      D: Set eth0#1 IP address to 172.2.2.1 and IP Mask to 255.255.255.0.
      E: Highlight eth1 and select 'Create'.
      F: Check the MAC-VLAN button.
      Set a MAC address that begins with 00 such as 00:22:44:66:88:01.
      Set the Quantity to 2.
      Set the IP Address to 172.1.1.100 and IP Mask to 255.255.255.0.
      Set the Gateway IP to 172.1.1.1.
      Select 'OK' when done.
      G: Highlight eth1#1 and select 'Modify'.
      H: Set eth1#1 IP address to 172.2.2.100, IP Mask to 255.255.255.0 and Gateway IP to 172.2.2.1.

    7. Configure Netsmith.

      A: On the Netsmith window, move the ports so that they are more clearly visible.

      NOTE:Be sure to select 'Apply' after moving objects so that their new positions are saved to the database.

      B: Drag eth0#0 into Router-0.
      C: Drag eth0#1 into Router-1.
      D: Select 'Apply' in the Netsmith window.

      LANforge is now ready to accept incoming traffic on eth0, the single physical port that is connected to a Routed Mode WanLink. For this example, we will place a loopback cable between ports eth0 and eth1, then configure the MAC VLANs on eth1 to generate test traffic to the Routed Mode WanLink.

    8. Setup a Layer-3 UDP connection between eth1#0 and eth1#1.

      A: Go to the Layer-3 tab and select 'Create'.
      B: Set Endpoint A to be eth1#0 and Endpoint B to be eth1#1.
      Set the name of the CX, CX Type to LANforge UDP and set the Report Timer to 1000.
      Set the Min/Max Tx Rate to 1024000 and the Min/Max Pkt Size to 1472.
      C: Highlight the new connection and select 'Start'.
      D: You will get a pop-up warning, but you can ignore it because the two MAC VLAN interfaces are on different subnets and are connected by the Routed Mode WanLink.
      E: Netsmith now shows the new connection and traffic flowing through the Routed Mode WanLink.

  8.  


    Candela Technologies, Inc., 2026 Main Street, Suite A, P.O. Box 3285, Ferndale, WA 98248, USA
    www.candelatech.com | sales@candelatech.com | +1 360 380 1618


  9. Routed Mode WanLink with WanPaths

    Goal: To setup a Routed Mode WanLink with WanPaths.

    In this test scenario, LANforge-ICE is used to filter traffic by IP address on a WanLink with the use of WanPaths.

    1. Setup a Netsmith connection.
    2. A: Go to the Status tab and select Netsmith.
      B: Right-click to create a new connection.
      C: Take defaults, Auto Create everything and select 'OK'.
      D: Select 'Apply' in the Netsmith window to create the connection.
      E: The Netsmith window after applying changes.

    3. Setup the WanLink.
    4. A: Right-click the WanLink, and select Modify WanLink.
      B: Setup the WanLink with values larger than what each of the WanPaths will use. WanPaths are subordinate to WanLinks so WanLinks should be configured to handle the bandwidth and buffering required by all of its WanPaths.

      Select 'Apply' and leave the WanLink Create/Modify window OPEN.

    5. Setup the WanPaths.
    6. A: Select 'Create-WP' on Entry Point A to create a new WanPath on this WanLink.
      In order to filter by specific IP address, use a Source and Dest Mask of 32 to exactly match the IP coming in on the Entry Point. Select OK to create the WanPath.
      B: Select 'Create-WP' on Entry Point B to create a new WanPath on this WanLink.
      The values for this WanPath will be reversed from the first one so that the Source and Destination IPs are swapped around. Select OK to create the WanPath.
      C: Repeat for another set of IP addresses on this WanLink.
      D: Swap the Source and Destination IPs for this corresponding WanPath.
      E: Verify that the WanPaths on this WanLink are setup correctly, then select OK on the WanLink itself.

    7. Setup the ports with IP addresses.
    8. A: Right-click the WanLink and select Toggle Wanlink.
      B: Right-click port rddVR0 and select Modify Port.
      C: Setup an IP address that is on a different network than the WanPath entry points.
      D: Setup an IP address on port rddVR1 that is on the same network as rddVR0.

    9. Add the Virtual Routers.
    10. A: Right-click in Netsmith and select New Router.
      B: Take the defaults or change the Virtual Router name and graphical size.
      C: Create a second Virtual Router.
      D: Left-click rddVR0 and drag it inside Router-0.
      E: Left-click rddVR1 and drag it inside Router-1.
      F: Apply your changes in Netsmith.

    11. Setup the external interfaces.
    12. A: Right-click port eth0 and select Modify Port.
      B: Setup eth0 with a valid IP address and IP mask that is on the same network as the WanPath entry points ep-1 and ep-3.
      C: Left-click port eth0 and drag it inside Router-0.
      D: Setup eth1 with a valid IP address and IP mask that is on the same network as the WanPath entry points ep-2 and ep-4.
      E: Drag eth1 inside Router-1 and Apply changes in Netsmith.

    13. Run traffic to LANforge-ICE ports eth0 and eth1, then display results.
    14. A: Right-click the WanLink and select Display Wanlink.
      B: The lower half of the WanLink display shows traffic passing on WanPath entry points ep-3 and ep-4 and other IP address are excluded from passing on the WanLink.
      C: Highlight a WanPath and select Display Selected Paths in the lower left hand side of the WanLink display window.

  10.  


    Candela Technologies, Inc., 2026 Main Street, Suite A, P.O. Box 3285, Ferndale, WA 98248, USA
    www.candelatech.com | sales@candelatech.com | +1 360 380 1618


  11. Virtual Router with DHCP Service

    Goal: To setup a Virtual Router with one interface serving DHCP.

    In this test scenario, a LANforge Virtual Router is created with one interface setup to serve DHCP to two remote redirect interfaces that are setup to be DHCP clients.

    1. Setup a Virtual Router and two Netsmith Connections.

      A: Go to the Status tab and select Netsmith.
      B: Right-click to create a new virtual router.
      C: Right-click to create a new connection.
      D: Take defaults, Auto Create everything and select 'OK'.
      E: Repeat and create a second connection.
      F: Select the 'Apply' button to commit the changes in Netsmith to the LANforge Server.
      NOTE:Modifications in Netsmith are only sent to the LANforge Server after Applying them.

    2. Setup the WanLinks.

      A: Right-click the first WanLink select Modify WanLink.
      B: Enter values specific to your test and select 'OK'.
      C: Right-click to toggle the WanLink status to Running (green).
      D: Repeat for the second WanLink and set it to Running (green).

    3. Setup the ports.

      A: Right-click port rddVR0 and select 'Create Ports'.
      B: Select Bridge from the available connection types, name it, and select 'OK'.
      C: Right-click the bridge port and select 'Modify Port'.
      NOTE: You will have to select the 'Sync' button for your newly created bridge port to appear in the Netsmith window.
      D: Assign an IP address and IP mask, then select 'Apply'.
      E: Type interface names rddVR0 and rddVR2 in the whitespace below
      the Add Ports button so that you can add them as bridge members.
      F: Select 'Add Ports' to add the interfaces as bridge members, then select 'OK'.
      G: The Netsmith window now shows a bridge port with two bridge members.

    4. Setup DHCP Server and Clients.

      A: Drag the bridge port into the virtual router.
      B: Right-click the bridge port and select Modify.
      C: Select the DHCP checkbox at the bottom of the window and
      enter in your desired DHCP Server configuration, then select 'OK'.
      D: Right-click interface rddVR1 and select 'Modify Port'.
      E: Select the DHCP checkbox to make this interface a DHCP client, then select 'OK'.
      F: Repeat for interface rddVR3, then select Netsmith Apply.
      G: After the Netsmith apply, the clients will acquire IP addresses from
      the DHCP server. Enable the IPs checkbox at the bottom of the Netsmith
      window to see the IP addresses of the DHCP clients.

    5. Create a Layer-3 Connection.

      A: Go to the Layer-3 tab and select Create.
      B: The RDD-FIRE connection for this example will use interfaces rddVR1 and rddVR3.
      C: Verify the Layer-3 connection.

    6. Run LANforge-FIRE to yourself through LANforge-ICE!

      A: Highlight the Layer-3 Cross Connect and select 'Start'.
      B: Go to the Status tab and select 'Netsmith' to view the graphical representation of the setup.

  12.  


    Candela Technologies, Inc., 2026 Main Street, Suite A, P.O. Box 3285, Ferndale, WA 98248, USA
    www.candelatech.com | sales@candelatech.com | +1 360 380 1618


  13. Virtual Router with NAT

    Goal: To setup a Virtual Router with one interface performing NAT on outgoing traffic.

    In this test scenario, a pair of Virtual Routers are connected with a Redirected Interface connection with one side of the connection performing NAT on outgoing traffic. Two additional Redirected Interface connections are configured to pass traffic and demonstrate NAT.

    1. Setup two Virtual Routers and three Netsmith Connections.

      A: From the Netsmith window, right-click and create
      a virtual router.
      B: Repeat to create another virtual router.
      C: Right-click to create a new connection.
      D: Check the SKIP option on Port 1-B, WanLink and Port 2-B, then select 'OK'.
      E: Repeat and create two more connections.
      F: Select the 'Apply' button to commit the changes in Netsmith to the LANforge Server.
      NOTE:Modifications in Netsmith are only sent to the LANforge Server after Applying them.

    2. Setup the Ports.

      A: Right-click the rdd ports and select Modify Port
      and assign each pair of rdd ports a unique subnet and IP address.
      B: Enable the IPs checkbox to view the IP addresses of the rdd ports.
      C: Set up rddVR3 and rddVR5 with a Default Gateway that corresponds to
      their peer rdd interface. In this example, rddVR3 has a default gateway
      of 20.20.20.1 and rddVR5 has a default gateway of 30.30.30.1.

    3. Move the Redirected Interfaces into their desired positions.

      A: Drag rddVR0 into Router-0 and rddVR1 into Router-1.
      B: Drag rddVR2 into Router-0 and rddVR4 into Router-1.
      C: Select Netsmith Apply to commit the changes.

    4. Create a TCP connection and sniff traffic without NAT.

      A: Go to the Layer-3 tab and select 'Create'.
      B: Create a Layer-3 TCP connection between endpoints
      rddVR3 and rddVR5 then select 'OK'.
      C: In Netsmith, right-click the TCP connection and select 'Start'.
      D: Right-click port rddVR1 and select 'Sniff Port'.
      NOTE: You must have wireshark properly installed as described here:
      Installing Wireshark
      E: After wireshark begins, notice that the source and destination IP addresses are from 20.20.20.20 (rddVR3) and 30.30.30.30 (rddVR5) as expected without NAT enabled.

    5. Enable NAT and sniff traffic on the same port.

      A: Right-click the TCP connection and select 'Stop'.
      B: Right-click rddVR0 and select 'Modify'.
      C: Select the NAT checkbox, select 'OK', then select Netsmith Apply.
      D: Right-click the TCP connection and select 'Start'.
      E: Right-click port rddVR1 and select 'Sniff Port'.
      F: After wireshark begins, notice that any source or destination
      IP address from or to 20.20.20.20 (rddVR3) has been NAT'd to be 10.10.10.10 because rddVR0 is now performing NAT on all outgoing traffic.

  14.  


    Candela Technologies, Inc., 2026 Main Street, Suite A, P.O. Box 3285, Ferndale, WA 98248, USA
    www.candelatech.com | sales@candelatech.com | +1 360 380 1618


  15. Multiple Layer-2 Switches

    Goal: To emulate the behavior of five Layer-2 Switches connected together for traffic fail-over testing.

    In this test scenario, the function of several layer-2 switches will be emulated using multiple LANforge Bridge devices with Spanning Tree Protocol so that each bridge can be connected to at least two others and fail-over tests can be demonstrated.

    1. Setup seven Netsmith Connections.

      A: From the Netsmith window, right-click and create a new connection.
      B: Take defaults, Auto Create everything then select 'OK'.
      C: Repeat and create six more connections.
      D: Select the 'Apply' button to commit the changes in Netsmith to the LANforge Server.
      NOTE:   Modifications in Netsmith are only sent to the LANforge Server after Applying them.

    2. Setup five Bridge devices.

      A: Right-click one of the physical ports and select Create Ports.
      B: Choose Bridge, name the bridge, select 'Apply' then repeat and create four more bridges.
      There should now be 5 bridges named sw-0, sw-1, sw-2, sw-3 and sw-4.
      C: In Netsmith, arrange the bridge devices into separate areas as shown.

    3. Move the WanLinks into their desired positions.

      A: Move the WanLinks into their desired positions.
      Bridges sw-0, sw-1 and sw-2 should each have 2 wanlinks, one to sw-3 and one to sw-4.
      Bridges sw-3 and sw-4 should also have a wanlink between them.
      B: Select Netsmith Apply to commit the changes.

    4. Modify each Bridge to enable Spanning Tree Protocol and add Bridge Members.

      A: Right-click bridge sw-0 and select Modify Ports.
      B: Select Bridge Info and enable Spanning Tree, then add bridge members rddVR0 and rddVR2.
      C: Right-click bridge sw-1, select Modify Ports, then enable STP and add members
      rddVR4 and rddVR6.
      D: Right-click bridge sw-2, select Modify Ports, then enable STP and add members
      rddVR8 and rddVR10.
      E: Right-click bridge sw-3, select Modify Ports, then enable STP and add members
      rddVR1, rddVR5, rddVR9 and rddVR12.
      F: Right-click bridge sw-4, select Modify Ports, then enable STP and add members
      rddVR3, rddVR7, rddVR11 and rddVR13.
      G: Right-click and toggle all WanLinks so that they are running.
      NOTE: Set each wanlink to be at least 4Mbps to work with the traffic speeds used below.

    5. Create virtual interfaces for traffic generation and fail-over tests.

      A: Right-click sw-0, select Create Ports and choose Redirect.
      B: Add rddA to sw-0.
      C: Right-click rddB, select Create Ports and choose MAC-VLAN.
      Enter a starting MAC address, quantity 5, and starting IP address.
      D: Repeat for sw-1.
      E: Repeat for sw-2.

    6. Create Layer-3 connections.

      A: On the Layer-3 tab, create a Layer-3 UDP connection between
      rddB#0 and rddD#0.
      B: Create 4 more connections between the rest of the rddB and rddD ports.
      C: Create 5 connections between the rddD and rddF ports.
      Then create 5 connections between the rddF and rddB ports for a total of 15 connections.

    7. Test Fail-Over condition.

      A: On the Layer-3 tab, select all 15 connections and select 'Start'.
      B: In Netsmith, verify traffic is flowing on 3 separate WanLinks.
      VRWL1.1.000, VRWL-1.1.002 and VRWL-1.1.004 should all show traffic flowing.
      C: Right-click WanLink VRWL-1.1.004 and select Toggle WanLink.
      D: After approximately 1 minute, the traffic will find an alternate path.
      E: Right-click WanLink VRWL-1.1.004 and select Toggle WanLink.
      F: After approximately 1 minute, traffic resumes on its original path.
      G: Traffic flow after simulating multiple path failures.

      A sample LANforge HTML report of this fail-over test can be found here:
      Fail-Over Test Sample HTML Report

  16.  


    Candela Technologies, Inc., 2026 Main Street, Suite A, P.O. Box 3285, Ferndale, WA 98248, USA
    www.candelatech.com | sales@candelatech.com | +1 360 380 1618

  17. Simulating a Multiple Hop Network Coming Soon...
  18.  

  19. Simulating a Network with Multiple Physical Ports Coming Soon...

 
Email Candela Technologies at: support@candelatech.com if you have any questions or suggestions.

 


Candela Technologies, Inc., 2026 Main Street, Suite A, P.O. Box 3285, Ferndale, WA 98248, USA
www.candelatech.com | sales@candelatech.com | +1 360 380 1618

Candela Technologies, 2026 Main Street, Suite A, P.O. Box 3285, Ferndale, WA 98248, USA
www.candelatech.com | sales@candelatech.com | +1 360 380 1618
Last modified: Tue Sep 16 12:03:45 PDT 2008