Hot Downloads



The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: ANDing problem

ANDing problem 12 years 11 months ago #13450

  • iana
  • iana's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 0
Hi guys,

Im having problems understanding ANDing, i know it is use by a router to send data packets,what i dont understand is, why a destination IP needs to be ANDs to its own subnet mask.

Help me

AND 12 years 11 months ago #13454

Hello iana
A destination IP address is ANDed with its subnet mask to let the router understand which part of the address identifies the destination network and which part identifies the target host.
For example:

IP address in binary is

Subnet mask is which in binary is

If you AND in binary then
0 AND 0 = 0
0 AND 1 = 0
1 AND 0 = 0
1 AND 1 = 1

So AND ing the IP Address and Subnet Mask allows the 'network' part of the destination address to filter through while surpressing the part that identifies the destination host:

00001010:00000001:00000001:00000001 AND
which identifies the destination network,

All the router then has to do is decide which interface it needs to forward the packet on to have it reach this destination network. Once on that network, the part of the address which identifies the host comes into play

Does that clear it up a bit?
  • Page:
  • 1
Time to create page: 0.095 seconds


Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V


  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup