Tools

Channel Area

Service Product Area

Forum Affairs

Do AR routers support dual SIM cards in being configured as active and backup links

64

AR routers support the dual SIM cards in being configured as the active and backup links that are connected to different LTE networks. The active SIM card is used for communications in general. If the RSSI of the main SIM card is lower than the threshold, the traffic switches over to the backup SIM card. When the RSSI of the active SIM card is higher than the threshold, the traffic switches over from the backup SIM card to the active SIM card.

The roadmap of configuring VRRP active/standby backup on an AR router to implement gateway redundancy is as follows:
1. Configure IP addresses and routing protocols for different device interfaces to enable network-layer connection among different devices.
2. Configure a VRRP group on Router A and Router B, respectively. Configure a high priority and set preemption delay to 20s on Router A and configure Router A as a master device to bear and forward traffic. Configure a low priority and configure Router B as a backup device to implement gateway redundancy.
Configure a VRRP group.
# Create VRRP 1 on Router A, set its priority to 120, and set the preemption delay to 20s.
[RouterA] interface gigabitethernet 2/0/0
[RouterA-GigabitEthernet2/0/0] vrrp vrid 1 virtual-ip 10.1.1.111 //Configure a virtual IP address.
[RouterA-GigabitEthernet2/0/0] vrrp vrid 1 priority 120 //Set priority to 120.
[RouterA-GigabitEthernet2/0/0] vrrp vrid 1 preempt-mode timer delay 20 //Set the preemption delay to 20s.
[RouterA-GigabitEthernet2/0/0] quit
# Create VRRP 1 on Router B, and set its priority to a default value 100.
[RouterB] interface gigabitethernet 2/0/0
[RouterB-GigabitEthernet2/0/0] vrrp vrid 1 virtual-ip 10.1.1.111
[RouterB-GigabitEthernet2/0/0] quit
For details about the configuration, see the URL: Example for Configuring a VRRP Group in Active/Standby Mode.

AR routers have two uplinks. If the two links both use the PPPoE dial-up method, the route backup method can be used to back up the two links. For example, the AR router has two dial-up interfaces: Dialer 1 and Dialer 2, and the active link and backup link can be determined by configuring the priority of static routes.
On field networks, when the PPPoE dial-up or authentication fails, or the IP address cannot be obtained, the router may need to automatically switch over to the backup route. However, the backup route takes over the active route only when the state of the Dialer1 interface changes to Down. In addition, a Dialer interface is a virtual logical interface, whose state is Snoofing Up. Therefore, the state of the Dialer1 interface cannot change to Down even if the PPPoE dial-up fails. A configuration scheme is described as follows to resolve this problem:
[Huawei] acl 3000 //Create the ACL list for NAT.
[Huawei-acl-adv-3000] rule permit ip //The list can be accessed by all users in general. The access can also be limited based on actual requirements.
[Huawei-acl-adv-3000] quit
[Huawei] interface dialer 1 //Create the virtual dial-up interface.
[Huawei-Dialer1] link-protocol ppp
[Huawei-Dialer1] ppp chap user 123456 //Username authenticated by CHAP
[Huawei-Dialer1] ppp chap password cipher huawei@123 //Password authenticated by CHAP
[Huawei-Dialer1] ppp pap local-user 123456 password cipher huawei@123 //Username and password authenticated by PAP
[Huawei-Dialer1] ip address ppp-negotiate //Obtain the IP address by PPP negotiation.
[Huawei-Dialer1] dialer user user1
[Huawei-Dialer1] dialer bundle 1 //Set the number of the Dialer bundle to 1.
[Huawei-Dialer1] dialer number 1 autodial //This command is added to ensure that the state of the Dialer interface changes to Down when the PPPoE dial-up fails.
[Huawei-Dialer1] dialer-group 1
[Huawei-Dialer1] nat outbound 3000 //NAT conversion list
[Huawei-Dialer1] quit
[Huawei] dialer-rule
[Huawei-dialer-rule] dialer-rule 1 ip permit
[Huawei-dialer-rule] quit
[Huawei] interface gigabitethernet 0/0/0 //Enter the view of the interface connecting to the operator.
[Huawei-GigabitEthernet0/0/0] pppoe-client dial-bundle-number 1 //Enable the PPPoE Client function and bind the PPPoE client to the created Dialer interface.
[Huawei-GigabitEthernet0/0/0] quit
[Huawei] ip route-static 0.0.0.0 0.0.0.0 dialer 1 preference 60 //Create the default route which directs to the Dialer1 interface, which indicates that when the active link is normal, the route to the external networks through the Dialer1 interface is used with higher priority.
[Huawei] ip route-static 0.0.0.0 0.0.0.0 dialer 2 preference 100 //When the active link is abnormal and the dial-up fails, the active link automatically switches over to the backup link which connects to the external networks through the Dialer2 interface.

When configuring dual-link backup, set the same heartbeat interval on the active and standby ACs. Additionally, the ACs cannot be used as service gateways, their service configurations must be consistent, and they must use different IP address pools.