Candela Technologies Logo
Network Testing and Emulation Solutions

Routed Mode WanLinks with a Single Physical Port

Goal: 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.
    1. Go to the Status tab and click Netsmith screenshot
    2. Right-click in the Netsmith window and select New Connection screenshot
    3. Accept defaults, Auto Create everything and click OK screenshot
    4. Click Apply in the Netsmith window to create the connection screenshot

    For more information see LANforge-GUI User Guide: Netsmith

  2. Setup two Virtual Routers.
    1. Right-click in the Netsmith window and select New Router screenshot
    2. Accept defaults, or change the name, graphical size and notes about the Virtual Router screenshot
      1. Click OK when done
    3. Click the Apply button and repeat for the second Virtual Router screenshot
      1. NOTE: After making any changes to the Netsmith window, you must click Apply or your changes will NOT be implemented and could be lost
    4. Click the Apply button followed by the Sync button screenshot
      1. NOTE: Clicking Sync makes sure any changes are synchronized with the current database
      2. Also, note the Netsmith Apply Progress bar displayed at the bottom of the Netsmith window

    For more information see LANforge-GUI User Guide: Netsmith

  3. Configure the ports on the ends of the WanLink.
    1. Right-click port rddVR0 and select Modify Port screenshot
    2. Assign an IP address and Network Mask screenshot
      1. This example uses 10.1.1.100 and 255.255.255.0
    3. Right-click port rddVR1 and select Modify Port screenshot
    4. Assign an IP address and Network Mask screenshot
      1. This example uses 10.1.1.101 and 255.255.255.0

    For more information see LANforge-GUI User Guide: Netsmith

  4. Drag the ends of the WanLink into the Virtual Routers.
    1. Left-click and drag rddVR0 into Router R0(1) screenshot
    2. Left-click and drag rddVR1 into Router R1(2) screenshot
    3. Click the Apply button at the bottom of the Netsmith window screenshot

    For more information see LANforge-GUI User Guide: Netsmith

  5. Setup the Routed Mode WanLink characteristics.
    1. Right-click the WanLink and select Modify Wanlink screenshot
    2. Verify that the B-side ports, rddVR0b and rddVR1b, are filled in screenshot
      1. NOTE: Be sure to set the impairment, if any, and transfer rate
      2. Click OK when done
    3. Right-click the WanLink and select Toggle Wanlink to set its status to Running (green) screenshot

    For more information see LANforge-GUI User Guide: Netsmith

  6. Setup MAC VLANs.
    1. Go to the Port Mgr tab, select eth1 and click Create screenshot
    2. Select the MAC-VLAN button screenshot
      1. Set a MAC address that begins with 00 (Ex: 00:11:33:55:77:01)
      2. Set the Quantity to 2
      3. Set the IP Address to 172.1.1.1 and IP Mask to 255.255.255.0
      4. Leave the Gateway IP field blank
      5. Click OK when done
    3. Select the MAC VLAN eth1#1 and click Modify screenshot
    4. Set eth1#1 IP address to 172.2.2.1 and IP Mask to 255.255.255.0 screenshot
    5. Select eth2 and click Create screenshot
    6. Select the MAC-VLAN button screenshot
      1. Set a MAC address that begins with 00 (Ex: 00:22:44:66:88:01)
      2. Set the Quantity to 2
      3. Set the IP Address to 172.1.1.100 and IP Mask to 255.255.255.0
      4. Set the Gateway IP to 172.1.1.1
      5. Click OK when done
    7. Select the MAC VLAN eth2#1 and click Modify screenshot
    8. Set eth2#1 IP address to 172.2.2.100, IP Mask to 255.255.255.0 and Gateway IP to 172.2.2.1 screenshot

    For more information see LANforge-GUI User Guide: Virtual Interfaces

  7. Configure Netsmith.
    1. After clicking on the sync button,move the ports on the Netsmith window to be more clearly visible.Eth1 and eth2 are connected via a loopback cabel screenshot
      1. NOTE: Be sure to click Apply after moving objects so that their new positions are saved to the database
    2. Drag eth1#0 into Router R0(1) screenshot
    3. Drag eth1#1 into Router R1(2) screenshot
    4. Click Apply in the Netsmith window screenshot
      1. LANforge is now ready to accept incoming traffic on eth0, the single physical port that is connected to a Routed Mode WanLink
      2. Ports eth0 and eth1 are physically connected via a loopback cable in this example. MAC VLANs on eth1 are configured to generate test traffic to the Routed Mode WanLink

    For more information see LANforge-GUI User Guide: Netsmith

  8. Setup a Layer-3 UDP connection between MAC VLANs eth2#0 and eth2#1.
    1. Go to the Layer-3 tab and click Create screenshot
    2. Set Endpoint A to be eth2#0 and Endpoint B to be eth2#1 screenshot
      1. Enter the CX name then set the CX Type to LANforge UDP and the Report Timer to 1000
      2. Set the Min/Max Tx Rate to 1024000 and the Min/Max Pkt Size to 1472
    3. Select the new connection and click Start screenshot
    4. Netsmith now shows the new connection and traffic flowing through the Routed Mode WanLink screenshot

    For more information see LANforge-GUI User Guide


Candela  Technologies, 2417 Main Street, Suite 201, Ferndale, WA 98248, USA
www.candelatech.com | sales@candelatech.com | +1.360.380.1618
Facebook | LinkedIn | Blog