Share via


Creating the Platforms for the IPv6 Test Lab

The IPv6 test lab uses specific Windows CE-based platforms and configurations. To build each platform and download it to a Windows CE-based device, follow the instructions in the order provided.

Note You must build CLIENT2 first because you need its IP address when building CLIENT1.

To build CLIENT2

  1. In Platform Builder, create a new platform. The following list shows the choices to make in the New Platform Wizard:

    1. Choose the CEPC x86 BSP.
    2. Choose the Enterprise Web Pad configuration, and name the platform CLIENT2.
    3. Choose Enterprise Web Pad.
    4. Ignore the Application and Media Wizard page.
    5. Make sure Tcp/IPv6 support is selected.

    For information about creating a new platform, see Creating a Platform.

  2. To build the CLIENT2 platform, from the Build menu, choose Build Platform.

    The time required to build the OS image depends on the number of features included in the platform. You can observe the build process on the Build tab and by looking at the status icon at the bottom right of the IDE.

  3. Configure a connection from the development workstation to the CLIENT2 CEPC target device. For more information about configuring this connection, see Configuring an Ethernet Remote Connection.

  4. If you have not previously created a boot floppy disk for the CEPC, do so now. For more information, see Creating a Boot Floppy Disk for an x86 SDB.

  5. To download the operating system (OS) image to the CEPC, from the Target menu, choose Download/Initialize.

    If the download does not start within a few minutes, restart the CEPC.

    After the image is downloaded, the UI appears on the CEPC.

  6. On the CEPC, from a command prompt, run IPConfig.

  7. Capture the IPv4 and IPv6 addresses for use later in these procedures.

  8. To disconnect from the CEPC, perform the following steps:

    1. From the Debug menu, choose Stop Debugging.
    2. From the Target menu, choose Disconnect.
    3. When prompted to stop all running services, choose OK.

To build CLIENT1

  1. In Platform Builder, create a new platform. The following list shows the choices to make in the New Platform Wizard:

    • Choose the CEPC x86 BSP.
    • Choose the Enterprise Web Pad configuration, and name the platform CLIENT1.
    • Choose Enterprise Web Pad.
    • Make sure Tcp/IPv6 support is selected.

    For information about creating a new platform, see Creating a Platform.

  2. To set up the Hosts file, perform the following steps. For more information, see Setting up a Hosts File.

    1. From the Workspace window, choose the ParameterView tab.

    2. Expand the nodes until you find the CEPC folder.

    3. Expand the CEPC folder, and then expand the Project Specific Files folder.

    4. Open the Project.reg file.

    5. Type the following information:

      ;Set up Hosts file

      [HKEY_LOCAL_MACHINE\Comm\Tcpip\Hosts\IPv6 CLIENT2]

      "ExpireTime"=hex:FF,FF,FF,FF,FF,FF,FF,FF

      "Ipaddr6"=hex:<CLIENT2 IPv6 address><CLIENT2 ScopeID>

      "Ipaddr"=hex:0a,00,03,02

      Before you convert the addresses and scope ID to hexadecimal, you must expand them. Expand the IPv6 address to the full 16-bytes, expand the scope ID to 4-bytes, and then separate byte boundaries with a space.

      You must also convert IPv4 to hexadecimal. For example, if the CLIENT2 IPv6 address and scope ID is fec0:::f1b3:240:5ff:fe70:2628%1, and the IPv4 address is 10.0.3.2, you would type:

      "Ipaddr6"=hex:fe,c0,00,00,00,00,f1,b3,02,40,05,ff,fe,70,26,28,01,00,00,00

      "Ipaddr"=hex:0a,00,03,02

      For more information, see Expanding an IPv6 Address and Converting Decimal to Hexadecimal.

    6. Save and close the Project.reg file.

  3. To build the CLIENT1 platform, from the Build menu, choose Build Platform.

    The time required to build the OS image depends on the number of features included in the platform. You can observe the build process on the Build tab and by looking at the status icon at the bottom right of the IDE.

    If an error occurs in the build, verify that you typed the information correctly in the Project.reg file. For more information, see Troubleshooting Build Problems.

  4. Configure a connection from a development workstation to the CEPC target device. For more information about configuring this connection, see Configuring the Connection to a Target Device Using Platform Manager.

  5. If you have not previously created a boot floppy disk for the CEPC, do so now. For more information, see Tutorial Step 3: Creating a Boot Floppy Disk for the CEPC.

  6. To download the OS image to the CEPC, from the Target menu, choose Download/Initialize.

    If the download does not start within a few minutes, restart the CEPC.

    After the image is downloaded, the UI appears on the CEPC.

  7. To disconnect from the CEPC, perform the following steps:

    1. From the Debug menu, choose Stop Debugging.
    2. From the Target menu, choose Disconnect.
    3. When prompted to stop all running services, choose OK.

To build ROUTER1

To build ROUTER1, you will follow some of the instructions in How to Create a Gateway. Before performing these steps, you must know the network cards and associated interface names in the target device. For information on network cards and interface names, see Configuring the Gateway Registry.

  1. Follow the instructions in Creating a Gateway OS Image for a CEPC, with the following changes:

    • Name the platform ROUTER1.
    • Select the Tcp/IPv6 support feature check box.
  2. To configure the TCP/IP protocol, you must change the registry. Perform the following steps to open the Project.reg file:

    1. From the Workspace window, choose the ParameterView tab.
    2. Expand the nodes until you find the CEPC folder.
    3. Expand the CEPC folder, and then expand the Project Specific Files folder.
    4. Open the Project.reg file.
  3. To configure the TCP/IP protocol for the interface on Subnet1, type the following information:

    ; Configure TCP/IP for the private interface, Subnet1

    [HKEY_LOCAL_MACHINE\Comm\<Private Network Interface Name (Adapter 1)>\Parms\Tcpip]

    "EnableDHCP"=dword:0

    "IPAddress"="10.0.1.1"

    "SubnetMask"="255.255.255.0"

  4. To configure the TCP/IP protocol for the public interface on Subnet2, type the following information:

    ; Configure TCP/IP for the public interface, Subnet2

    [HKEY_LOCAL_MACHINE\Comm\<Public Network Interface Name (Adapter 2)>\Parms\Tcpip]

    "EnableDHCP"=dword:0

    "IPAddress"="10.0.2.1"

    "SubnetMask"="255.255.255.0"

  5. Save and close the Project.reg file.

  6. To build the ROUTER1 platform, from the Build menu, choose Build Platform.

    The time required to build the OS image depends on the number of features included in the platform. You can observe the build process on the Build tab and by looking at the status icon at the bottom right of the IDE.

    If an error occurs in the build, verify that you typed the information correctly in the Project.reg file. For more information, see Troubleshooting Build Problems.

  7. Configure a connection from a development workstation to the ROUTER1 CEPC target device. For more information about configuring this connection, see Configuring the Connection to a Target Device Using Platform Manager.

  8. If you have not previously created a boot floppy disk for the CEPC, do so now. For more information, see Tutorial Step 3: Creating a Boot Floppy Disk for the CEPC.

  9. To download the OS image to the CEPC, from the Target menu, choose Download/Initialize.

    If the download does not start within a few minutes, restart the CEPC.

  10. To verify ROUTER1, perform the following steps:

    1. On the Target menu, choose CE Target Control.
    2. In the Target Control window, type s ipconfig /d.
    3. Verify that the IP addresses displayed are the ones that you entered.

See Also

Creating the Platforms for the IPv6 Test Lab | How to Set Up and Use an IPv6 Test Lab | IPConfig

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.