Example for Configuring DSL/LTE Hybrid Bonding
Networking Requirements
As shown in Figure 3-5, an enterprise leased a DSL link with the bandwidth of 2 Mbit/s. With service development of the enterprise, the DSL link cannot provide sufficient bandwidth for enterprises, and leased line costs high. The enterprise requires an access solution to meet the high bandwidth requirements and reduce costs.
DSL/LTE Hybrid Bonding can be used to meet the requirements. The enterprise needs to rent an LTE link that is charged yearly to access the Internet through automatic dialup. Hybrid Bonding creates DSL and LTE tunnels on the two links and binds the tunnels into a logical Hybrid Bonding tunnel. After traffic is imported into the Hybrid Bonding tunnel, the device schedules traffic to the DSL tunnel preferentially, and to the LTE tunnel when traffic exceeds the bandwidth of the DSL tunnel. When the traffic is smaller than the bandwidth of the DSL tunnel, traffic that is transmitted over the LTE tunnel can be switched back to the DSL tunnel, ensuring efficient use of the DSL link and high reliability.
The device cannot function as the enterprise headquarters gateway Router_2; therefore, this example provides only the configuration of Router_1. For detailed configuration of Router_2, see the Bonding Access Configuration of BGW9916 or the Hybrid Access Configuration of NE40E&80E/ME60.
Configuration Roadmap
Connect the enterprise branch to the Internet over the DSL and LTE links.
Configure the Hybrid Bonding function. Configure the DSL tunnel and LTE tunnel for a service flow and specify the scheduling mode to fully use the DSL link.
Procedure
- Connect the branch gateway to the Internet and the enterprise
branch.
# Configure a DSL link for the branch gateway Router_1.
<Huawei> system-view [Huawei] sysname Router_1 [Router_1] dialer-rule [Router_1-dialer-rule] dialer-rule 10 ip permit [Router_1-dialer-rule] quit [Router_1] interface dialer 1 [Router_1-Dialer1] dialer user u1 [Router_1-Dialer1] dialer-group 10 [Router_1-Dialer1] dialer bundle 12 [Router_1-Dialer1] ip address ppp-negotiate [Router_1-Dialer1] link-protocol ppp [Router_1-Dialer1] ppp chap user huawei [Router_1-Dialer1] ppp chap password cipher huawei@1234 [Router_1-Dialer1] quit [Router_1] interface virtual-ethernet 0/0/0 [Router_1-Virtual-Ethernet0/0/0] pppoe-client dial-bundle-number 12 [Router_1-Virtual-Ethernet0/0/0] quit [Router_1] interface atm 1/0/0 [Router_1-Atm1/0/0] pvc pppoeoa 2/45 [Router_1-atm-pvc-Atm1/0/0-2/45-pppoeoa] map bridge virtual-ethernet 0/0/0 [Router_1-atm-pvc-Atm1/0/0-2/45-pppoeoa] quit [Router_1-Atm1/0/0] quit [Router_1] ip route-static 1.2.1.0 24 dialer 1 [Router_1] ip route-static 1.1.1.0 24 1.2.1.1 [Router_1] ip route-static 10.40.1.0 24 Dialer1 [Router_1] ip route-static 10.50.1.0 24 Dialer1
# For details on how to configure the DSLAM, see the DSLAM documentation.
# Assign IP address 1.1.10.1 to the PPPoEoA server and configure the server to assign IP address 1.1.10.2 to the client. Set the authentication mode to CHAP authentication, and set the user name and password to be the same as those configured on the client.
# Configure an LTE link for the branch gateway Router_1. The enterprise obtains the following information from the carrier: the APN is ltenet, and the dialer number is *99#.
[Router_1] apn profile lteprofile [Router_1-apn-profile-lteprofile] apn ltenet [Router_1-apn-profile-lteprofile] quit [Router_1] interface cellular 0/0/0 [Router_1-Cellular0/0/0] mode lte auto [Router_1-Cellular0/0/0] dialer enable-circular [Router_1-Cellular0/0/0] apn-profile lteprofile [Router_1-Cellular0/0/0] ip address negotiate [Router_1-Cellular0/0/0] dialer-group 1 [Router_1-Cellular0/0/0] dialer number *99# autodial [Router_1-Cellular0/0/0] dialer timer autodial 20 [Router_1-Cellular0/0/0] shutdown [Router_1-Cellular0/0/0] undo shutdown [Router_1-Cellular0/0/0] quit [Router_1] ip route-static 1.3.1.0 24 cellular 0/0/0 [Router_1] ip route-static 1.1.1.0 24 1.3.1.1 [Router_1] ip route-static 10.40.1.0 24 Cellular0/0/0 [Router_1] ip route-static 10.50.1.0 24 Cellular0/0/0
After the device successfully connects to the LTE network, Cellular0/0/0 obtains a dynamic IP address. Assume that the IP address is 1.1.20.2/24 in this example.
# Connect the branch gateway Router_1 to the enterprise branch.
[Router_1] interface gigabitethernet 1/0/0 [Router_1-GigabitEthernet1/0/0] ip address 10.1.1.1 24 [Router_1-GigabitEthernet1/0/0] quit
- Configure a tunnel interface.
# Configure a tunnel interface Tunnel0/0/1.
[Router_1] interface tunnel 0/0/1 [Router_1-Tunnel0/0/1] ip address 10.10.1.1 24 [Router_1-Tunnel0/0/1] tunnel-protocol svpn [Router_1-Tunnel0/0/1] quit
- Configure a DSL tunnel interface.
# Configure a tunnel interface Tunnel0/0/2.
[Router_1] interface tunnel 0/0/2 [Router_1-Tunnel0/0/2] ip address 10.20.1.1 24 [Router_1-Tunnel0/0/2] tunnel-protocol gre [Router_1-Tunnel0/0/2] source virtual-ethernet 0/0/0 [Router_1-Tunnel0/0/2] destination 10.40.1.1 [Router_1-Tunnel0/0/2] hybrid-access priority-tunnel [Router_1-Tunnel0/0/2] tunnel route-via virtual-ethernet 0/0/0 mandatory [Router_1-Tunnel0/0/2] gre dynamic-bandwidth enable [Router_1-Tunnel0/0/2] quit
- Configure an LTE tunnel interface.
# Configure a tunnel interface Tunnel0/0/3.
[Router_1] interface tunnel 0/0/3 [Router_1-Tunnel0/0/3] ip address 10.30.1.1 24 [Router_1-Tunnel0/0/3] tunnel-protocol gre [Router_1-Tunnel0/0/3] source cellular 0/0/0 [Router_1-Tunnel0/0/3] destination 10.50.1.1 [Router_1-Tunnel0/0/3] hybrid-access overflow-tunnel [Router_1-Tunnel0/0/3] tunnel route-via cellular 0/0/0 mandatory [Router_1-Tunnel0/0/3] quit
- Configure a Hybrid Bonding proposal.
# Set the user name and password for authentication in the Hybrid Bonding proposal to Huawei and Huawei@1234 respectively. When configuring a source interface for a service flow forwarding path, configure the DSL tunnel source interface and then the LTE tunnel source interface.
[Router_1] acl number 3001 [Router_1-acl-adv-3001] rule 5 permit ip source 10.1.1.0 0.0.0.255 destination 10.2.1.0 0.0.0.255 [Router_1-acl-adv-3001] rule 10 permit icmp [Router_1-acl-adv-3001] quit [Router_1] svpn-proposal p1 [Router_1-svpn-proposal-p1] authentication user-name Huawei password cipher Huawei@1234 [Router_1-svpn-proposal-p1] source tunnel 0/0/2 bandwidth 2048 [Router_1-svpn-proposal-p1] source tunnel 0/0/3 bandwidth 10240 [Router_1-svpn-proposal-p1] service s1 id 1 [Router_1-svpn-proposal-p1-service-s1] schedule-type overflow [Router_1-svpn-proposal-p1-service-s1] match acl 3001 [Router_1-svpn-proposal-p1-service-s1] source tunnel 0/0/2 [Router_1-svpn-proposal-p1-service-s1] source tunnel 0/0/3 [Router_1-svpn-proposal-p1-service-s1] quit [Router_1-svpn-proposal-p1] quit
- Bind the Hybrid Bonding proposal to a tunnel interface.
# Configure a tunnel interface Tunnel0/0/1.
[Router_1] interface tunnel 0/0/1 [Router_1-Tunnel0/0/1] svpn-proposal p1 [Router_1-Tunnel0/0/1] quit
- Import flows to the Hybrid Bonding tunnel.
# Configure a static route to import flows to the Hybrid Bonding tunnel.
[Router_1] ip route-static 10.2.1.0 255.255.255.0 tunnel 0/0/1
- Verify the configuration.
# After the configurations are complete, run the display ip routing-table command on Router_1. You can see that routes destined for the headquarters pass through the Hybrid Bonding tunnel.
# Connect Port1 on the tester to Router_1 and Port2 on the tester to the Router_2. Inject traffic with the source and destination IP addresses 10.1.1.100/24 and 10.2.1.10/24 from Port1. Traffic is transmitted over the DSL tunnel preferentially, and then over the LTE tunnel when traffic exceeds the bandwidth of the DSL tunnel.
Configuration Files
Configuration file of Router_1
# sysname Router_1 # acl number 3001 rule 5 permit ip source 10.1.1.0 0.0.0.255 destination 10.2.1.0 0.0.0.255 rule 10 permit icmp # interface Dialer1 link-protocol ppp ppp chap user huawei ppp chap password cipher %@%@_+~~H@Hst96*Y]=I8y6S"DJw%@%@ ip address ppp-negotiate dialer user u1 dialer bundle 12 dialer-group 10 # interface GigabitEthernet1/0/0 ip address 10.1.1.1 255.255.255.0 # interface Cellular0/0/0 dialer enable-circular dialer-group 1 apn-profile lteprofile dialer timer autodial 20 dialer number *99# autodial ip address negotiate # interface Atm1/0/0 pvc pppoeoa 2/45 map bridge Virtual-Ethernet0/0/0 # interface Virtual-Ethernet0/0/0 pppoe-client dial-bundle-number 12 # svpn-proposal p1 source Tunnel0/0/2 bandwidth 2048 source Tunnel0/0/3 bandwidth 10240 authentication user-name Huawei password cipher %@%@])&a,3$|5@WjAd8V+tRV,.R$%@%@ service s1 id 1 schedule-type overflow match acl 3001 source Tunnel0/0/2 source Tunnel0/0/3 # interface Tunnel0/0/1 ip address 10.10.1.1 255.255.255.0 tunnel-protocol svpn svpn-proposal p1 # interface Tunnel0/0/2 ip address 10.20.1.1 255.255.255.0 tunnel-protocol gre source Virtual-Ethernet0/0/0 destination 10.40.1.1 hybrid-access priority-tunnel gre dynamic-bandwidth enable tunnel route-via Virtual-Ethernet0/0/0 mandatory # interface Tunnel0/0/3 ip address 10.30.1.1 255.255.255.0 tunnel-protocol gre source Cellular0/0/0 destination 10.40.1.1 hybrid-access overflow-tunnel tunnel route-via Cellular0/0/0 mandatory # dialer-rule dialer-rule 10 ip permit # apn profile lteprofile apn ltenet # ip route-static 1.1.1.0 255.255.255.0 1.3.1.1 ip route-static 1.1.1.0 255.255.255.0 1.2.1.1 ip route-static 1.2.1.0 255.255.255.0 Dialer1 ip route-static 1.3.1.0 255.255.255.0 Cellular0/0/0 ip route-static 10.2.1.0 255.255.255.0 Tunnel0/0/1 ip route-static 10.40.1.0 255.255.255.0 Cellular0/0/0 ip route-static 10.40.1.0 255.255.255.0 Dialer1 ip route-static 10.50.1.0 255.255.255.0 Cellular0/0/0 ip route-static 10.50.1.0 255.255.255.0 Dialer1 # return