Code: Select all
[admin@crosslink] ip firewall address-list> print
Flags: X - disabled, D - dynamic
# LIST ADDRESS
0 isp1 81.180.0.0/15
1 isp1 80.96.0.0/15
2 isp1 85.120.0.0/14
Code: Select all
[admin@crosslink] ip firewall mangle> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=prerouting dst-address-list=isp1 action=mark-routing new-routing-mark=isp1 passthrough=yes
1 chain=prerouting dst-address-list=!isp1 action=mark-routing new-routing-mark=isp2 passthrough=no
Code: Select all
[admin@crosslink] ip route> print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf
# DST-ADDRESS PREF-SRC G GATEWAY DISTANCE INTERFACE ROUTING MARK
0 ADC xxx.xxx.0.1/32 xxx.xxx.17.200 interface isp1
1 ADC xxx.xxx.93.0/26 xxx.xxx.93.20 interface isp2
2 ADC 192.168.0.0/22 192.168.0.1 interface local
3 A S 0.0.0.0/0 r xxx.xxx.93.1 interface isp2
4 A S 0.0.0.0/0 r xxx.xxx.0.1 interface isp1 isp1
Code: Select all
[admin@crosslink] ip dns> print
primary-dns: xxx.xxx.xxx.25 DNS isp1
secondary-dns: xxx.xxx.xxx.20 1DNS isp2
allow-remote-requests: yes
cache-size: 2048KiB
cache-max-ttl: 1w
cache-used: 244KiB
However I am making a mistake somewhere. Any help?