Scenario: Connecting your corporate and remote networks with a modem

 

A modem enables two remote locations (such as a central office and a branch office) to exchange data between them. Point-to-Point Protocol (PPP) can connect two LANs together by establishing a connection between a system in the central office and another one in the branch office.

 

Situation

Suppose that you have a branch and corporate networks in two different locations. Every day the branch office needs to connect with the corporate office to exchange database information for their data entry applications. The amount of data exchanged does not constitute the purchase of a physical network connection, so you decide to use modems to connect the two networks as required.

Figure 1. Connecting your corporate and remote networks with a modem

 

Solution

PPP can connect two LANs together by establishing a connection between the systems as shown in the figure. In this case, assume that the remote office initiates the connection to the central office. You configure an originator profile on the remote system and a receiver profile on the central office system.

If the remote office PCs need access to the corporate LAN (192.168.1.0), the central office receiver profile will need IP forwarding turned on and IP address routing should be enabled for the PCs (192.168.2, 192.168.3, 192.168.1.6, and 192.168.1.5 in this example). Also, IP forwarding for the TCP/IP stack must be activated. This configuration enables basic TCP/IP communication between the LANs. You should consider security factors and DNS to resolve host names between the LANs.

 

Sample configuration

To set up a sample configuration from iSeries™ Navigator, follow these steps:

  1. Configure an originator connection profile on the remote office system.

    Ensure that you select the following information:

    • Protocol type: PPP

    • Connection type: Switched-line

    • Operating mode: Dial

    • Link configuration: This might be single line, or line pool, depending on your environment.

  2. On the General page of the New Point-to-Point Profile Properties, enter a name and description for the originator profile.

  3. Click Connection to open the Connection page. Choose the appropriate Line name or create a new one by typing a new name and clicking New.

    1. On the General page of the new line properties, highlight an existing hardware resource and set the Framing to Asynchronous.

    2. Click Modem to open the Modem page. From the Name select list, choose the modem that you are using.

    3. Click OK to return to New Point-to-Point Profile Properties page.

  4. Click Add and type the telephone number to reach the central office system. Ensure that you include any required prefixes.

  5. Click Authentication to open the Authentication page, and select Allow the remote system to verify the identity of this iSeries server. Select Require encrypted password (CHAP-MD5), and enter the required user name and password information.

  6. Click TCP/IP Settings to open the TCP/IP Settings page.

    1. For Local IP address, select the IP address of the remote office LAN interface (192.168.2.1) from the Use fixed IP address select box.

    2. For the remote IP address, choose Assigned by remote system.

    3. In the routing section, select Add remote system as the default route.

    4. Click OK to complete the originator profile.

  7. Configure a receiver connection profile on the central office system.

    Ensure that you select the following information:

    • Protocol type: PPP

    • Connection type: Switched-line

    • Operating mode: Answer

    • Link configuration: This might be single line, or line pool, depending on your environment.

  8. On the General page of the New Point-to-Point Profile Properties, enter a name and description for the receiver profile.

  9. Click Connection to open the Connection page. Choose the appropriate Line name or create a new one by typing a new name and clicking New.

    1. On the General page, highlight an existing hardware resource and set the Framing to Asynchronous.

    2. Click Modem to open the Modem page. From the Name select list, choose the modem that you are using.

    3. Click OK to return to New Point-to-Point Profile Properties page.

  10. Click Authentication to open the Authentication page.

    1. Check Require this iSeries server to verify the identity of the remote system.

    2. Add a new remote user to the validation list.

    3. Check the CHAP-MD5 authentication.

  11. Click TCP/IP Settings to open the TCP/IP Settings page.

    1. For the local IP address, select the IP address of the central office interface (192.168.1.1) from the select box.

    2. For the remote IP address, select Based on remote system's user ID. The IP Addresses Defined By User Name dialog will appear. Click Add. Fill in the fields for Caller user name, IP address, and Subnet mask. In our scenario, the following will be appropriate:

      • Caller user name: Remote_site

      • IP address: 192.168.2.1

      • Subnet mask: 255.255.255.0
      Click OK, and click OK again to return to the TCP/IP Settings page.

    3. Select IP forwarding to enable other systems in the network to use this system as a gateway.

  12. Click OK to complete the receiver profile.

 

Parent topic:

Scenarios: Remote access using PPP connections