Note: all public IP addresses are fictitious.
The primary, default WAN uses 11.22.33.50. The secondary WAN uses
11.23.44.77. All traffic flows through the primary WAN EXCEPT for traffic going to 11.23.44.76 port 66.On the surface it seems plausible that packets sent to port 66 of
11.23.44.77:66 actually reach 192.168.44.55:66. But reply packets out of 192.168.44.55 get routed through 11.22.33.49 (the default) instead of 11.23.44.76 (the secondary WAN where the TCP session was started.)I seem to recall a "sticky route" parameter that instructs IOS to stick with the originating gateway for a given TCP session. Any help appreciated. TIA.
The pertinent parts of the config:
ip route 0.0.0.0 0.0.0.0 11.22.33.49 ip nat inside source list 101 interface FastEthernet0/1 overload ip nat inside source list 102 interface Ethernet1/0 overload
ip nat inside source static tcp 192.168.44.55 66 interface Ethernet1/0 2154 access-list 101 permit ip 192.168.44.0 0.0.0.255 any access-list 102 permit ip 192.168.44.0 0.0.0.255 any interface FastEthernet0/0 ip address 192.168.44.1 255.255.255.0 ip nat inside no shutdown hold-queue 32 in exit ! interface FastEthernet0/1 ip address 11.22.33.50 255.255.255.248 ip nat outside no shutdown duplex auto exit ! interface Ethernet1/0 ip address 11.23.44.76 255.255.255.248 ip nat outside no shutdown exit
-- Don Kuenz