From: blodwick (blodwick@columbus.rr.com)
Date: Fri Jun 30 2006 - 18:32:36 ART
Why not just create the null route then add a network statement into BGP
instead of all that redistributing with a filter?
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Jens Petter
Sent: Friday, June 30, 2006 4:28 PM
To: masterdt@yahoo.com; ccielab@groupstudy.com
Subject: RE: advertising NAT pool in to BGP
Hi,
I just used fictive ip addresses here... The outside interface is a /30
net
(link net) and the nat address is not in that /30 net, but on the
outside of
it..
Lets just say that the outside interface has ip address 172.16.1.89
255.255.255.252
And the nat overload address is 172.16.1.17
Comment?
Jens
-----Original Message-----
From: David Timmons [mailto:masterdt@yahoo.com]
Sent: 30. juni 2006 22:22
To: Jens Petter; ccielab@groupstudy.com
Subject: Re: advertising NAT pool in to BGP
Hi,
This looks like it will inject the static route into
BGp and it should be seen by the bgp peer; however,
since it is the same subnet as your outside interface,
why would you try to do this instead of advertising
your outside interface into bgp?
dt
--- Jens Petter <jenseike@start.no> wrote:
> I am trying to figure out how to advertise a NAT
> configured pool in to bgp..
>
> Will this do the job ? :
>
>
>
> interface fastethernet 1
> ip address 172.16.1.x 255.255.255.252
> ip nat outside
>
> router bgp 1
> neighbor 10.1.1.1 remote-as 2
> redistribute static route-map STATIC-TO-BGP
>
> access-list 1 permit 172.16.1.10
> access-list 2 permit 192.168.1.0
>
> route-map STATIC-TO-BGP
> match ip address 1
>
> ip nat pool NAT-POOL 172.16.1.10 172.16.1.10 PREFIX
> 30
>
> ip nat inside source list 2 pool NAT-POOL overload
>
> ip route 172.16.1.10 255.255.255.255 null 0
>
> 172.16.1.10 is my nat pool address that I am
> overloading for my inside
> addresses... This is the NAT address I need to
> advertise in to BGP so that
> external host have a route back... I tried to use
> /32 as prefix in the ip
> nat pool command but got an error telling me that
> /30 is the smalest prefix
> I can use... Is this a problem..? the outside
> interface are /30 net
>
> Will this advertising of that NAT address work well.
> I dont have a lab to
> test this, so any advice will be apreaciated... Any
> other advices is alo
> apreachiated..
>
> Jens
>
>
This archive was generated by hypermail 2.1.4 : Sat Jul 01 2006 - 07:57:34 ART