Just wonder if anybody can help? I have 2 ISP’s with block of public IP’s each same speed.
For now I have only set one IP from each ISP on the WAN interface. Both gateways work on their own by selecting the gateway manually with NAT.
The problem is when I set both gateways to load balance there seems to be a problem that it works for a few mins then gradually stops working after browsing a few sites. I can remove one gateway and it works again.
The only thing I can think of is there is some problem with masquarade that is not documented. Should I set 2 source NAT rules for masquarade with the dst address of both public IP’s? at the mo it’s only 1 rule masquarding the WAN interface which I can see could be wrong.
I followed the instructions and can’t see what is wrong can anybody help.
On our natted dual gateway setup we have 2 masq rules, one for each outbound interface. Basically setup a rule that says anything going out wan1 masq, and anything going out wan2 masq. That should catch all traffic going outbound and masq it to the correct source ip as it’s going outbound.
If using masq you dont need to specify the IP as it will determine it on the way out the interface dynamically.
Friends. I am having the same problem of our friend above. The changes are in relation that I have two link of a ISP, the two are entering each one in an interface, I made load balace, and what it occurs it is that always from_net2 starts to work normal, but after second hands does not open the sites of (hotmail, banks and sites in https) and starts to fall the MSN, has the same configuration in another server and I do not have problem the same. I use in this server the service of PPPoE with/interface pppoe server MTU the 1448 default what it can be?
I am thankful since already.
[admin@edge.*****e.customers] ip firewall src-nat> print
Flags: X - disabled, I - invalid, D - dynamic
1 src-address=192.168.1.0/24 action=masquerade
2 src-address=192.168.2.0/24 action=masquerade
[admin@edge.*****e.customers] ip route> print
Flags: X - disabled, I - invalid, D - dynamic, J - rejected,
C - connect, S - static, r - rip, o - ospf, b - bgp
DST-ADDRESS G GATEWAY DISTANCE INTERFACE
0 S 0.0.0.0/0 r 83..1.*3 1 ether1
1 XS 0.0.0.0/0 u *2.*.98.**2 1 (unknown)
u *3.**6.**4.33 (unknown)
2 DC 192.168.2.0/24 r 0.0.0.0 0 ether3
3 DC 192.168.1.0/24 r 0.0.0.0 0 ether2
4 DC 83.166.184.32/28 r 0.0.0.0 0 ether1
5 DC 82.71.98.240/29 r 0.0.0.0 0 ether4
Thanks in advance for taking a look.
Just for information you will see on the routes that the one that has the problem is disabled. The route which is enabled is one of the two included in the disabled rule that I have a problem with. Also both gateways work on their own.
[admin@edge.*****e.customers] ip firewall src-nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 src-address=192.168.1.0/24 out-interface=ether1 action=masquerade
[admin@edge.*****e.customers] ip route> print
Flags: X - disabled, I - invalid, D - dynamic, J - rejected,
C - connect, S - static, r - rip, o - ospf, b - bgp
DST-ADDRESS G GATEWAY DISTANCE INTERFACE
0 S 0.0.0.0/0 r 83..1.*3 1 ether1
1 XS 0.0.0.0/0 u *2.*.98.**2 1 (unknown)
u *3.**6.**4.33 (unknown)
2 DC 192.168.2.0/24 r 0.0.0.0 0 ether3
3 DC 192.168.1.0/24 r 0.0.0.0 0 ether2
4 DC 83.166.184.32/28 r 0.0.0.0 0 ether1
5 DC 82.71.98.240/29 r 0.0.0.0 0 ether4