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.
- 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 |
 |
- 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 |
 |
- Configure the ports on the ends of the WanLink.
- 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 |
 |
- 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) |
 |
- 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 |
 |
- 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 |
 |
- Setup a Layer-3 UDP connection between MAC VLANs eth1#0 and eth1#1.
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