From: Daniel Garrity (ccie@garrityfamily.com)
Date: Tue Apr 15 2003 - 18:08:34 GMT-3
I have also had problems with using a loopback as the RID and then using
NAT. Two ideas you can try.
1. Set the OSPF RID on R2 to be the serial interface IP that connects it
to R1. This will require a reload on both routers.
2. Change your NAT conf to something like this:
Hostname R1
!
ip nat inside source list 101 int s0/1
!
Interface s0/0
ip nat inside
!
Interface s0/1
ip nat outside
! access-list 101 deny ospf any any
! access-list 101 permit ip any any
HTH
Dan
-----Original Message-----
From: FATHALLAH [mailto:sfathallah@mail.cbi.net.ma]
Sent: Tuesday, April 15, 2003 8:48 AM
To: Ccielab
Cc: Hasnaa YOULAL
Subject: OSPF and NAT probleme
Hi group,
is there any known probleme when runing ospf and NAT?.
I have two router R1 an R2 ( part of lab ).
R1 run ospf in Interface s0/1 conncting it to R2
and an other frame interface Interface s0/0 to the rest of the network.
R2 also run ospf in interface connecting it to R1 and in loopback
interface.
R1 and the rest of the network must see R2 loopback interface but don't
give the R2 the visibility of the network ( all route must be filtred
).
there is no probleme at this stage.
a question tel : without any configuration in R2 give all routers in
the
network the possibility to ping R2 loopback interface.
my solution witch is the same as the personne who give the lab, is NAT
in R1
:
Hostname R1
!
ip nat inside source list 1 int s0/1
!
Interface s0/0
ip nat inside
!
Interface s0/1
ip nat outside
! access-list 1 permit any
the ping work few time, then ospf adgency betwen R1 and R2 gos down.
Please can some one help me there.
This archive was generated by hypermail 2.1.4 : Thu May 01 2003 - 13:35:53 GMT-3