Candela Technologies Logo
Network Testing and Emulation Solutions

4. Routed Mode WanLinks with a Single Physical Port

Goal: Setup a Routed Mode WanLink between two Virtual Routers that only use one physical port. Return to LANforge-ICE Cookbook

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 click Netsmith
    B: Right-click in the Netsmith window and select New Connection
    C: Accept defaults, Auto Create everything and click OK
    D: Click Apply in the Netsmith window to create the connection

  2. Setup two Virtual Routers.

    A: Right-click in the Netsmith window and select New Router
    B: Accept defaults, or change the name, graphical size and notes about the Virtual Router

    • Click OK when done

    C: Click the Apply button and repeat for the second Virtual Router

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

    D: Click the Apply button followed by the Sync button

    NOTE:   Clicking Sync makes sure any changes are synchronized with the current database

    • 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 R0(1)
    B: Left-click and drag rddVR1 into Router R1(2)
    C: Click 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

    NOTE:   Be sure to set the impairment, if any, and transfer rate

    • Click 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, select eth0 and click Create
    B: Select the MAC-VLAN button

    • Set a MAC address that begins with 00 (Ex: 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

    • Click OK when done

    C: Select the MAC VLAN eth0#1 and click Modify
    D: Set eth0#1 IP address to 172.2.2.1 and IP Mask to 255.255.255.0
    E: Select eth1 and click Create
    F: Select the MAC-VLAN button

    • Set a MAC address that begins with 00 (Ex: 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

    • Click OK when done

    G: Select the MAC VLAN eth1#1 and click 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: Move the ports on the Netsmith window to be more clearly visible

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

    B: Drag eth0#0 into Router R0(1)
    C: Drag eth0#1 into Router R1(2)
    D: Click 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

    • 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

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

    A: Go to the Layer-3 tab and click Create
    B: Set Endpoint A to be eth1#0 and Endpoint B to be eth1#1

    • Enter the CX name then set the CX Type to LANforge UDP and the Report Timer to 1000

    • Set the Min/Max Tx Rate to 1024000 and the Min/Max Pkt Size to 1472

    C: Select the new connection and click Start
    D: LANforge will issue a pop-up warning, but it can be ignore since the two MAC-VLAN interfaces are on different subnets and connected by the Routed Mode WanLink
    E: Netsmith now shows the new connection and traffic flowing through the Routed Mode WanLink

  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: Fri Mar 11 09:41:03 PST 2011