Orbit-Computer Solutions.Com

Computer Training & Networking Solutions
Chika Nwokeoma, EzineArticles.com Basic Author < <
 
IP
 
 
 

Wildcards

Wildcards also known as inverse masks are mostly used when configuring mask for IP ACL (Access Control List) ,Enhanced Interior Gateway Protocol (EIGRP) and OSPF.
 And quite simply, wilcards means wherever there's a 1 in a normal netmask, you'll use a 0 in a wildcard mask.  

Subnet Mask for  IP address 192.168.1.0 with a 255.255.255.0 mask will be 192.168.1.0 0.0.0.255. This is sometimes called an inverse mask or a wildcard mask. When the value of the mask is written out into binary (0s and 1s), the results determine which address bits are to be considered in processing the traffic.

Mask Example:

The values for subnet mask can be 128,192,224,240,248,252,254 and 255

Take network address 192.168.20.0 / 24 (class C)

Network Address (binary) 11000000.10101000.0001100.00000000

Subnet mask 255.255.255.0  (decimal)

mask 11111111.11111111.11111111.00000000 (binary)


Subtract the normal mask from 255.255.255.255 in order to determine the ACL inverse mask or wilcard. In this example, the inverse mask is determined for network address 192.168.20.0 with a normal mask of 255.255.255.0.

I:e     255.255.255.255

      - 255.255.255.0

     = 0. 0. 0. 255  - this is the wild card or inverse mask
 
Subnet mask of  255.255.255.192 

i:e  255.255.255.255

    -255.255.255.192

  = 0. 0. 0. 63 - this is the wildcard 
 
Calculating wilcards is fun if you could understand that is just simple subtraction of the net mask of a given ip address from 255.255.255.255.
  
 
 
 
 

Wildcard for class B IP addresses

The following table should help in seeing a pattern between the number of bits used for the mask in a particular octet, the subnet mask in decimal and the equivalent wildcard mask:

No. of Network Bits Set to 1

0

1

2

3

4

5

6

7

8

Subnet Mask Binary

00000000

10000000

11000000

11100000

11110000

11111000

11111100

11111110

11111111

Subnet Mask Decimal

0

128

192

224

240

248

252

254

255

Wildcard Mask Binary

11111111

01111111

00111111

00011111

00001111

00000111

00000011

00000001

00000000

Wildcard Mask

255

127

63

31

15

7

3

1

0

The binary for the wildcard mask is the exact reverse, bit for bit, of the subnet mask. You then calculate the decimal from the reversed binary bits to obtain the dotted decimal wildcard mask.
 
 
 
 
 
 
 

        

  

 
Copyright 2009 - 2010. Orbit-Computer-Solutions.Com. All rights reserved.   Web Links  Privacy Policy  
 
The information provided on this website is for informational purposes only. Orbit-computer-solutions.com makes no warranties, either expressed or implied,
 with respect to any information contained on this website.
Orbit computer solutions.com reserves the right to change this policy at any time without prior notice.
Cisco and All related product mentioned in any portion of this website are the registered trademarks of Cisco.com their respective owners.
Microsoft Windows and All related products mentiond in any portion of this website are registered trademark of Microsoft Corporation.
 
Please email questions and comment to webmaster: toureg11@googlemail.com