Hi,
My goal is to have 2 ISP connections, loadbalancing and redundant internet links in one single router.
- Both ISP connections will have static ip addresses, one ip per isp.
- If one fails, users will use the other connections for web access
- if both are ok, loadbalancing will ocur
- users will use PAT in one of the ISPs IP address
- Web server and mail server will be configured with port redirect.
- The ISP connections might be dsl and cable connections, so the maximum I can have is a PAT in both of the connections.
- Load balancing will be controlled with equal metrics in the static routes
My question is if this is possible to do with IOS. I have read a lot about multihoming with BGP but have not seen a good solution without BGP. My biggest question is if it is possible to have load balancing in PAT with static routes, and if this will work properly. I intend to have "route cache" active in order to avoid problems.
Here's my proposed configuration:
interface Ethernet0 ip address 192.168.0.1 255.255.255.0 ip nat inside ! interface Ethernet1 ip address 11.0.0.100 255.255.255.0 ip nat outside ip route-cache ! interface Ethernet2 ip address 12.0.0.100 255.255.255.0 ip nat outside ip route-cache ! ! ip nat inside source route-map isp1 interface Ethernet1 overload ip nat inside source route-map isp2 interface Ethernet2 overload ! access-list 101 permit ip 192.168.0.0 0.0.0.255 any ! route-map isp1 permit 10 match ip address 101 ! route-map isp2 permit 10 match ip address 101 ! ip route 0.0.0.0 0.0.0.0 ethernet1 ip route 0.0.0.0 0.0.0.0 ethernet2
Will this work?
Thanks in advance for any tip/hint !
Regards, Pedro Machete Pereira