Posts Tagged ‘ boolean

ANDing IP Address Subnets 22 July 2008 at 10:35 am by admin

ANDing: (Boolean and)

Computers use digital logic to interpret IP addresses
This logic is called a Boolean AND. It is the comparison of two bits to yield:

1 & 1 = 1
1 & 0 = 0
0 & 1 = 0
0 & 0 = 0

Any # ANDed with 0 is always 0
Any # ANDed with 1 is always the original #
The ANDing of an IP address & mask = network address
A subnet mask “masks” the host bits of an IP address
Routers and hosts use ANDing to determine networks
It is frequently necessary to be able to use ANDing
You will need to know how routers make routing decisions
Start with the IP address & mask above/below each other

10101100.00010000.00010100.00100011 172.16.24.35 (Host)
11111111.11111111.11111111.111 00000 255.255.255.224
——————————————————
10101100.00010000.00010100.00100000 172.16.23.32 (network address for
host /27)

Read the rest of this entry →

Tags: vlan, ip, wan, cisco, study, switch