I am usig cisco 1841 with dual WAN connection to the internet.I want to send all voice taffic over over HDSL link and Data traffic to ADSL link.
To achieve that I have created a ACL to match all voice traffic and then used a route map to send matched traffic (voice) to SDSL interface on Cisco 184.
Now I am not very sure how do I send all other Data traffic to the ADSL link.I think I need to create a route map but not sure how ?
PLease see the sample config below.
Extended IP access list 100
remark matching VOICE_TRAFFIC
10 permit udp any any range 16384 32767
20 permit tcp any any eq 1720
30 permit tcp any any range 11000 11999
40 permit tcp any any range 1199 11000
50 permit udp any any eq 2427
60 permit tcp any any eq 2428
70 permit tcp any any range 2000 2002
80 permit udp any any eq 1719
90 permit udp any any eq 5060
100 permit tcp any eq 1720 any
110 permit tcp any any eq 5060
120 permit udp any any eq 5004
130 permit udp any any eq 10000
match ip address 100
set interface atm 0/0/0 atm 0/0/1 ( NOTE: traffic will go to atm0/0/0 int first and if that interface is down then it will route towards the atm0/0/1 intterace, will it work? )
How do I match all other data?
Thanks for the help.
I am not sure how this config will work or will it work at all. I understand that you do NOT need load balancing (by the way i think load balancing over this two links is inpossible). First your Route-maps DIVERT_VOICE and SDSL_NAT will only work if the interface facing the ADSL (fa 0/1) goes to down state. In normal situation when ADSL connection fails, the interface is remaining UP. For that reason you need to configure TRACKing as i gave you an example already. So again:
ip sla 1
icmp-echo X.X.X.X source-interface FastEthernet0/1
ip sla schedule 1 life forever start-time now
ip sla 2
icmp-echo Y.Y.Y.Y source-interface Dialer0
ip sla schedule 2 life forever start-time now
track 1 ip sla 1 reachability
track 1 ip sla 2 reachability
This way we are doing tracking on each connection. With change of the tracking state, we can configure the default route as follows:
ip route 0.0.0.0 0.0.0.0 fasthernet0/1 track 1
ip route 0.0.0.0 0.0.0.0 dialer0 10 track 2
By the way the number "10" is not Administrative distance but is a Metric. With the routing above all traffic goes over fa 0/1 until the track 1 goes down (adsl connection fails) and then all the traffic goes over the SDSL link. But we want Voice traffic to go over Dialer0. That's why we configure Route-map DIVERT_VOICE. Remember that the route-maps has precedence over the routing table. For this reason we have to remove the route-map when the SDSL route goes down, so the Voice traffic will go over ADSL This is done by the way shown below:
match ip address 2222
set ip next-hop verify-availability 192.168.1.1 10 track 1 -------> where 192.168.1.1 is the next-hop ip address of the SDSL link.
Interface Fa0/0 ( Inside/LAN Interface)
ip policy DIVERT_VOICE
!!!About the NAT configuration!!!
ip nat inside source route-map SDSL_NAT interface dailer0 overload
ip nat inside source route-map ADSL_NAT interface fastethernet0/1 overload
But the route-maps must be changet to
match ip address 2...........................>> Matching ALL Traffic
match interface dialer0.........>> Sending it to Dailer0
match ip address 2
match inteface fastehtnet0/1
That way you can NAT all the traffic over both links. The NAT is done after the routing. So first voice packets are routed to interface dialer0, and then are NAT-ed with dialer0 IP address because of the "match interface dialer0" statement in route-map SDSL_NAT.
Now when both connections are UP, Voice traffic is routed to SDSL because of the route-map DIVER_VOICE. All other traffic goes over the ADSL, thanks to the default route. If any of the links fails, all the traffic goes over the second one.
Just set the default-route to be the ADSL link and all other non-PBR traffic will go that way.