08-Configuration Examples

HomeSupportConfigure & DeployH3C Firewall Products Comware 7 Web Configuration Guide-6W40208-Configuration Examples
Table of Contents
Related Documents
03-Internet access through PPPoE configuration examples

Internet access through PPPoE configuration examples

Introduction

 

The following information provides Internet access through PPPoE examples.

Prerequisites

 

This document is not restricted to specific software or hardware versions. Procedures and information in the examples might be slightly different depending on the software or hardware version of the device.

The configuration examples were created and verified in a lab environment, and all the devices were started with the factory default configuration. When you are working on a live network, make sure you understand the potential impact of every command on your network.

The following information is provided based on the assumption that you have basic knowledge of PPPoE.

Example: Accessing the Internet through PPPoE

Network configuration

As shown in Figure 1, Device is deployed at the egress of the enterprise network. The enterprise applies for a PPPoE account with the username as pppoeuser1 and password as 123456 from the ISP. Configure PPPoE for users in the enterprise network to access the Web server with the address www.example.com in the Internet.

Figure 1 Network diagram

 

Software versions used

This configuration example was created and verified on F9345 of the F1060 device.

Restrictions and guidelines

When the device acts as a DHCP server, for the DHCP clients to obtain IP addresses, you must permit the traffic from the security zone where the DHCP-enabled interfaces reside to the local security zone. In this example, you must permit the traffic from security zone Trust to security zone Local.

Procedures

Configuring Device

1.     Configure PPPoE.

# On the top navigation bar, click System.

# From the navigation pane, select Configuration Wizard > Internet Access. The page as shown in Figure 2 opens.

Figure 2 Internet Access

 

# Select Routing mode, and click Configure. Configure the WAN interface parameters as shown in Figure 3.

Figure 3 WAN interface configuration

 

# Click Next. Configure the LAN interface parameters as shown in Figure 4.

Figure 4 LAN interface configuration

 

# Click Next. Do not make any DMZ interface, security, or WAN acceleration configuration on the page that opens, and click Next to configure flow control.

# Configure the expected bandwidth for the WAN interface according to the bandwidth allocated by the service provider, as shown in Figure 5.

Figure 5 Flow control

 

# Click Next. The Check configuration page as shown in Figure 6 opens.

Figure 6 Check configuration

 

# Verify that the configurations are correct, and click Finish. The PPPoE configuration information is as shown in Figure 7.

Figure 7 PPPoE configuration information

 

2.     Configure a security policy.

After PPPoE is configured, the system automatically creates a security policy named GuideSecPolicy.

# On the top navigation bar, click Policies.

# From the navigation pane, select Security Policies > Security Policies. The Security Policies page as shown in Figure 8 opens.

Figure 8 Security policy configuration page

 

# Select the security policy GuideSecPolicy, and click the icon in the Edit column. Add the source zone Local, and add the destination zones Trust and Local, as shown in Figure 9.

Figure 9 Adding a security policy

 

3.     Configure DHCP.

# On the top navigation bar, click Network.

# From the navigation pane, select DHCP > DHCP Address Pools.

# Click the Address Pool Options tab. Configure parameters as shown in Figure 10.

Figure 10 Address pool options

 

4.     Configure DNS proxy.

# On the top navigation bar, click Network.

# From the navigation pane, select DNS > Advanced Settings. On the page as shown in Figure 11, enable DNS proxy.

Figure 11 DNS proxy

 

Configuring the hosts

# Configure the hosts to automatically obtain IP addresses.

Verifying the configuration

1.     View the address information that a host obtains.

C:\>ipconfig /all

Ethernet adapter Local Area Connection:

 

   Connection-specific DNS Suffix..........:

   Description.......................: Intel(R) 82579LM Gigabit Network Connection

   Physical Address....................: E8-39-35-5C-92-B8

   DHCP Enabled ................: Yes

   Autoconfiguration Enabled...............: Yes

   Link-local IPv6 address...........: fe80::b8dd:d091:201a:6db2%13(Preferred)

   IPv4 Address...................: 172.16.1.3(Preferred)

   Subnet Mask.....................: 255.255.255.0

   Lease Obtained................: May 25, 2017 14:01:30

   Lease Expires................: May 26, 2017 14:01:30

   Default Gateway.....................: 172.16.1.254

   DHCP Server..................: 172.16.1.254

   DHCPv6 IAID.................: 384317749

   DHCPv6 Client DUID...........: 00-01-00-01-1F-B4-A3-F5-B8-A3-86-6F-0F-02

 

   DNS Servers...................: 172.16.1.254

   NetBIOS over Tcpip...........: Enabled

2.     Verify that a host can ping the server address www.example.com.

C:\>ping www.example.com

 

Ping www.example.com [192.168.100.201]: 32 data bytes

32 bytes from 192.168.100.201: time<1ms TTL=253

32 bytes from 192.168.100.201: time<1ms TTL=253

32 bytes from 192.168.100.201: time<1ms TTL=253

32 bytes from 192.168.100.201: time<1ms TTL=253

 

--- Ping statistics for 192.168.100.201 ---

4 packets transmitted, 4 packets received, 0.0% packet loss

round-trip min/avg/max = 0/0/0 ms

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网