Hello. Sorry for my english...
I have two ISPs , WAN1 and WAN2, and my internal network. LAN1.
I want to balanced the (http, ftp,rdp ) services in my two ISPs to a unique server in my LAN (http, ftp, rdp, etc...)
And my clients in my internal network to be balanced out a internet for wan1,wan2 via round robin.
i have problems with routes, because only work for my 1-isp....
any ideas....? thank you
If you want to balance traffic comming from internet, the first thing you should do is dns configuration.
Dns query for domain example.com should give two IP's - WAN1 and WAN2
For example:
nslookup -all google.com. gives
Addresses:
74.125.43.99, 74.125.43.103, 74.125.43.104, 74.125.43.105
74.125.43.106, 74.125.43.147
the second query:
Addresses:
74.125.43.103, 74.125.43.104, 74.125.43.105, 74.125.43.106
74.125.43.147, 74.125.43.99
So if you add two ips to one domain, some clients will connect to server via wan1, others via wan2 - depend on what ip address they get on first position from dns query.
Then you have to add routing table Wan2ReturnTraffic.
Interface: Wan2
Network: all-nets
Gateway: wan2_gw
Local ip address: wan2_ip
Add routing roule ReturnRouteWan2
Forward routing table: main
Return routing table: Wan2ReturnTraffic
Service: allservices
Source interface: wan2
Source network: allnets
Destination interface: any
destination network: allnets
(I am using dfl-800 but dfl-1600 should be similar)
Of course you have to define rules to allow traffic wan1_wan2_to_lan and lan_to_wan1_wan2.
The best way is to group wan1 and wan2 so you dont have to add rules for wan1 and wan2 separately.
If you want to balance traffic from lan to internet then I dont know if you can do that with round robin.
You can balance traffic by services, for example http ftp -> wan2, everything else ->wan1.
There is dlink tutorial for that - I am sure you will find it.
Navi