AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 Web-based Typical Configuration Examples

This document provides examples for configuring AR router features in typical usage scenarios.

This document provides examples for configuring AR router features in typical usage scenarios.

Example for Configuring Internet Access Using PPPoE

Example for Configuring Internet Access Using PPPoE

Specifications

This example applies to all AR routers that support LAN interfaces of V200R003C00 and later versions.

Networking Requirements

As shown in Figure 3-14, the router functions as the DHCP server to dynamically assign IP addresses to clients on the network segment 10.137.32.0/24. As a PPPoE Client, the router is authenticated by the PPPoE Server and obtains an IP address to meet the Internet access requirement. The IP address of VLANIF 1 is 10.137.32.1/24. Eth1/0/0 connects to a remote carrier-side interface with the IP address 1.1.1.1/24.

Figure 3-14 Networking diagram for connecting to the Internet using PPPoE

Procedure

  1. Configure the Internet access wizard.

    1. Choose Configuration Wizard > Internet Access Wizard, as shown in Figure 3-15.

      Figure 3-15 Internet Access Wizard page

    2. Select the Internet access mode and an Internet access interface, as shown in Figure 3-16. After the configuration is complete, click Next.

      Figure 3-16 Select Access Type

    3. Set Internet access parameters, for example, enter a user name and password for PPP dialup, as shown in Figure 3-17. After the configuration is complete, click Next.
      Figure 3-17 Accessing the Internet using an Ethernet interface (PPP dialup)

    4. Set the LAN parameters, as shown in Figure 3-18. After the configuration is complete, click Next.
      Figure 3-18 Configure LAN page

      On the Internet Access Wizard page, the egress gateway address is the IP address of VLANIF 1.

      If you need a specified DNS server, you need to obtain the DNS server's IP address from the carrier.

    5. Confirm the settings. You can view detailed Internet access settings, as shown in Figure 3-19. To save the current settings, click Save Current Configuration.
      Figure 3-19 Confirm Settings page

    6. Click Finish.

  2. (Optional) Delete interfaces from a VLAN.

    Because all interfaces join VLAN 1 by default, broadcast storms may occur if unknown unicast, multicast, or broadcast packets exist in VLAN 1. To prevent loops, delete interfaces that do not need to be added to VLAN 1 from VLAN 1.

    1. Choose LAN Access > LAN > VLAN Interface. The VLAN Interface page is displayed, as shown in Figure 3-20.

      Figure 3-20 VLAN Interface page

    2. In the VLAN Interface List area, select an interface to be added to a VLAN, and click next to the interface.

    3. In the Modify VLAN Interface dialog box that is displayed, select an interface to be deleted from a VLAN in the Selected Interface list, and click . The selected interface will be moved to the Available Interface list.



    4. To add an interface to a VLAN, select the interface in the Available Interface list, and click . In the Select Addition Mode dialog box that is displayed, set Addition mode, and click OK. The selected interface will be moved to the Selected Interface list.

    5. Click OK. The interfaces in the Selected Interface list will be added to the VLAN.

  3. Verify the configuration.

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

Configuration Notes

If you configure Internet access on the Internet Access Wizard page, the router's interface connecting to internal users must be VLANIF 1.

When the router provides only Layer 2 interfaces, choose LAN Access > LAN > Physical Interface. In the page that is displayed, select the required interface, and click in the Operation column to change the interface from Layer 2 mode to Layer 3 mode. For details about Layer 2/Layer 3 switching of interfaces, see the portswitch command.