From: Brian McGahan (brian@cyscoexpert.com)
Date: Tue Nov 05 2002 - 00:21:32 GMT-3
Hunt,
There are at least two possible solutions to this issue. One is
to create a loopback interface with an address that falls within the
outside nat pool. The second is to create a static route to null0 for
this outside nat pool. I would prefer the latter solution, since it
will not use any of your address space.
Let's suppose that your outside pool is 1.2.3.0/24. You can
either:
Interface loopback0
Ip address 1.2.3.4 255.255.255.0
!
router bgp 1
network 1.2.3.0 mask 255.255.255.0
!
or
ip route 1.2.3.0 255.255.255.0 null0
!
router bgp 1
network 1.2.3.0 mask 255.255.255.0
The null route will not cause you to drop the traffic, since
those addresses don't actually exist anywhere.
HTH
Brian McGahan, CCIE #8593
Director of Design and Implementation
brian@cyscoexpert.com
CyscoExpert Corporation
Internetwork Consulting & Training
Voice: 847.674.3392
Fax: 847.674.2625
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
Of
> frank.yu@japan.bnpparibas.com
> Sent: Monday, November 04, 2002 8:31 PM
> To: huntl@webcentral.com.au
> Cc: ccielab@groupstudy.com
> Subject: Re: NAT /w EBGP
>
> Hunt,
>
> I have the similar infrastructure on my network. Just use "network
> 201.50.13.0 mask 255.255.255.0" under router bgp xxx on rtr1 and
"network
> 200.100.30.0 mask 255.255.255.0" under router bgp xxx on rtr2. It will
do
> the job.
>
> Frank
>
>
>
> Internet
> huntl@webcentral.com.au@groupstudy.com - 11/05/2002 10:59 AM
>
>
> Please respond to huntl@webcentral.com.au
>
> Sent by: nobody@groupstudy.com
>
> To: ccielab
>
> cc:
>
>
> Subject: NAT /w EBGP
>
>
> Team:
>
>
> Inside Outside
>
> RTR1----ISP1
> | \ /
> HostA \/
> | /\
> | / \
> RTR2---ISP2
>
> RTR1 & RTR2 are connected by IBGP & OSPF. In addition, RTR1 & RTR2
each
> have 2
> EBGP links connecting to ISP1 & ISP2 respectively.
>
> RTR1 & RTR2 - AS3
> ISP1 - AS1
> ISP2 - AS2
>
> RTR1, Eth0:- 172.16.3.1/24
> RTR2, Eth0:- 172.16.3.2/24
> Host A - 172.16.3.3/24
>
> ISP1 has been assigned the address block 201.50.13.0/24, ISP2 has been
> assigned
> the address block 200.100.30.0/24.
>
> What I want to achieve is that the NAT will translate inside addresses
> appropriately for each ISP's assigned address block.
>
> The problem I am having is that since hostA's IP is being NAT, neither
> RTR1
> nor
> RTR2 have the NAT range in their Routing Tables, which means I can't
> advertise the NAT range to ISP1 & ISP2 in BGP by "network x.x.x.x mask
> y.y.y.y". So what can I do to advertise these NAT ranges to ISP1 &
ISP2??
>
> Any help will be greatly appreciated.
>
> Regards,
> H.
>
>
>
>
>
> This message and any attachments (the "message") is
> intended solely for the addressees and is confidential.
> If you receive this message in error, please delete it and
> immediately notify the sender. Any use not in accord with
> its purpose, any dissemination or disclosure, either whole
> or partial, is prohibited except formal approval. The internet
> can not guarantee the integrity of this message.
> BNP PARIBAS (and its subsidiaries) shall (will) not
> therefore be liable for the message if modified.
>
> ---------------------------------------------
>
> Ce message et toutes les pieces jointes (ci-apres le
> "message") sont etablis a l'intention exclusive de ses
> destinataires et sont confidentiels. Si vous recevez ce
> message par erreur, merci de le detruire et d'en avertir
> immediatement l'expediteur. Toute utilisation de ce
> message non conforme a sa destination, toute diffusion
> ou toute publication, totale ou partielle, est interdite, sauf
> autorisation expresse. L'internet ne permettant pas
> d'assurer l'integrite de ce message, BNP PARIBAS (et ses
> filiales) decline(nt) toute responsabilite au titre de ce
> message, dans l'hypothese ou il aurait ete modifie.
This archive was generated by hypermail 2.1.4 : Tue Dec 03 2002 - 07:22:53 GMT-3