Re: How do I advertise the true subnet mask of loopbacks?

From: Hobbs (deadheadblues@gmail.com)
Date: Mon Nov 24 2008 - 21:30:55 ARST


It worked for me. here I matched interface, but I also tried matching
address and it worked.

R2#show run | sec Loopback20
interface Loopback20
 ip address 20.20.20.20 255.255.255.0

R2#show run | sec route-map match20
route-map match20 permit 10
 match interface Loopback20

R2#show run | sec ospf
router ospf 1
redistribute connected subnets route-map match20
network 150.100.100.0 0.0.0.255 area 0

R5#show ip route | sec 20.0
     20.0.0.0/24 is subnetted, 1 subnets
O E2 20.20.20.0 [110/20] via 150.100.100.2, 00:01:47, Serial1/0
R5#

I am running (C3640-IK9O3S-M), Version 12.4(7)

On 11/24/08, Piotr <usaccie@gmail.com> wrote:
>
> I got 2 and 3 to work. But 1.) redistribute connected (external) is not
> working.
>
>
> ======================================= R3 =========================
> interface Loopback200
> ip address 200.1.1.1 255.255.255.0
> !
>
> interface Serial1/0
> ip address 199.1.1.2 255.255.255.0
> encapsulation frame-relay
> ip ospf network broadcast
> ip ospf priority 0
> serial restart-delay 0
> frame-relay lmi-type ansi
>
> router ospf 1
> log-adjacency-changes
> redistribute connected subnets route-map OSPFMASK
> network 0.0.0.0 255.255.255.255 area 0
>
>
> !
> access-list 1 permit 200.1.1.0 0.0.0.255 log
> route-map OSPFMASK permit 10
> match ip address 1
>
>
>
> ==============================================
> r1=================================
>
> r1(config-line)#do sho ip route ospf
> 33.0.0.0/24 is subnetted, 1 subnets
> O IA 33.1.1.0 [110/65] via 199.1.1.3, 00:03:40, Serial1/0
> 200.1.1.0/32 is subnetted, 1 subnets
> O 200.1.1.1 [110/65] via 199.1.1.2, 00:03:40, Serial1/0
>
>
>
>
> On Mon, Nov 24, 2008 at 5:05 PM, Siddant -- <geekv@hotmail.com> wrote:
>
> > Piotr
> >
> > Issue the command "ip ospf network point-to-point" under the interface
> > config mode of the loopback
> >
> >
> > hth
> > Sidd--
> >
> > > Date: Mon, 24 Nov 2008 15:34:21 -0500
> > > From: usaccie@gmail.com
> > > To: ccielab@groupstudy.com
> > > Subject: How do I advertise the true subnet mask of loopbacks?
> > >
> > > How do I advertise the true subnet mask of loopbacks.
> > >
> > > eg. 100.100.100.1/24 vs a host route 100.100.100.1/32
> > >
> > >
> > > Blogs and organic groups at http://www.ccie.net
> > >
> > > _______________________________________________________________________
> > > Subscription information may be found at:
> > > http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Mon Dec 01 2008 - 08:18:32 ARST