How to configure dual wan Policy path with route-map in Cisco Huawei Router
Wan1:218.85.224.100
Wan2:219.85.224.200
Intranet: 192.168.201.x and 192.168.202.x take wan1
192.168.203.x take wan2
Random wan1 and wan2 for other network segments
1. Cisco routers:
Interface GigabitEthernet0/1
Ip address 219.85.224.200 255.255.255.252
Ip nat outside
Ip policy route-map ipsdx1
Interface GigabitEthernet0/2
Ip address 218.85.224.100 255.255.255.252
Ip nat outside
Ip policy route-map ipsdx2
Ip nat pool ipsdx1 219.85.224.200 219.85.224.200 netmask 255.255.255.252
Ip nat pool ipsdx2 218.85.224.100 218.85.224.100 netmask 255.255.255.252
Ip nat inside source list 101 interface GigabitEthernet0/1 overload
Ip nat inside source list 102 interface GigabitEthernet0/2 overload
Ip nat inside source list 103 interface GigabitEthernet0/2 overload
Access-list 102 permit ip 192.168.201.0 0.0.0.255 any
Access-list 103 permit ip 192.168.202.0 0.0.0.255 any
Route-map aaa permit 5
Match ip address 102 103
Set ip next-hop 218.85.224.100
Access-list 104 permit ip 192.168.203.0 0.0.0.255 any
Route-map bbb permit 6
Match ip address 104
Set ip next-hop 219.85.224.200
II. Huawei router
Interface gigabitethernet 0/0/1
Ip address 218.8.8.8
Nat outbound 102
Acl number 102
Rule 5 permit ip source 192.168.201.0 0.0.0.255
Rule 6 permit ip source 192.168.202.0 0.0.0.255
Acl number 103
Rule 7 permit ip source 192.168.201.1 0.0.0.0 destination 218.85.224.100 0.0.0.0
Rule 8 permit ip source 192.168.202.0 0.0.0.255 destination 218.85.224.100 0.0.0.0
Traffic classifier aaa operator or
If-match acl 103
Traffic behavior aaa
Redirect ip-nexthop 218.85.224.100
Traffic policy aaa
Classifier aaa behavior aaa
Or
Acl number 3000
Rule 10 permit ip source 10.0.0.0 0.0.0.255 destination 10.10.55.2 0
Acl number 3001
Rule 94 permit ip source 94.4.19.0 0.0.0.255 destination 10.10.55.3 0
Rule 192 permit ip source 192.168.2.0 0.0.0.255 destination 10.10.55.3 0
Traffic classifier aaa operator or
If-match acl 3000
Traffic classifier bbb operator or
If-match acl 3001
Traffic behavior aaa
Redirect ip-nexthop 10.10.55.2
Traffic behavior bbb
Redirect ip-nexthop 10.10.55.3
Traffic policy aaa match-order config
Classifier aaa behavior aaa
Traffic policy bbb match-order config
Classifier bbb behavior bbb