Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > Re: Dual WAN on a 2651, NAT inside, opening one port on the seconday WAN

Reply
Thread Tools

Re: Dual WAN on a 2651, NAT inside, opening one port on the seconday WAN

 
 
Martin Gallagher
Guest
Posts: n/a
 
      11-27-2012
Don Kuenz wrote:

>
> 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.)
>


Not only plausible, it's what will happen.

> 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.
>


You are routing this traffic based on where it came from, 192.168.44.55:66,
and not where it's going. For this you need Policy Routing.

Understanding Policy Routing
============================
http://www.cisco.com/en/US/tech/tk36...8009481d.shtml

> 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
>


Since ACL 101 and 102 are identical 101 will always match and all your
traffic will overload on F0/1 even if you do manage to send some of it via
E1/0. So:

!
ip nat inside source route-map F01 interface FastEthernet0/1 overload
ip nat inside source route-map E10 interface Ethernet1/0 overload
!
route-map E10 permit 10
match interface FastEthernet0/1
match ip access-list 101
!
route-map E10 permit 10
match interface Ethernet1/0
match ip access-list 102
!

--
Rgds,
Martin
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Routing between Primary and Seconday IP addresses JF Mezei Cisco 0 02-07-2010 07:55 AM
Re: Routing between Primary and Seconday IP addresses Martin Gallagher Cisco 0 02-07-2010 02:38 AM
NetGear SPH200D dual Dual-mode, Cordless Phone vs Dualphone 3088 dual mode cordless phone Paul NZ Computing 0 05-08-2007 09:06 AM
Adsl Router > Dual Wan Load Balancing Router > 24 port Switch Hub nazeth Hardware 0 03-28-2007 08:36 AM
Nebie to Firefox: Seconday window will not open lbbss Computer Support 3 08-17-2004 06:13 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57