Re: Host specific OSPF routes in table with /24 advertisement

From: Anthony Pace (anthonypace@xxxxxxxxxxx)
Date: Wed Jun 12 2002 - 17:08:40 GMT-3


   
If you make the loopback interfaces "ospf network point-to-point" they
will show up with the assigned mask.

Anthony PAce

On Tue, 11 Jun 2002 23:46:26 -0400, "gary braver" <gbraver@attbi.com>
said:
> Stumped (and hopefully not a stupid question)
>
> A quick scan of the R1 config will show all interfaces defined and
> advertised with /24 bit mask. Yet the show IP route on
> R2 - has some ospf entries with 32 bit masks
>
> Why?
>
> Partial Config on router R1 as follows:
>
> interface Loopback0
> ip address 135.5.2.2 255.255.255.0
> !
> interface Serial0.1 multipoint
> ip address 135.5.34.2 255.255.255.0
> ip ospf network point-to-multipoint
> frame-relay map ip 135.5.34.3 103 broadcast
> frame-relay map ip 135.5.34.4 106 broadcast
> !
> interface Serial0.2 point-to-point
> ip address 135.5.42.2 255.255.255.0
> frame-relay interface-dlci 101
> !
> interface TokenRing0
> ip address 135.5.100.2 255.255.255.0
> ring-speed 16
> !
> router ospf 1
> log-adjacency-changes
> network 135.5.2.0 0.0.0.255 area 0
> network 135.5.34.0 0.0.0.255 area 0
> network 135.5.42.0 0.0.0.255 area 0
> network 135.5.100.0 0.0.0.255 area 0
>
> R2 routing table
> Gateway of last resort is not set
>
> 135.5.0.0/16 is variably subnetted, 5 subnets, 2 masks
> O 135.5.2.2/32 [110/7] via 135.5.100.2, 00:20:31, TokenRing0
> C 135.5.8.0/24 is directly connected, Loopback0
> O 135.5.34.2/32 [110/6] via 135.5.100.2, 00:20:31, TokenRing0
> C 135.5.44.0/24 is directly connected, Ethernet0
> C 135.5.100.0/24 is directly connected, TokenRing0
>
> why are the ospf routes no to the /24 network?
>
>
> r2 Routing statements
> all interfaces /24 mask
> router ospf 1
> network 135.5.100.0 0.0.0.255 area 0
> !



This archive was generated by hypermail 2.1.4 : Tue Jul 02 2002 - 08:12:32 GMT-3