TCP/IP question,PLEASE!

  • Thread starter Thread starter Alon Brodski
  • Start date Start date
A

Alon Brodski

Hello world!

I wonder if someone could explain to me in simple English what subnet mask
is and how to apply it to IP address.
Second thing is...Is there an advantage of using L2TP (no IPSec) vs. PPTP?

--
Thanks in advance,

Yours truly,
Alon Brodski
P.S.Is there a good networking newsgroup?
 
I wonder if someone could explain to me in simple English what subnetis and how to apply it to IP address.

Alon:

The subnet mask is used to determine if subnetting is used.
Technically, it indicates if the host bits of the address are divided
between a subnet ID and a host ID.
 
[I hit the wrong button in previous post]
mask is and how to apply it to IP address.

Alon:

IMO, there is not a simple/easy way to explain/learn TCP/IP issues. It
requires some study (sometimes a lot).
Following are some thoughts on subnetting.

Primarily, the subnet mask is used to determine what the network address of
a subnet is.
For hosts to be in the same subnet, they must have the same network address.
If they are not in the same subnet, a router must be used to have
communication between the subnets.

A host address's components:
Network ID
Subnet ID
Host ID

Network address's components:
Network ID
Subnet ID
+ binary 0s for padding if necessary

Applying a subnet mask to a host address:
1) Convert each octect of the subnet mask into binary values:
Positions of the binary 1s in subnet mask correspond to positions of the
binary expression of the host address that are used for network ID & subnet
ID.
Positions of the binary 0s in subnet mask correspond to positions of the
binary expression of the host address that are used for host ID.

2) Ascertain Class code of host address:
Restricts certain octets to network ID only:
Class A: first octect is for network ID
Class B: first two octects are for network ID.
Class C: first three octects are for network ID
Remaining octets can be split between:
subnet ID (per 1s in subnet mask)
& host ID (per 0s in subnet mask)

Class codes and related address ranges:
Class A: 1-127.255.255.255
Class B: 128-191.255.255.255
Class C: 192-223.255.255.255

3) Per each octet of the subnet mask: (decimal viewpoint)
For a mask octet of 255: same host address octet is for network address
exclusively.
Can be network ID or subnet ID.
For a mask octet of 0: same host address octet is for host ID exclusively
For octets between 0 and 255: use a subnet calculator
(means octect is split between subnet ID and host ID)
For a subnet calculator: I use Net3Group's IP Subnet Calculator

4) Per each octet of the subnet mask: (binary viewpoint)
binary 1s: mask is for network address only (network ID + Subnet ID)
Use Class code to find demarcation point between them
binary 0s: mask is for host ID only


Another view of a subnet mask:
It is a masking system to represent how character positions should be used
to decrypt a host address into its components:
network ID (set by Class code)
subnet ID (set by subnet mask binary 1s after network ID)
host ID (set by subnet mask binary 0s)
 
Alon

If space travel was down to just lighting the blue touch paper and standing
well back, we would all be hyperspacing around in the Delta Quadrant trying
to avoid species 4792 and the Borg.. as you are aware, space travel is way
more complex than that, and so far we have only managed to walk on the moon,
and have aimed a few bits at the other pieces of rock that travel around our
sun.. space travel is complex, there being no simple explanation for
anything out there..

TCP/IP is a little like that.. the effect is that I can send stuff to you
without having to leave the house.. the mechanics, however, are not so
simple.. take a look at these.. the first link deals with TCP/IP and the
second with Subnet masks.. do NOT ask for clarification of any points raised
cuz I jus don't understand s#@t about it.. :)

http://www.yale.edu/pclt/COMM/TCPIP.HTM

http://compnetworking.about.com/library/weekly/aa043000a.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top