Huawei Technologies Co., Ltd. provides customers with comprehensive technical support and service. For any
assistance, please contact our local office or company headquarters.
Huawei Technologies Co., Ltd.
Address:Huawei Industrial Base
Bantian, Longgang
Shenzhen 518129
People's Republic of China
No part of this document may be reproduced or transmitted in any form or by any means without prior written
consent of Huawei Technologies Co., Ltd.
Trademarks and Permissions
and other Huawei trademarks are the property of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective holders.
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and the
customer. All or part of the products, services and features described in this document may not be within the
purchase scope or the usage scope. Unless otherwise specified in the contract, all statements, information,
and recommendations in this document are provided "AS IS" without warranties, guarantees or representations
of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but the statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.
About This Document.....................................................................................................................1
1 Configuration Example of Logging in to Web.....................................................................1-1
2 Configuration Example of Quick Config..............................................................................2-1
3 Configuration Example of the Basic Operation...................................................................3-1
4 Configuration Example of the Internetworking..................................................................4-1
4.1 Configuration Example of ADSL by Using PPPoE........................................................................................4-2
4.2 Configuration Example of SHDSL.................................................................................................................4-7
4.3 Configuration Example of DHCP Server......................................................................................................4-10
4.4 Configuration Example of RIP......................................................................................................................4-15
4.5 Configuration Example of OSPF..................................................................................................................4-18
4.6 Configuration Example of the 3G Interface for Dial-on-Demand................................................................4-21
4.7 Configuration Example of the 3G Interface for Automatic Dialup...............................................................4-30
4.8 Configuration Example of a WLAN (Crypto Service Class)........................................................................4-36
4.9 Configuration Example of a WLAN (Plain Service Class)...........................................................................4-40
4.10 Configuration Example of a WLAN (802.1X)............................................................................................4-43
5 Configuration Example of the ACL........................................................................................5-1
6 Configuration Example of NAT..............................................................................................6-1
7 Configuration Example of the Dual-System Hot Backup in Routing Mode..................7-1
8 Configuration Example of the VPN........................................................................................8-1
8.1 Configuration Example of GRE......................................................................................................................8-2
8.2 Configuration Example of L2TP IPSec..........................................................................................................8-6
A Acronyms and Abbreviations................................................................................................A-1
Issue 01 (2010-02-20)Huawei Proprietary and Confidential
Figure 2-1 Networking diagram for the web-manager function..........................................................................2-1
Figure 2-2 Configuring the ADSL.......................................................................................................................2-2
Figure 2-3 Configuring the 3G.............................................................................................................................2-3
Figure 2-4 Configuring the LAN..........................................................................................................................2-3
Figure 2-5 Configuring the WLAN......................................................................................................................2-3
Figure 2-6 Saving the configuration.....................................................................................................................2-4
Figure 3-1 Configuring the VLAN.......................................................................................................................3-1
Figure 3-5 Configuring a rule...............................................................................................................................3-3
Figure 3-6 Configuring the interzone packet filtering rule..................................................................................3-3
Figure 3-7 Saving the configuration.....................................................................................................................3-4
Figure 4-1 Networking of the ADSL configuration example..............................................................................4-2
Figure 4-2 Configuring the ADSL interface........................................................................................................4-2
Figure 4-3 Configuring the PVC..........................................................................................................................4-3
Figure 4-4 Obtaining the IP address in PPP negotiation mode............................................................................4-3
Figure 4-5 Configuring the PPP user on the Dialer interface...............................................................................4-4
Figure 4-6 Configuring the Dialer interface.........................................................................................................4-4
Figure 4-7 Configuring the packet filtering rule between the Trust security zone and the Untrust security zone
Figure 4-8 Configuring the static route................................................................................................................4-5
Figure 4-9 Configuring the NAT..........................................................................................................................4-5
Figure 4-10 Enabling the DHCP function............................................................................................................4-6
Figure 4-11 Configuring the processing mode for DHCP packets on the interface.............................................4-6
Figure 4-12 Enabling the DNS proxy...................................................................................................................4-6
Figure 4-13 Configuring the DNS server address................................................................................................4-7
Figure 4-14 Saving the configuration...................................................................................................................4-7
Figure 4-15 Networking of the ADSL configuration example............................................................................4-8
Figure 4-16 Basic configuration of the SHDSL interface....................................................................................4-8
Figure 4-17 Configuring the SHDSL interface....................................................................................................4-9
Issue 01 (2010-02-20)Huawei Proprietary and Confidential
Figure 4-19 Configuring the static route..............................................................................................................4-9
Figure 4-20 Saving the configuration.................................................................................................................4-10
Figure 4-21 Networking for configuring the DHCP client................................................................................4-11
Figure 4-22 Setting the Vlanif20 interface process mode of DHCP packets.....................................................4-12
Figure 4-23 Setting the Vlanif10 interface process mode of DHCP packets.....................................................4-12
Figure 4-24 Configuring the forbidden IP addresses.........................................................................................4-13
Figure 4-25 Configuring the forbidden IP addresses.........................................................................................4-13
Figure 4-26 Configuring the forbidden IP addresses.........................................................................................4-13
Figure 4-27 Configuring the forbidden IP addresses.........................................................................................4-13
Figure 4-28 Configuring attributes of DHCP address pool 1 ............................................................................4-14
Figure 4-29 Configuring attributes of DHCP address pool 2.............................................................................4-14
Figure 4-30 Saving the configuration.................................................................................................................4-15
Figure 4-31 Networking of the RIP configuration example...............................................................................4-16
Figure 4-32 Configuring the packet receiving and packet sending functions....................................................4-17
Figure 4-33 Enabling the RIP function..............................................................................................................4-17
Figure 4-34 Configuring the IP address of the RIP network segment...............................................................4-17
Figure 4-35 Enabling RIP on the Specified Network Segment..........................................................................4-18
Figure 4-36 Saving the configuration.................................................................................................................4-18
Figure 4-37 Networking diagram of OSPF configurations................................................................................4-19
Figure 4-38 Configuring process 100.................................................................................................................4-20
Figure 4-39 Configuring area 0..........................................................................................................................4-20
Figure 4-40 Configuring area 1..........................................................................................................................4-21
Figure 4-41 Saving the configuration.................................................................................................................4-21
Figure 4-42 Networking diagram of dial-on-demand through the Dialer interface...........................................4-22
Figure 4-43 Configuring the Modem.................................................................................................................4-22
Figure 4-44 Configuring the dialer rule.............................................................................................................4-22
Figure 4-50 Configuring the PPP user on the Cellular interface........................................................................4-25
Figure 4-51 Adding the Cellular interface to the Dialer circular group.............................................................4-25
Figure 4-52 Configuring the operator................................................................................................................4-25
Figure 4-55 Configuring a rule...........................................................................................................................4-27
Figure 4-56 Configuring the NAT......................................................................................................................4-27
Figure 4-57 Configuring the interzone packet filtering rule..............................................................................4-28
Figure 4-58 Configuring the static route............................................................................................................4-28
Figure 4-59 Enabling the DHCP function..........................................................................................................4-28
Figure 4-60 Configuring the processing mode for DHCP packets on the interface...........................................4-29
Figure 4-61 Enabling the DNS proxy.................................................................................................................4-29
Figure 4-62 Configuring the DNS server address..............................................................................................4-29
Figure 4-63 Saving the configuration.................................................................................................................4-29
Figure 4-64 Networking diagram of automatic dialup through the Dialer interface..........................................4-30
Figure 4-65 Configuring the Modem.................................................................................................................4-30
Figure 4-66 Configuring the dialer rule.............................................................................................................4-31
Figure 4-67 Adding Cellular5/0/0 interface to the Untrust zone........................................................................4-31
Figure 4-68 Obtaining the IP address in PPP negotiation mode........................................................................4-31
Figure 4-69 Configuring the PPP user...............................................................................................................4-32
Figure 4-73 Configuring a rule...........................................................................................................................4-34
Figure 4-74 Configuring the NAT......................................................................................................................4-34
Figure 4-75 Configuring the interzone packet filtering rule..............................................................................4-35
Figure 4-76 Configuring the static route............................................................................................................4-35
Figure 4-77 Enabling the DHCP function..........................................................................................................4-35
Figure 4-78 Configuring the processing mode for DHCP packets on the interface...........................................4-36
Figure 4-79 Enabling the DNS proxy.................................................................................................................4-36
Figure 4-80 Saving the configuration.................................................................................................................4-36
Figure 4-81 Networking diagram of configuring a WLAN (Crypto service class)...........................................4-37
Figure 4-82 Creating a Service Class.................................................................................................................4-37
Figure 4-83 Configuring the crypto service class...............................................................................................4-38
Figure 4-84 Creating the WLAN-BSS interface................................................................................................4-38
Figure 4-86 Configuring the interzone packet filtering rule..............................................................................4-39
Figure 4-87 Configuring the NAT......................................................................................................................4-39
Figure 4-88 Configuring the static route............................................................................................................4-40
Figure 4-89 Saving the configuration.................................................................................................................4-40
Figure 4-90 Networking diagram of configuring a WLAN (Plain service class)..............................................4-41
Figure 4-91 Enabling the DHCP function..........................................................................................................4-41
Figure 4-92 Configuring the processing mode for DHCP packets on the interface...........................................4-42
Figure 4-93 Configuring the plain service class.................................................................................................4-42
Figure 4-95 Saving the configuration.................................................................................................................4-43
Figure 4-96 Networking diagram of configuring a WLAN (802.1X)................................................................4-44
Figure 4-97 Creating a Service Class.................................................................................................................4-44
Figure 4-98 Configuring the crypto service class...............................................................................................4-45
Figure 4-102 Configuring the RADIUS template..............................................................................................4-46
Figure 4-103 Configuring the RADIUS authentication server...........................................................................4-47
Figure 4-104 Configuring the RADIUS authentication scheme........................................................................4-47
Figure 4-105 Configuring the domain................................................................................................................4-47
Figure 4-106 Configuring the AAA domain policy...........................................................................................4-48
Figure 4-107 Saving the configuration...............................................................................................................4-48
Figure 5-1 Networking of the ACL configuration example.................................................................................5-2
Figure 5-15 Saving the configuration...................................................................................................................5-9
Figure 6-1 Networking of a NAT configuration example....................................................................................6-1
Figure 6-2 Configuring the advanced ACL rule 0................................................................................................6-2
Figure 6-5 Configuring the ASPF between the DMZ security zone and the Untrust security zone....................6-4
Figure 6-6 Configuring the address mapping of the WWW server......................................................................6-4
Figure 6-7 Configuring the address mapping of the FTP server..........................................................................6-4
Figure 6-8 Saving the configuration.....................................................................................................................6-5
Figure 7-1 Networking of the dual-system hot backup in routing mode ............................................................ 7-2
Figure 7-2 Configuring VRRP backup group 1................................................................................................... 7-2
Figure 7-3 Configuring VRRP backup group 2................................................................................................... 7-3
Figure 7-4 Configuring VRRP backup group 3................................................................................................... 7-3
Figure 7-6 HRP two-node cluster hot backup in routing mode........................................................................... 7-4
Figure 7-7 Saving the configuration.....................................................................................................................7-5
Figure 8-1 GRE tunnel using static routes........................................................................................................... 8-2
Figure 8-2 Creating an interface named Tunnel1.................................................................................................8-2
Figure 8-3 Configuring the tunnel1 interface.......................................................................................................8-3
Figure 8-4 Configuring the static route................................................................................................................8-3
Figure 8-5 Configuring the static route................................................................................................................8-4
Figure 8-6 Creating an interface named Tunnel1.................................................................................................8-4
Figure 8-13 Disabling the fast forwarding function.............................................................................................8-9
Figure 8-14 Configuring the local user................................................................................................................8-9
Figure 8-15 Configuring the IP pool....................................................................................................................8-9
Figure 8-16 Configuring the L2TP-group..........................................................................................................8-10
Figure 8-17 Configuring the IKE proposal........................................................................................................8-10
Figure 8-18 Configuring the IKE peer...............................................................................................................8-11
Figure 8-19 Configuring the IPSec proposal......................................................................................................8-11
Figure 8-20 Configuring the IPSec policy template...........................................................................................8-12
Figure 8-21 Configuring the IPSec policy.........................................................................................................8-12
Figure 8-22 Applying the policy........................................................................................................................8-12
Figure 8-23 Saving the configuration.................................................................................................................8-13
Issue 01 (2010-02-20)Huawei Proprietary and Confidential
This chapter describes the configuration of logging in to web.
This chapter describes the configuration of quick config.
1
DANGER
WARNING
CAUTION
TIP
NOTE
About This Document
HUAWEI EGW2100
Web Configuration Guide
ChapterDescription
3 Configuration Example
of the Basic Operation
4 Configuration Example
of the Internetworking
5 Configuration Example
of the ACL
6 Configuration Example
of NAT
7 Configuration Example
of the Dual-System Hot
Backup in Routing Mode
8 Configuration Example
of the VPN
A Acronyms and
Abbreviations
This chapter describes the configuration of the basic operation.
This chapter describes the internetworking configuration of the
EGW2100.
This chapter describes the configuration of the ACL.
This chapter describes the configuration of the NAT.
This chapter describes the configuration of the dual-system hot
backup in routing mode.
This chapter describes the configuration of the VPN.
This chapter describes the abbreviations in this document.
Conventions
Symbol Conventions
The symbols that may be found in this document are defined as follows.
Symbol
Description
Indicates a hazard with a high level of risk, which, if not
avoided, could result in death or serious injury.
Indicates a hazard with a medium or low level of risk, which,
if not avoided, could result in minor or moderate injury.
Indicates a potentially hazardous situation, which if not
avoided, could result in equipment damage, data loss,
performance degradation, or unexpected results.
Indicates a tip that may help you solve a problem or save
time.
Provides additional information to emphasize or supplement
important points of the main text.
HUAWEI EGW2100
Web Configuration Guide1 Configuration Example of Logging in to Web
1 Configuration Example of Logging in to Web
Networking Requirements
As shown in Figure 1-1, the PC is connected to Ethernet1/0/0 of the EGW2100. You can control
and manage the EGW2100 by accessing its IP address 192.168.0.1 through the Web browser on
the PC.
Procedure
Step 1 The PC is connected to Ethernet1/0/0 of the EGW2100.
Step 2 Configure the IP address of the PC.
Step 3 Access the EGW2100 through the Web browser of the PC.
Figure 1-1 Networking diagram for logging in
Ethernet1/0/0
Vlanif1
192.168.0.1/24
PC
192.168.0.2/24
The configuration details are not mentioned here.
Input http://192.168.0.1 in the Internet Explorer to enter the Web login page. Figure 1-2 shows
the login page.
EGW
Figure 1-2 Login page
Issue 01 (2010-02-20)Huawei Proprietary and Confidential
HUAWEI EGW2100
Web Configuration Guide2 Configuration Example of Quick Config
2 Configuration Example of Quick Config
Networking Requirements
As shown in Figure 2-1, the EGW2100 connects to a LAN through WLAN and LAN users
access the Internet through the ADSL and 3G. The ADSL is the master link, otherwise, the 3G
is the backup link.
Figure 2-1 Networking diagram for the web-manager function
Data Preparation
Item
ADSLPVC0/33-
3GUser Nameinternet-
PC
192.168.0.0/24
PC
ADSL
WLAN
3G
EGW2100Station
User Nameadsl-
Passwordpassword-
Passwordpassword-
Dialer Number*99#-
Access point nameAPN-
Issue 01 (2010-02-20)Huawei Proprietary and Confidential
2.Click OK in the This will save current configuration, if you switch to other pages, youwill not get the operation result. Are you sure to save? dialog box that is displayed to
complete the configuration.
Step 4 Save the Station.
Change the TCP/IP setting of the Station to obtain its IP address automatically. For help, see the
operating system documentation for the Station.
2.Click OK in the This will save current configuration, if you switch to other pages, youwill not get the operation result. Are you sure to save? dialog box that is displayed to
complete the configuration.
HUAWEI EGW2100
Web Configuration Guide4 Configuration Example of the Internetworking
4 Configuration Example of the
Internetworking
About This Chapter
4.1 Configuration Example of ADSL by Using PPPoE
4.2 Configuration Example of SHDSL
4.3 Configuration Example of DHCP Server
The locations and number of terminals in the network change frequently, so you need to use the
Dynamic Host Configuration Protocol (DHCP) to allocate dynamic IP addresses to the terminals.
The EGW2100 can serve as a DHCP server to offer IP addresses to the DHCP client.
4.4 Configuration Example of RIP
Routing Information Protocol (RIP) is a type of protocol based on the distance-vector (D-V)
algorithm. By using RIP, you can exchange routing information through UDP packets. This
protocol is widely used in simple small-/medium-sized networks.
4.5 Configuration Example of OSPF
OSPF is an internal network gateway protocol based on the link status developed by the IETF
and is also a dynamic routing protocol applied to the internal of the AS.
4.6 Configuration Example of the 3G Interface for Dial-on-Demand
4.7 Configuration Example of the 3G Interface for Automatic Dialup
4.8 Configuration Example of a WLAN (Crypto Service Class)
4.9 Configuration Example of a WLAN (Plain Service Class)
4.10 Configuration Example of a WLAN (802.1X)
Issue 01 (2010-02-20)Huawei Proprietary and Confidential
HUAWEI EGW2100
Web Configuration Guide4 Configuration Example of the Internetworking
4.In the Interface Physical Config group box, select activate. Then click OK in the Areyou sure to submit? dialog box that is displayed to activate the interface.
5.In the PVC Configuration group box, select New. The PVC Configuration interface is
displayed. Figure 4-3 shows the parameter setting.
Figure 4-3 Configuring the PVC
NOTE
You can obtain the PVC from the operator.
6.Click Apply. Then click OK in the Are you sure to submit? dialog box that is displayed
to complete the configuration.
Step 4 Configure the PPPoE session.
1.Choose NetWork > Interface. The Interface page is displayed.
2.Click MORE corresponding to Dialer1 to enter the Interface Basic Config interface.
3.In the Interface Basic Config group box, click IP Address Detail Config. The IP Address
Config interface is displayed. Figure 4-4 shows the parameter setting.
Figure 4-4 Obtaining the IP address in PPP negotiation mode
4.Click Apply. Then click OK in the Are you sure to submit? dialog box that is displayed
to complete the configuration.
5.Click back, then return to Interface interface.
6.In the PPP User and Dialer group box, click PPP User and Dialer. The PPP UserConfig interface is displayed. Figure 4-5 shows the parameter setting.
Issue 01 (2010-02-20)Huawei Proprietary and Confidential
2.In the DHCP Basic Config group box, select the DHCP Enable check box. Click OK in
the Are you sure to enable? dialog box to enable the DHCP function. Figure 4-10 shows
the parameter setting.
Figure 4-10 Enabling the DHCP function
3.In the Setting Interface Process Mode Of DHCP Packet group box, configure the
processing mode for DHCP packets on Ethernet0/0/0. Figure 4-11 shows the parameter
setting.
Figure 4-11 Configuring the processing mode for DHCP packets on the interface
HUAWEI EGW2100
Web Configuration Guide
4.Click Apply. Then click OK in the Are you sure to submit? dialog box that is displayed
to complete the configuration.
Step 9 Configure the DNS.
1.Choose NetWork > DNS Config. The DNS Config page is displayed.
2.Click the Basic Configurations tab. Select the Enable DNS Proxy check box to enable
the DNS proxy function. Figure 4-12 shows the parameter setting.
Figure 4-12 Enabling the DNS proxy
3.Click the DNS Server Address tab. Choose the interface Dialer1, Figure 4-13 shows the
parameter setting.