Hey Guys,
I'm doing small site multihoming on my cisco 892 with no BGP and I ran into some issues with it.
I have it working nice tanks to manual on page: [URL unfurl="true"]http://stack.nil.com/ipcorner/SmallSiteMultiHoming/#chapter1[/url]
My problem is with port forwarding. I want to use port forwarding on both WAN interfaces going to same IP addresses for example:
80 WAN1 ---> LAN_PC1 80
80 WAN2 ---> LAN_PC1 80
Problem is with routing cause traffic is comming back always by gateway of last resort and if I try to connect by other interface which is not used as default gateway my connection is going back by first interface and connection is failing.
Sample configuration:
ip nat inside source route-map ISP_A interface GigabitEthernet0 overload
ip nat inside source route-map ISP_B interface FastEthernet8 overload
ip nat inside source static tcp 192.168.100.100 22 19.168.150.10 65022 route-map ISP_B extendable
ip nat inside source static tcp 192.168.100.100 22 192.168.0.199 65022 route-map ISP_A extendable
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0 192.168.0.1 10
ip route 0.0.0.0 0.0.0.0 FastEthernet8 192.168.150.1 251
!
no logging trap
dialer-list 1 protocol ip permit
no cdp run
!
route-map ISP_A permit 10
match interface GigabitEthernet0
set interface GigabitEthernet0
!
route-map ISP_B permit 10
match interface FastEthernet8
set interface FastEthernet8
Set command in route-map is from my last tests but this seems to not work.
I saw some examples of PBR but I need pricate IP addresses and Cisco NAT is not solution (1 External IP assigned to one Internal IP) this means I need to use nat overload.
Any ideas how I can get that done?
Anybody done this before? Is it even possible?
Thanks
W
I'm doing small site multihoming on my cisco 892 with no BGP and I ran into some issues with it.
I have it working nice tanks to manual on page: [URL unfurl="true"]http://stack.nil.com/ipcorner/SmallSiteMultiHoming/#chapter1[/url]
My problem is with port forwarding. I want to use port forwarding on both WAN interfaces going to same IP addresses for example:
80 WAN1 ---> LAN_PC1 80
80 WAN2 ---> LAN_PC1 80
Problem is with routing cause traffic is comming back always by gateway of last resort and if I try to connect by other interface which is not used as default gateway my connection is going back by first interface and connection is failing.
Sample configuration:
ip nat inside source route-map ISP_A interface GigabitEthernet0 overload
ip nat inside source route-map ISP_B interface FastEthernet8 overload
ip nat inside source static tcp 192.168.100.100 22 19.168.150.10 65022 route-map ISP_B extendable
ip nat inside source static tcp 192.168.100.100 22 192.168.0.199 65022 route-map ISP_A extendable
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0 192.168.0.1 10
ip route 0.0.0.0 0.0.0.0 FastEthernet8 192.168.150.1 251
!
no logging trap
dialer-list 1 protocol ip permit
no cdp run
!
route-map ISP_A permit 10
match interface GigabitEthernet0
set interface GigabitEthernet0
!
route-map ISP_B permit 10
match interface FastEthernet8
set interface FastEthernet8
Set command in route-map is from my last tests but this seems to not work.
I saw some examples of PBR but I need pricate IP addresses and Cisco NAT is not solution (1 External IP assigned to one Internal IP) this means I need to use nat overload.
Any ideas how I can get that done?
Anybody done this before? Is it even possible?
Thanks
W