From: Eric Leung (eric.lwc@gmail.com)
Date: Fri Jul 13 2007 - 13:36:43 ART
Explain a little bit more using Alexei's example working on a SNAT group:
*On Router 1*
in fa 0/1
ip nat outside
in fa 0/0
ip nat inside
standby 111 name SNAT-HSRP
!*! The stateful id has to be different on this router.*
ip nat Stateful id 1
redundancy SNAT-HSRP
*! the mapping id on both routers has to be the same*
mapping-id 19
as-queuing disable
ip nat pool SNATPOOL1 10.0.0.254 10.0.0.254 prefix-length 24
access-list 192 permit ip 192.168.111.0 0.0.0.255 any
ip nat inside source list 192 pool SNATPOOL1 mapping-id 19 overload
*On Router 2*
in fa 0/1
ip nat outside
in fa 0/0
ip nat inside
standby 111 name SNAT-HSRP
*! The stateful id has to be different on this router.*
ip nat Stateful id 2
redundancy SNAT-HSRP
*! the mapping id on both routers has to be the same*
mapping-id 19
as-queuing disable
ip nat pool SNATPOOL1 10.0.0.254 10.0.0.254 prefix-length 24
access-list 192 permit ip 192.168.111.0 0.0.0.255 any
ip nat inside source list 192 pool SNATPOOL1 mapping-id 19 overload
Reference:
http://www.cisco.com/en/US/products/ps6600/products_white_paper09186a0080118b04.shtml#wp39308
2007/7/13, Alexei Monastyrnyi <alexeim@orcsoftware.com>:
>
> Hi.
>
> You mean "should those two be the of same value?"? Not really. In NAT
> pool you should refer to the right mapping ID.
>
> If you are to use it with HSRP, standby name and redundancy name should
> match though.
>
> Something like this should work:
>
> in fa 0/1
> ip nat outside
>
> in fa 0/0
> ip nat inside
> standby 111 name SNAT-HSRP
>
> ip nat Stateful id 1
> redundancy SNAT-HSRP
> mapping-id 19
> as-queuing disable
>
> ip nat pool SNATPOOL1 10.0.0.254 10.0.0.254 prefix-length 24
> access-list 192 permit ip 192.168.111.0 0.0.0.255 any
> ip nat inside source list 192 pool SNATPOOL1 mapping-id 19 overload
>
>
> HTH,
> A.
>
>
> on 7/13/2007 10:44 AM Ashok CCIE wrote:
> > Hi,
> >
> > Should the SNAT stateful id and mapping id between the routers. Also,
> could
> > you send me valid config on this?
> >
> > Thanks,
> > Ashok
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sat Aug 18 2007 - 08:17:40 ART