Networking Forums

Networking Forums > Computer Networking > Linux Networking > masking question

Reply
Thread Tools Display Modes

masking question

 
 
alexk
Guest
Posts: n/a

 
      12-24-2004, 09:30 PM
Hi,

I have the following table (it's from a book, not a real output):

Destination interface
0.1.0/18 eth0
0.2/12 eth1
etc

The (18) and (12) are masks, however, I don't understand to which part
of the address it applies. Does any one have a clue what the author
means ?
is 18 masked with the last 0, while 12 is maked with the 2 ?
Thank you great deal,
Alex

 
Reply With Quote
 
 
 
 
prg
Guest
Posts: n/a

 
      12-24-2004, 11:12 PM

alexk wrote:
> Hi,
>
> I have the following table (it's from a book, not a real output):
>
> Destination interface
> 0.1.0/18 eth0
> 0.2/12 eth1
> etc


Both of the above are missing octets of the address. Ie.,
x.0.1.0 is miissing the first and x.x.0.2 is missing the first two.

> The (18) and (12) are masks, however, I don't understand to which

part
> of the address it applies. Does any one have a clue what the author
> means ?


This is called CIDR (Classless InterDomain Route notation) and the
number after the slash tells how many leading bits (of the 32 total)
make up the network address (yes, networks have IP addresses too).

> is 18 masked with the last 0, while 12 is maked with the 2 ?
> Thank you great deal,
> Alex


See eg.,
http://en.wikipedia.org/wiki/Classle...domain_routing
CIDR Notation
More info here:
http://infocenter.guardiandigital.co...DDS/node9.html
http://public.pacbell.net/dedicated/cidr.html

Google:
about 35,200 English pages for CIDR notation
hth,
prg
email above disabled

 
Reply With Quote
 
alexk
Guest
Posts: n/a

 
      12-25-2004, 11:56 AM
Thanks a lot, now it's clear.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Autofs home dirs over NFS without masking local ones? Michael B Allen Linux Networking 4 04-23-2007 01:55 PM
Skip the PW question: I got that, question now about "Home" Tim Wilson Network Routers 1 12-31-2005 04:01 AM
Switch Question - restate previous question w/no subject SEAN J Windows Networking 2 11-30-2005 02:42 PM
Dell 2300 TrueMobile router question/ general wireless question Craig Wireless Internet 2 01-11-2004 06:26 PM



1 2 3 4 5 6 7 8 9 10 11