Monday, August 24, 2009

Subnetting

(25 & 26 August 2009)
  • Merupakan satu rangkaian organisasi yg dibahagikan kepada subnetwork yg mna membenarkan sambungan ke internet dgn satu share network address
  • Merujuk kepada network yg besar
  • Group dan segment merupakan network
  • Tujuannya supaya network senang utk di kawal
  • Dari satu group besar yg di pecahkan menjadi group2 kecil
  • Apabila menggunakan subnetting ia blh mengurangkan data collusion(pelanggaran data)

Sebelum subnet
- Brodcast tinggi, data collusion tinggi, network performance rendah

Selepas subnet
- Brodcast rendah, data collusion rendah, network performance tinggi

p/s - bila komunikasi tidak berfungsi, periksa IP

=============================================

Latihan

8bit16bit24bit32bit
19216830


*1 obtec mempunyai 8 bit = 0000 0000

Guna 10 network
2 ^ n brapa dapat 10
2 ^ 4 = 16(lebin xpa)
*16 PC yg boleh masuk network

Bila n = 4, so 0000 0000 akan jadi 1111 0000
Jadi 24bit + 4 = 28 (Subnet)

Jawapan = 192.168.3.0/28

============================================

2 ^ n utk cari subnet
n = bil. bit 1
2 ^ x utk cari host
x = bil. bit 0

============================================

Latihan

192.168.5.0/xx (kelas C)
7 segment/group/network
- cari nilai xx
- bil. host

nilai xx
2 ^ n = 7
2 ^ 3 = 8 0000 0000 -> 1110 0000
24 + 3 = 27 (subnet)

Jawapan = 192.168.5.0/27

bil. host
2 ^ x = bil. host (bil. bit kosong)
2 ^ 5 = 32 host tolak 2 (Brodcast & Network Address)
= 30 host (PC y blh masuk network)

192.168.5.0/27 (kelas C)
bil.host = 32, bil.subnet = 8

Network AddressRangeBroadcast Address
01 - 3031
3232 - 6263
6465 - 9495
9697 - 126127
128129 - 158159
160161 - 190191
192193 - 222223

contoh IP

Network Address : 192.168.5.0/32/64/96

Brodcast Address : 192.168.5.31/63/96

Host : 192.168.5.1-30/32-62/65-94


nk cari 223(BOLD)
Network Address(NA)

= bil.host x (segment - 1)

= 32 x (7 - 1)

= 192


Brodcast Address(BA)
= NA + (bil.host - 1)
= 192 + (32 - 1)
= 223
============================================
Latihan

99.10.70.3/10 (kelas A)
cari sagment ke - 4

10 = 1111 1111.1100 0000.0000 0000.0000 0000
2 ^ x = bil. bit '0'
2 ^ 6 = 64 host

Network AddressRangeBrodcast Address
01 - 6263
6465 - 126127
128129 - 190191
192193 - 254255


sagment yg ke-4 (BOLD)
NA = 99.10.70.192
BA = 99.10.70.255

============================================

Task

4 server, 2 printer, 200 PC, 2 dept.(IT & Elec.)
Jwpn...

Server 1
IP Address bg S1
- 192.168.5.0
50PC dalam 1 server
IP Address range bg 50 PC ni
- 192.168.5.10 hingga 60

Server 2
IP Address bg S2
- 192.168.5.64
50PC dalam 1 server
IP Address range bg 50 PC ni
- 192.168.5.70 hingga 120
S1 & S2 mnggunakan 1 printer yg sama
IP Address bg printer P1 - 192.168.5.121
*utk IT Department

Server 3
IP Address bg S3
- 192.168.6.0
50PC dalam 1 server
IP Address range bg 50 PC ni
- 192.168.6.10 hingga 60

Server 4
IP Address bg S4
- 192.168.6.64
50PC dalam 1 server
IP Address range bg 50 PC ni
- 192.168.6.70 hingga 120

S3 & S4 mnggunakan 1 printer yg sama
IP Address bg printer P1
- 192.168.6.121

*utk Electrical Department
*network yg digunakan ialah 24 bit, jadi nombor IP yg di BOLD merupakan network bg 2 department.


rujukan : http://en.wikipedia.org/wiki/Subnetting

1 comment:

  1. Hi, I came across your site and wasn’t able to get an email address to contact you about some broken links on your site. Please email me back and I would be happy to point them out to you.

    Thanks!

    Frank
    frank641w@gmail.com

    ReplyDelete