#双出口
ip nat pool waiwang prefix-length 24
address interface GigabitEthernet 0/7 match interface GigabitEthernet 0/7
address interface GigabitEthernet 0/8 match interface GigabitEthernet 0/8
ip access-list standard 1
permit any
ip nat inside source list 1 pool waiwang overload
ip route 0.0.0.0 0.0.0.0 GigabitEthernet 0/8 192.168.1.1 2-备
ip route 0.0.0.0 0.0.0.0 GigabitEthernet 0/7 211.103.46.225-主
#策略路由
ip access-list standard 2
10 permit host 192.168.15.8
20 permit 192.168.7.0 0.0.0.255
route-map Gi0/1 permit 1
match ip address 2
set ip next-hop 192.168.1.1
interface GigabitEthernet 0/1
ip policy route-map Gi0/1