<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Karl,<div><br></div><div>If BGP or another routing protocol isn't available, have a look (or google) at the "ip sla" and "track" commands, and "ip route 0.0.0.0 0.0.0.0 <dst> track ..." command.</div><div><br></div><div>John</div><div><br></div><div><br><div><div>On 26/05/2010, at 12:52 PM, Karl Kloppenborg wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Noggers,<div><br></div><div>Okay so here is the scenario,</div><div>I have one Cisco 1811 integrated services router with a number of Fast Ethernet interfaces on it,</div><div><br></div><div>What I want to do is make a dual Wan failover setup with the following configuration</div><div>(Note: I am not asking someone to just give me a config because I won't learn that what, but pointers and tips are most welcome :D)</div><div><br></div><div>Wan1 (Primary internet connection)</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>Interface: FastEthernet0</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>IP Address: Static</div><div><br></div><div>Wan2 (Backup Internet connection)</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>Interface: FastEthernet1</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>IP Address: Assigned by PPPoE Client (Modem is in bridged mode so need to authenticate with some type of dialer interface + PPPoE)</div><div><br></div><div>NAT0 (VLAN1)</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>Interface: FastEthernet2</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>IP Address: 10.0.2.1 / 24</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>Services: QOS / Port Forwarding / DHCP / Firewall / DPI</div><div><br></div><div>Notes:</div><div>Okay so basically I need the LAN traffic to route through the primary int, but in the event that it is lost (Modem dies or even better if it looses ping with the next hop) then switch over to WAN2</div><div>Alternatively let me manually switch between the gateways</div><div><br></div><div>ip route 0.0.0.0 0.0.0.0 FastEthernet0 </div><div>no ip route 0.0.0.0 0.0.0.0 FastEthernet1 //Turn this one on when the Primary interwebs drops and turn the FastEthernet IP route off ?</div><div><br></div><div>Any help much appreciated!</div><div><br></div><div><div apple-content-edited="true">
<span class="Apple-style-span" style="color: rgb(21, 33, 246); font-size: 12px; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="color: rgb(21, 33, 246); font-size: 12px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(21, 33, 246); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(5, 97, 0); font-family: Helvetica; font-size: 9px; font-style: italic; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(5, 97, 0); font-family: Helvetica; font-size: 9px; font-style: italic; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><b><br class="Apple-interchange-newline">Cheers!<br class="Apple-interchange-newline">Karl Kloppenborg</b></div><div><span class="Apple-style-span" style="font-family: Verdana; "><span class="Apple-style-span" style="font-family: Helvetica; "><font class="Apple-style-span" color="#1521F6">P</font> 02 8014 4253<b><span class="Apple-style-span" style="font-family: Verdana; font-weight: normal; ">  EXT:104</span></b></span> <span class="Apple-style-span" style="font-family: Helvetica; font-weight: bold; "> | <font class="Apple-style-span" color="#1521F6"><span class="Apple-style-span" style="font-weight: normal; ">M </span></font><span class="Apple-style-span" style="font-weight: normal; "><b><span class="Apple-style-span" style="color: rgb(21, 33, 246); font-weight: normal; "><span class="Apple-style-span" style=""><b><span class="Apple-style-span" style="font-weight: normal; ">0438475892  <b>|</b>  <font class="Apple-style-span" color="#1521F6">www</font>.karltec.net</span></b></span></span></b></span></span></span></div><div><font class="Apple-style-span" color="#056100" size="1"><i><span class="Apple-style-span" style="border-collapse: separate; color: rgb(5, 97, 0); font-family: Helvetica; font-size: 9px; font-style: italic; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><font class="Apple-style-span" color="#056100" size="1"><i><span class="Apple-style-span" style="font-size: 12px; font-style: normal; "><div><font class="Apple-style-span" color="#056100" size="1"><i><span class="Apple-style-span" style="font-size: 12px; font-style: normal; "><div><font class="Apple-style-span" color="#1521F6"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="color: rgb(5, 97, 0); font-size: 9px; font-style: italic; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(5, 97, 0); font-family: Helvetica; font-size: 9px; font-style: italic; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><font class="Apple-style-span" color="#056100" size="1"><i><span class="Apple-style-span" style="font-size: 12px; font-style: normal; "><div><font class="Apple-style-span" color="#056100" size="1"><i><br class="webkit-block-placeholder"></i></font></div><div><span class="Apple-style-span" style="color: rgb(5, 97, 0); font-size: 9px; font-style: italic; ">Please consider the environment before printing this email. Think before you print. </span></div><div><font class="Apple-style-span" color="#056100" size="1"><i><br class="webkit-block-placeholder"></i></font></div></span></i></font></div><font class="Apple-style-span" color="#056100" size="1"></font><font class="Apple-style-span" color="#056100" size="1"></font></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline"></span></span>
</font></div><font class="Apple-style-span" color="#1521F6">
</font></span></i></font></div></span></i></font></div></span></span></i></font></div></span></span></span></span></span></span></span></div><br></div></div>_______________________________________________<br>AusNOG mailing list<br><a href="mailto:AusNOG@lists.ausnog.net">AusNOG@lists.ausnog.net</a><br>http://lists.ausnog.net/mailman/listinfo/ausnog<br></blockquote></div><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>