Wildcard Mask
Also: wildcard masksinverse mask
An inverted mask used in ACLs and in OSPF and EIGRP network commands: 0 bits must match and 1 bits are ignored. 0.0.0.255 matches a /24, 0.0.0.0 matches a single host ('host' keyword) and 255.255.255.255 matches anything ('any'); calculate it by subtracting the subnet mask from 255.255.255.255.
NetworkChuck0
Not taught as a topic in NetworkChuck Free CCNA. Mentioned fewer than twice, if at all.
Jeremy's IT Lab12
- Day 25 RIP & EIGRP
Wildcard MaskAn inverted subnet mask used in EIGRP and OSPF network commands: 0 bits must match and 1 bits don't have to match. A quick way to calculate it is 255 minus each subnet mask octet (e.g. /28 = 0.0.0.15).
23:00A wildcard mask is basically an ‘inverted’ subnet mask. All 1s in the subnet mask are 0 in the equivalent wildcard mask, and all 0s in the subnet mask are 1 in the equivalent wildcard mask.
Said 27× - Day 25 Lab Configuring EIGRP
Wildcard MaskUsed in EIGRP network commands: 0.0.0.3 matches a /30 interface prefix, 0.0.0.0 matches one exact address, and 255.255.255.255 with 0.0.0.0 matches every interface.
6:18Remember, the NETWORK command uses a wildcard mask, so this is like a subnet mask of 0.0.0.0, meaning a /0 prefix length.
Said 3× - Day 26 OSPF Part 1
Wildcard MaskOSPF's network command uses a wildcard mask plus a mandatory area, e.g. network 10.0.12.0 0.0.0.15 area 0; without the area the router reports an incomplete command.
21:29For example, in the first network command I specified 10.0.12.0 with a /28 wildcard mask, in area 0. R1’s G0/0 interface has an IP address of 10.0.12.1, which is contained in 10.0.12.0/28.
Said 2× - Day 26 Lab Configuring OSPF (1)
Wildcard MaskOSPF network commands can match all interfaces (0.0.0.0 255.255.255.255), one exact address (0.0.0.0), a range (0.0.255.255) or an interface subnet (0.0.0.3 for /30).
4:01Remember that the network command uses a wildcard mask, so 255.255.255.255 is like a subnet mask of 0.0.0.0.
Said 2× - Day 27 Lab Configuring OSPF (2)
Wildcard MaskA network command with a 0.0.0.0 wildcard matches only one exact address, so if no interface has that address, OSPF is not activated anywhere. network 200.120.45.0 0.0.0.255 area 0 fixes it.
19:28Okay, now let's configure a new network command. NETWORK 200.120.45.0 and a /24 wildcard mask is 0.0.0.255 AREA 0.
Said 2× - Day 45 NAT (part 2)
Wildcard MaskACLs that identify NAT traffic use wildcard masks; a /24 source is written 0.0.0.255, not 255.255.255.0.
23:03How about C? The ACL’s mask is 255.255.255.0, but ACLs are supposed to use wildcard masks, so /24 should be 0.0.0.255.
Said 2× - Day 34 Standard ACLs
Wildcard MaskACL entries use a wildcard mask, not a subnet mask. 0.0.0.0 matches a single host (/32) and 255.255.255.255 with 0.0.0.0 matches every address, which is the same as the any keyword.
Covered on a concept card - Day 34 Lab Standard ACLs
Wildcard MaskIn the Boson lab, a single entry using 10.10.2.0 0.0.1.255 matches both the VLAN 2 (10.10.2.0/24) and VLAN 3 (10.10.3.0/24) subnets.
Covered on a concept card - Day 35 Extended ACLs
14:35wildcard mask. You can't just write the address without either of those. In standard ACLs, that is possible, but not extended. not extended. Okay, so I decided to use any to match all source IP addresses.
Said 8× - Day 35 Lab Extended ACLs
16:021.1.1.1, with a /32 wildcard mask. Finally, the destination port. This is where we specify Telnet.
Said 3× - Day 28 Lab Configuring OSPF (3)
17:11101.0 /24 wildcard mask AREA 0. And then the serial0/0 interface.
Said 2× - Mega Lab Complete Network Configuration
75:49…K command to match the exact IP address of each interface. In other words, use the NETWORK command with a /32 wildcard mask, which is 0.0.0.0, to enable OSPF on each interface.
Said 2×
Related terms
Flashcards that test it
Jeremy's IT LabWhat is the wildcard mask for 255.255.248.0 (/21)?
0.0.7.255 (subtract each octet from 255).
Jeremy's IT LabWhat IP address and wildcard mask have the same effect as the any keyword in an ACL?
0.0.0.0 255.255.255.255.
Jeremy's IT LabIn an extended ACL, how must a single-host (/32) source or destination be written?
With the host keyword (host 1.1.1.1) or with a 0.0.0.0 wildcard mask. Unlike standard ACLs, you can't enter the bare address.