NetEngine AR600, AR6100, AR6200, and AR6300 Web-based Typical Configuration Examples

Example for Configuring Internet Access Through DHCP (LAN Interfaces in Different VLANs)

Example for Configuring Internet Access Through DHCP (LAN Interfaces in Different VLANs)

Application Scenario

This example applies to all models of routers in V300R019C10 and later versions.

Networking Requirements

In Figure1, the router functions as the egress gateway of intranet users and connects to the DHCP server provided and commissioned by the carrier to provide Internet access to intranet users. LAN interfaces are connected to the intranet, and the IP address of the DNS server is 172.16.0.1/24. VLAN planning in this example is as follows: The network segments of VLANs 100 and 200 are 192.168.2.1/24 and 192.168.1.1/24 respectively.

The VLAN network segments cannot be the same as the network segment allocated by the DHCP server.

Figure 2-32 Configuring Internet access through DHCP

Procedure

  1. WAN-side configuration

    1. Choose Configuration > WAN Configuration > Ethernet Interface. The Ethernet Interface page is displayed, as shown in Figure2.

      Figure 2-33 Ethernet Interface Settings page
    2. In the Ethernet Interface List area, click Modify next to GigabitEthernet0/0/1, and modify the Ethernet interface, as shown in Figure3.

      Figure 2-34 Modify Ethernet Interface (when the connection mode is set to DHCP)
    3. Click OK to finish configuring the WAN interface.

      After the router obtains an IPv4 address from the DHCP server, the DHCP server delivers a default route to the router. Therefore, no default route needs to be configured here.

  2. LAN-side configuration

    1. Choose Configuration > LAN Configuration > VLAN > VLAN to access the VLAN page, as shown in Figure4.

      Figure 2-35 VLAN page
    2. In the VLAN Interface List, and perform the following steps to configure VLAN 100 and its interfaces.

      1. Select Single, the Single page is displayed, as shown in.
        Figure 2-36 VLAN setting page
      2. Click , and select interfaces to be added in Available Interface List on the Select interface page, as shown in Figure6 .
        Figure 2-37 VLAN setting page
      3. Click and add selected interfaces. On the Modify Link Type page, set Addition mode to Access, as shown in Figure7 .
        Figure 2-38 VLAN setting page
      4. Click Add to finish creating and configuring VLAN 100.
    3. In the VLANIF Settings, and perform the following steps to configure the interface of VLAN 100.
      1. Perform the following steps to configure the interface of VLAN 100, as shown in Figure8.
        Figure 2-39 VLANIF page
      2. Click Add to finish creating and configuring VLAN 100.
    4. In the VLAN Interface List, and perform the following steps to configure VLAN 200 and its interfaces.

      1. Select Single, the Single page is displayed, as shown in Figure9.

        Figure 2-40 VLAN page
      2. Click , and select interfaces to be added in Available Interface List on the Select interface page, as shown in Figure10 .
        Figure 2-41 VLAN setting page
      3. Click and add selected interfaces. On the Modify Link Type page, set Addition mode to Access, as shown in Figure11 .
        Figure 2-42 VLAN setting page
      4. Click Add to finish creating and configuring VLAN 200.
    5. In the VLANIF Settings, and perform the following steps to configure the interface of VLAN 200.
      1. Perform the following steps to configure the interface of VLAN 200, as shown in Figure12.
        Figure 2-43 VLANIF page
      2. Click Add to finish creating and configuring VLAN 200.

  3. Verify the configuration.

    After the configuration is complete, internal users can access the Internet through the router.