Candela Technologies Logo
Network Testing and Emulation Solutions

Routed Mode WanLinks with Virtual Routers

Goal: 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.
    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 then 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 the physical ports.
    1. Right-click port eth1 and select Modify Port screenshot
    2. Assign port eth1 an IP address and Network Mask screenshot
      1. NOTE: This example uses 172.1.1.1 and 255.255.255.0
    3. Drag port eth1 into Router R0(1) screenshot
    4. Right-click port eth2 and select Modify Port screenshot
    5. Assign port eth2 an IP address and Network Mask. screenshot
      1. NOTE: This example uses 172.2.2.1 and 255.255.255.0
    6. If either physical port connects to a larger routed network, right-click the port and select Modify and enter values for Next Hop and Subnets as follows: screenshot
      1. NOTE: Next Hop is the default gateway of your next network hop
      2. Up to 8 different subnets can be configured or 0.0.0.0/0 for any subnet
      3. Click OK when done, then click Apply in Netsmith to apply your changes
    7. Drag port eth2 into Router R1(0) screenshot
    8. Click the Apply button at the bottom of the Netsmith window screenshot

    For more information see LANforge-GUI User Guide: Netsmith

  7. Run traffic and verify results. (Refer to LANforge FIRE Cookbook to run traffic)
    1. Verify that the traffic on eth1 is being sent to Default Gateway 172.1.1.1 and that traffic on eth2 is being sent to Default Gateway 172.2.2.1 screenshot
      1. NOTE: In this example, traffic to eth1 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
      2. Traffic to eth2 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
      3. To generate routed network traffic refer to the LANforge FIRE Cookbook Routed Network Testing section.
      4. If your physical configuration is complete, Netsmith should appear as shown here:
    2. Right-click one of the Virtual Routers and select Show Routing Table to view the internal routing table for the Virtual Router screenshot
    3. LANforge Virtual Routers by default use simple subnet routing, but can also use OSPF or BGP routing protocols. LANforge can also perform IPv4 multicast routing. screenshot

      For more information see LANforge-GUI User Guide: Netsmith

    For more information see LANforge FIRE Cookbook


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