LAN Technologies and Subnetting in Networking

undefined
 
 
1
 
References:
 
CCNA Curriculum
 
CCNA Command Quick Reference by Scott Epson
 
 
E
x
a
m
p
l
e
 
c
o
n
v
e
r
t
 
t
h
e
 
d
e
c
i
m
a
l
 
n
u
m
b
e
r
 
1
9
8
 
t
o
b
i
n
a
r
y
 
n
u
m
b
e
r
?
 
2
 
The binary number is the
reminder written from the
bottom to the top
 
Decimal: 198
Binary: 11000110
 
Converting the binary number 11000110 to decimal
number
 
3
 
Class A
 
 
 
 
Class B
 
 
 
Class C
 
4
 
5
 
The first address ( xxx.xxx.xxx.0) & the last address (xxx.xxx.xxx.111) are reserved for the
network
 ( xxx.xxx.xxx.0) for the network & (xxx.xxx.xxx.111)  for broadcasting
 
6
N
e
t
w
o
r
k
 
A
d
d
r
e
s
s
:
 
7
2
.
0
.
0
.
0
 
Host1: 72.167.98.77
 
Host2: 72.167.98.70
 
Host3: 72.167.98.75
 
Host4: 72.167.98.71
 
W
h
a
t
 
i
s
 
t
h
e
 
N
e
t
w
o
r
k
 
a
d
d
r
e
s
s
?
7
2
.
0
.
0
.
0
 
T
o
 
w
h
i
c
h
 
c
l
a
s
s
 
t
h
i
s
 
n
e
t
w
o
r
k
 
b
e
l
o
n
g
s
?
C
l
a
s
s
 
A
 
b
e
c
a
u
s
e
 
n
e
t
w
o
r
k
 
n
u
m
b
e
r
 
=
 
7
2
7
2
 
ϵ
 
{
1
-
1
2
6
}
 
W
h
a
t
 
i
s
 
t
h
e
 
b
r
o
a
d
c
a
s
t
 
a
d
d
r
e
s
s
?
7
2
.
2
5
5
.
2
5
5
.
2
5
5
 
W
h
a
t
 
i
s
 
t
h
e
 
I
P
 
a
d
d
r
e
s
s
e
s
 
o
f
 
t
h
e
 
h
o
s
t
s
?
I
P
 
A
d
d
r
e
s
s
 
o
f
 
h
o
s
t
1
:
 
7
2
.
1
6
7
.
9
8
.
7
7
I
P
 
A
d
d
r
e
s
s
 
o
f
 
h
o
s
t
2
:
 
7
2
.
1
6
7
.
9
8
.
7
0
I
P
 
A
d
d
r
e
s
s
 
o
f
 
h
o
s
t
3
:
 
7
2
.
1
6
7
.
9
8
.
7
5
I
P
 
A
d
d
r
e
s
s
 
o
f
 
h
o
s
t
4
:
 
7
2
.
1
6
7
.
9
8
.
7
1
 
LAN
 
Subnetting is the process of borrowing bits from
the HOST bits, in order to divide the larger
network into small subnets.
 
S
u
b
n
e
t
t
i
n
g
 
d
o
e
s
 
N
O
T
 
g
i
v
e
 
y
o
u
 
m
o
r
e
 
h
o
s
t
s
,
 
b
u
t
a
c
t
u
a
l
l
y
 
c
o
s
t
s
 
y
o
u
 
h
o
s
t
s
 
(
d
e
c
r
e
a
s
e
 
n
u
m
b
e
r
 
o
f
h
o
s
t
s
)
.
 
You lose two host IP Addresses for each subnet,
and 
perhaps
 one for the subnet IP address and
one for the subnet broadcast IP address.
 
7
 
A company uses two or more types of LAN technology (for
example, Ethernet, Token Ring) on their network or
different physical media (such as Ethernet, FDDI, WAN,
etc.)
Two network segments are restricted by distance
limitations (for example, remote offices linked via point-to-
point circuit).
Segments need to be localized for network management
reasons (accounting segment, sales segment, etc.).
Hosts which dominate most of the LAN bandwidth need to
be isolated.
Security.
T
h
e
 
m
o
s
t
 
c
o
m
m
o
n
 
r
e
a
s
o
n
 
i
s
 
t
o
 
c
o
n
t
r
o
l
 
n
e
t
w
o
r
k
 
t
r
a
f
f
i
c
.
 
8
 
The IP address is split into a network and
host portion.
The network portion always remains fixed for
a particular network, while the remaining bits
which make up the host portion can be
altered to give the range of addresses to
assign to hosts.
To determine where the network portion ends
and the host portion begins, a subnet mask
is used.
 
9
 
Given the following IP address 38.9.211.19 with a
subnet mask of 255.255.255.240 determine:
1.
Network Address
2.
Default subnet mask
3.
Broadcast address of the network
4.
Subnet ID
5.
Broadcast address of the subnet.
6.
First & last host address in the subnet.
 
 
 
 
 
10
 
1.
Network Address
To determine the network address we have to
determine the class of the IP address
3
8
.
9
.
2
1
1
.
0
 
 
3
8
 
ϵ
 
{
1
-
1
2
6
}
 
C
l
a
s
s
 
A
In class A network portion is the first octet & the
remaining three octets for the host are zeros.
N
e
t
w
o
r
k
 
A
d
d
r
e
s
s
:
 
3
8
.
0
.
0
.
0
 
11
 
2.
Default subnet mask
 
F
o
r
 
C
l
a
s
s
 
A
 
a
d
d
r
e
s
s
e
s
,
 
d
e
f
a
u
l
t
 
s
u
b
n
e
t
 
m
a
s
k
 
i
s
:
 
2
5
5
.
0
.
0
.
0
 
3.
Broadcast address of the network
 
C
h
a
n
g
i
n
g
 
a
l
l
 
t
h
e
 
h
o
s
t
 
b
i
t
s
 
t
o
 
1
 
g
i
v
e
 
y
o
u
 
t
h
e
 
b
r
o
a
d
 
c
a
s
t
a
d
d
r
e
s
s
:
 Broadcast Address  = 38.255.255.255
 
12
 
4.
Subnet ID:
 
F
i
r
s
t
:
 
D
e
t
e
r
m
i
n
e
 
t
h
e
 
f
o
l
l
o
w
i
n
g
 
b
i
t
s
 
i
n
 
t
h
e
 
f
o
l
l
o
w
i
n
g
 
o
r
d
e
r
:
Network portion (N) (Fixed depends on the IP class)
Subnet portion (S) (From the end of the network portion to the last bit
in the mask with the value 1)
Host portion (H) (The remaining bits after the subnet portion)
 
 
 
IP       00100110.00001001.11010011 . 00010011
Mask  
11111111 .
 
11111111 . 11111111  .1111
0000
 
13
 
N = 8
 
H=4
 
S = 20
 
 
S
e
c
o
n
d
:
Do the AND operation between the IP address & the mask
 
 
IP               00100110.00001001.11010011 . 00010011
Mask
          
11111111 .
 
11111111 . 11111111  .1111
0000
                  ______________________________________________
 
Subnet ID  00100110.00001001.11010011 . 00010000
 
Subnet ID in decimal =  
38.9.211.16
 
 
 
14
 
AND
 
5.
Broadcast address of the subnet.
To get the broad cast address replace the host bits in
the subnet ID with 1s
 
Subnet ID  00100110.00001001.11010011 . 0001
0000
 
Broadcast Address 
00100110.00001001.11010011 . 0001
1111
 
Broadcast Address in decimal 
38.9.211.31
 
15
 
Host bits
 
6.
First & last host address in the subnet.
 
To get the first address replace all the host bits with zeros
except the last bit replace it with one as follows:
 
 
    Subnet ID  00100110.00001001.11010011 . 0001
0000
 
 
First Host Address  
00100110.00001001.11010011 . 0001
0001
 
First Host Address in decimal 
38.9.211.17
 
16
 
Host bits
 
Host bits
 
6.
First & last host address in the subnet.
 
To get the last address replace all the host bits with ones
except the last bit replace it with zero as follows:
 
 
    Subnet ID  00100110.00001001.11010011 . 0001
0000
 
 
Last Host Address  
00100110.00001001.11010011 . 0001
1110
 
Last Host Address in decimal 
38.9.211.30
 
17
 
Host bits
 
Host bits
 
IP                           = 
10110110. 11111010.
11001000.00011
100
SM                         = 
11111111.11111111.
11111111.11111
000
 
 
Class of the IP is  B
Network Address= 
10110110. 11111010.
00000000.00000
000
Default Subnet Mask of the IP = 11111111.11111111.00000000.00000000
Broadcast address of the network =  
10110110. 11111010.
11111111.11111111
Subnet ID              = 
10110110. 11111010.11001000.00011
000
Broadcast address of the subnet  = 10110110. 11111010.11001000.00011
111
First IP address      = 10110110. 11111010.11001000. 00011
001
Last IP address       = 10110110. 11111010.11001000. 00011
110
 
 
 
 
 
 
 
18
 
N = 16
 
S
N
 
=
 
1
3
 
H= 3
 
IP                           = 
182.250.200.28
SM                         = 
255.255.255.248
Class of the IP is  B
Network Address= 182.250.0.0
Default Subnet Mask of the IP = 255.255.0.0
Broadcast address of the network =  182.250.255.255
Subnet ID              = 182.250.200.024
Broadcast address of the subnet  = 182.250.200.31
First IP address      = 182.250.200.025
Last IP address       = 182.250.200.030
 
 
 
 
19
 
20
S
u
b
n
e
t
 
I
D
:
 
1
8
2
.
2
5
0
.
2
0
0
.
0
2
4
N
e
t
w
o
r
k
 
A
d
d
r
e
s
s
:
 
1
8
2
.
2
5
0
.
0
.
0
F
i
r
s
t
 
I
P
:
 
1
8
2
.
2
5
0
.
2
0
0
.
0
2
5
L
a
s
t
 
I
P
:
 
1
8
2
.
2
5
0
.
2
0
0
.
0
3
0
 
Public IP addresses 
are unique and it must be
obtained from an Internet service provider (ISP)
 
RFC 1918 sets aside three blocks of 
IP addresses
for private
, internal use. These three blocks consist
of one Class A, a range of Class B addresses, and a
range of Class C addresses. Addresses that fall
within these ranges are not routed on the Internet
backbone. Internet routers immediately discard
private addresses.
 
 
21
 
If addressing a nonpublic intranet, a test lab, or a home
network, private addresses can be used instead of
globally unique addresses.
 
 
Connecting a network using private addresses to the
Internet requires translation of the private addresses to
public addresses. This translation process is referred to
as Network Address Translation (
NAT
).
 
22
undefined
 
23
Slide Note
Embed
Share

Subnetting involves dividing larger networks into smaller subnets by borrowing bits from HOST bits. This process does not increase the number of hosts but instead decreases hosts by losing two host IP addresses for each subnet. Different LAN technologies like Ethernet and Token Ring are used in networks for various reasons such as isolating hosts that consume most of the LAN bandwidth.

  • LAN Technologies
  • Subnetting
  • Networking
  • Ethernet
  • Token Ring

Uploaded on Sep 29, 2024 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. References: CCNA Curriculum CCNA Command Quick Reference by Scott Epson 1

  2. Example convert the decimal number 198 to binary number? Reminder Decimal Number Divisor reminder written from the The binary number is the 0 2 198 Decimal: 198 Binary: 11000110 bottom to the top 1 2 99 1 2 49 0 2 24 0 2 12 0 2 6 1 2 3 1 2 1 0 2

  3. Converting the binary number 11000110 to decimal number 1 1 0 0 0 1 1 0 1 x 27 + 1 x 26 + 0 x 25 + 0 x 24 + 0 x 23 + 1 x 22 + 1 x 21 + 0 x 20 128 + 64 + 0 + 0 + 0 + 4 + 2 + 0 Decimal Number = 198 3

  4. Class A Class B Class C 4

  5. Number of Hosts * First octet Number of Networks Class Example Network Part Host part 12.240.60.89 (23*23*23)-2 = 16777214 A 1-126 xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx 126 127.8.90.2 130.240.60.89 (23*23)-2 = 65,534 B 128-191 xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx 16,384 191.8.90.2 192.240.60.89 (23)-2 = 254 C 192-223 xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx 2 million 223.8.90.2 The first address ( xxx.xxx.xxx.0) & the last address (xxx.xxx.xxx.111) are reserved for the network ( xxx.xxx.xxx.0) for the network & (xxx.xxx.xxx.111) for broadcasting 5

  6. Network Address: 72.0.0.0 What is the Network address? 72.0.0.0 Host2: 72.167.98.70 Host1: 72.167.98.77 To which class this network belongs? Class A because network number = 72 72 {1-126} Host4: 72.167.98.71 Host3: 72.167.98.75 What is the broadcast address? 72.255.255.255 What is the IP addresses of the hosts? IP Address of host1: 72.167.98.77 IP Address of host2: 72.167.98.70 IP Address of host3: 72.167.98.75 IP Address of host4: 72.167.98.71 LAN 6

  7. Subnetting is the process of borrowing bits from the HOST bits, in order to divide the larger network into small subnets. Subnetting does NOT give you more hosts, but actually costs you hosts (decrease number of hosts). You lose two host IP Addresses for each subnet, and perhaps one for the subnet IP address and one for the subnet broadcast IP address. 7

  8. A company uses two or more types of LAN technology (for example, Ethernet, Token Ring) on their network or different physical media (such as Ethernet, FDDI, WAN, etc.) Two network segments are restricted by distance limitations (for example, remote offices linked via point-to- point circuit). Segments need to be localized for network management reasons (accounting segment, sales segment, etc.). Hosts which dominate most of the LAN bandwidth need to be isolated. Security. The most common reason is to control network traffic. 8

  9. The IP address is split into a network and host portion. The network portion always remains fixed for a particular network, while the remaining bits which make up the host portion can be altered to give the range of addresses to assign to hosts. To determine where the network portion ends and the host portion begins, a subnet mask is used. 9

  10. Given the following IP address 38.9.211.19 with a subnet mask of 255.255.255.240 determine: 1. Network Address 2. Default subnet mask 3. Broadcast address of the network 4. Subnet ID 5. Broadcast address of the subnet. 6. First & last host address in the subnet. 10

  11. 1. Network Address To determine the network address we have to determine the class of the IP address 38.9.211.0 38 {1-126} Class A In class A network portion is the first octet & the remaining three octets for the host are zeros. Network Address: 38.0.0.0 11

  12. 2. Default subnet mask For Class A addresses, default subnet mask is: 255.0.0.0 3. Broadcast address of the network Changing all the host bits to 1 give you the broad cast address: Broadcast Address = 38.255.255.255 12

  13. 4. Subnet ID: First: Determine the following bits in the following order: Network portion (N) (Fixed depends on the IP class) Subnet portion (S) (From the end of the network portion to the last bit in the mask with the value 1) Host portion (H) (The remaining bits after the subnet portion) S = 20 H=4 N = 8 IP 00100110.00001001.11010011 . 00010011 Mask 11111111 . 11111111 . 11111111 .11110000 13

  14. Second: Do the AND operation between the IP address & the mask IP 00100110.00001001.11010011 . 00010011 Mask 11111111 . 11111111 . 11111111 .11110000 ______________________________________________ AND Subnet ID 00100110.00001001.11010011 . 00010000 Subnet ID in decimal = 38.9.211.16 14

  15. 5. Broadcast address of the subnet. To get the broad cast address replace the host bits in the subnet ID with 1s Host bits Subnet ID 00100110.00001001.11010011 . 00010000 Broadcast Address 00100110.00001001.11010011 . 00011111 Broadcast Address in decimal 38.9.211.31 15

  16. 6. First & last host address in the subnet. To get the first address replace all the host bits with zeros except the last bit replace it with one as follows: Host bits Subnet ID 00100110.00001001.11010011 . 00010000 Host bits First Host Address 00100110.00001001.11010011 . 00010001 First Host Address in decimal 38.9.211.17 16

  17. 6. First & last host address in the subnet. To get the last address replace all the host bits with ones except the last bit replace it with zero as follows: Host bits Subnet ID 00100110.00001001.11010011 . 00010000 Host bits Last Host Address 00100110.00001001.11010011 . 00011110 Last Host Address in decimal 38.9.211.30 17

  18. IP = 10110110. 11111010.11001000.00011100 SM = 11111111.11111111.11111111.11111000 SN = 13 H= 3 N = 16 Class of the IP is B Network Address= 10110110. 11111010.00000000.00000000 Default Subnet Mask of the IP = 11111111.11111111.00000000.00000000 Broadcast address of the network = 10110110. 11111010.11111111.11111111 Subnet ID = 10110110. 11111010.11001000.00011000 Broadcast address of the subnet = 10110110. 11111010.11001000.00011111 First IP address = 10110110. 11111010.11001000. 00011001 Last IP address = 10110110. 11111010.11001000. 00011110 18

  19. IP = 182.250.200.28 SM = 255.255.255.248 Class of the IP is B Network Address= 182.250.0.0 Default Subnet Mask of the IP = 255.255.0.0 Broadcast address of the network = 182.250.255.255 Subnet ID = 182.250.200.024 Broadcast address of the subnet = 182.250.200.31 First IP address = 182.250.200.025 Last IP address = 182.250.200.030 19

  20. Subnet ID: 182.250.200.024 First IP: 182.250.200.025 Last IP: 182.250.200.030 Network Address: 182.250.0.0 20

  21. Public IP addresses are unique and it must be obtained from an Internet service provider (ISP) RFC 1918 sets aside three blocks of IP addresses for private, internal use. These three blocks consist of one Class A, a range of Class B addresses, and a range of Class C addresses. Addresses that fall within these ranges are not routed on the Internet backbone. Internet routers immediately discard private addresses. 21

  22. If addressing a nonpublic intranet, a test lab, or a home network, private addresses can be used instead of globally unique addresses. Connecting a network using private addresses to the Internet requires translation of the private addresses to public addresses. This translation process is referred to as Network Address Translation (NAT). 22

  23. 23

More Related Content

giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#