cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2467
Views
0
Helpful
1
Replies

IP SLA failover on dual dhcp WAN links

pkaretnikov
Level 1
Level 1

outside

A    B

\   /

  R

   |

inside

R=2801 Router, A and B are the WAN links.

While having a dual WAN interface is normally not an issue, both of the links use DHCP, so when you attempt to place a track stament on the route, it's not an option if you include gaining the route via DHCP.

Router(config)#no ip route 0.0.0.0 0.0.0.0 fastEthernet 0/0.2 dhcp ?

  <1-255>  Distance metric for this route

  <cr>

Router(config)#no ip route 0.0.0.0 0.0.0.0 fastEthernet 0/0.2 track 1 ?
  <1-255>  Distance metric for this route
  name     Specify name of the next hop
  tag      Set tag for this route
  <cr>

The DHCP statement is definately required yet I can't have tracking and a dhcp based default route. Technically I could create a couple VRFs and have them act as an outside routers and my inside router would not have to get anything from DHCP but that seems a bit convoluted. Has anyone else ran into this and have any idea of a workaround or if there is a fix in a later IOS(currently running 12.4(24)T4).

1 Reply 1

Lei Tian
Cisco Employee
Cisco Employee

Hi,

Use "ip dhcp client route track" under the interface.

http://www.cisco.com/en/US/docs/ios/ipaddr/command/reference/iad_dhc1.html#wp1041855

HTH,

Lei Tian