Candela Technologies Logo
Network Testing and Emulation Solutions

Virtual Router with DHCP Service

Goal: 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.
    1. Go to the Status tab and click the Netsmith button screenshot
    2. Right-click in the Netsmith window and select New Router screenshot
      1. Follow steps discussed above for configuring the router
    3. Right-click in the Netsmith window and select New Connection screenshot
    4. Accept defaults, Auto Create everything and click OK screenshot
    5. Repeat and create a second connection. screenshot
    6. Click the Apply button to commit the changes in Netsmith to the LANforge Server. screenshot
      1. NOTE: Modifications in Netsmith are only sent to the LANforge-Server after Applying them

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

  2. Setup the WanLinks.
    1. Right-click the first WanLink and select Modify WanLink screenshot
    2. Enter values specific to your test and click OK screenshot
      1. NOTE: Kernel-Mode allows for much higher emulation speeds and supports all features of the normal WAN emulation mode
      2. Kernel-Mode is available for the WAN emulation if you are using a pre-compiled Linux kernel from the Candela downloads page
    3. Right-click to toggle the WanLink status to Running (green). screenshot
    4. Repeat for the second WanLink and set it to Running (green). screenshot

    For more information see LANforge-GUI User Guide: WanLinks (ICE)

  3. Setup the ports.
    1. Right-click port rddVR0 and select Create Ports screenshot
    2. Select the Bridge button from the available connection types, name it, and click OK screenshot
    3. Right-click the bridge port and select Modify Port screenshot
      1. NOTE: You will have to click the Sync button for your newly created bridge port to appear in the Netsmith window.
    4. Assign an IP address and IP mask, then click Apply screenshot
    5. Enter interface names rddVR0 and rddVR2 in the whitespace located below the Add Ports button so that you can add them as bridge members screenshot
    6. Click Add Ports to add the interfaces as bridge members, then click OK screenshot
    7. The Netsmith window now shows a bridge port with two bridge members screenshot

    For more information see LANforge-GUI User Guide: Ports (Interfaces)

  4. Setup DHCP Server and Clients.
    1. Drag the bridge port into the virtual router. screenshot
    2. Right-click the bridge port and select Modify screenshot
    3. Select the 'DHCP' checkbox at the bottom of the window and enter in your desired DHCP Server configuration, then click OK screenshot
    4. Right-click interface rddVR1 and select Modify Port screenshot
    5. Select the 'DHCP' checkbox to make this interface a DHCP client, then click OK screenshot
    6. Repeat for interface rddVR3, then click Netsmith Apply screenshot
    7. After the Netsmith apply, DHCP clients will acquire IP addresses from the DHCP server screenshot
      1. Select the 'IPv4s' checkbox at the bottom of the Netsmith window to see the IP addresses of the DHCP clients

    For more information see LANforge-GUI User Guide: Ports (Interfaces)

  5. Create a Layer-3 Connection.
    1. Go to the Layer-3 tab and click Create screenshot
    2. The RDD-FIRE connection for this example will use interfaces rddVR1 and rddVR3. screenshot
    3. Verify the Layer-3 connection was created screenshot

    For more information see LANforge-GUI User Guide: Layer-3 Cross Connects (FIRE)

  6. Run LANforge-FIRE to yourself through LANforge-ICE!
    1. Select the Layer-3 Cross Connect and click Start screenshot
    2. Go to the Status tab and click Netsmith to view the graphical representation of the setup 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