發表文章

目前顯示的是 三月, 2014的文章

DD-WRT DualWAN FailOver Scripts

Dual WAN With Failover This was tested on WRT54GL 1.1 with DD-WRT 2.4 mini. Contents 1What this setup will do2Creating a second VLAN2.1Commands to set VLANs3Setting up the scripts3.1Bringing up the second WAN at startup3.1.1wan2up.startup3.2Setting up the scripts responsible for switching to a specific WAN3.2.1wan1.up3.2.2wan2.up3.3Setting up the actual failover script3.3.1failover.startup3.3.2Optionally add automatic switching back to WAN1 once it becomes available3.4Setting up the script responsible for the Easy Setup button3.4.1chwan.sesbutton4Final polishing

What this setup will do Create a second WAN port, so you can hook up another provider for backup, and will change the active provider to the secondary, if ping fails to the provider's gateway. It will ping in a predefined interval. If this is not what you need, then you might try: Dual-WAN for simple round-robin lo