RE: OSPF Network statement

From: Tony Schaffran \(GS\) <groupstudy_at_cconlinelabs.com>
Date: Sun, 26 Apr 2009 11:00:02 -0700

Why not use network 150.1.0.0 0.0.255.255 ?

Tony Schaffran
Sr. Network Consultant
CCIE #11071
CCNP, CCNA, CCDA,
NNCDS, NNCSS, CNE, MCSE
 
www.cconlinelabs.com
Your #1 choice for online Cisco rack rentals.
 

-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
Cisco Fanatic
Sent: Sunday, April 26, 2009 10:36 AM
To: ccielab_at_groupstudy.com
Subject: OSPF Network statement

All,

I have 5 /24 networks and want to represent them by a single OSPF network
statement.

150.1.7.7
150.1.37.7
150.1.67.7
150.1.79.7
150.1.72.7
!
router ospf 1
 network 150.1.1.7 0.0.110.0 <-- this is like access-list right?
% OSPF: Invalid address/mask combination (discontiguous mask)
!

If I remember from one of the reading from IE's Q&A section

To find the most specific address and
wildcard pair that will

match two addresses, A and B, we use the gates AND and XOR. The address

we will check in the access-list is A AND B. The wildcard used to check

in this list will be A XOR B.

access-list 1 permit [address_to_check] [wildcard_used_to_check]
-Yuri
Received on Sun Apr 26 2009 - 11:00:02 ART

This archive was generated by hypermail 2.2.0 : Mon May 04 2009 - 07:39:13 ART