You are on page 1of 49

ed on November 24, 2013 by Teav Chhun Nan

(Network) Network

Network

Subnet

IP (Class) :

binary
Subnet mask

Class A
1111111100000000 00000000 00000000
255.0.0.0
Class B

11111111 1111111100000000 00000000


255.255.0.0
Class C
11111111 11111111 1111111100000000
255.255.255.0
Subnet Mask Class A 255.0.0.0
bit
8 bits (
set 1) IP
bits

NetworkID Class A
( Class A 24 bits reset 0)


HostID
Subnetting
IP Class B 139.12.0.0 subnet mask 255.255.0.0 (:
139.12.0.0/16 16 16 bits NetworkID) Network
65,534 nodes computers (65,534 = (2^16) 2 )


broadcast traffic

Network Subnet

1/. Subnet mask


2/. (list) ID
Subnet
3/.
HostID Subnet


IP(IP address range)

1:

Subnet mask


4 binary ( 4 Subnet)
2 bits :
Y = 2^X
Y =
Subnet (=4)
X = bits (= 2)
Subnet mask
16 (bits
) + 2 (bits ) = 18 bits
IP 139.12.0.0/18 (

18
16 )
hosts

Subnet
: ((2^14) 2) = 16,382

hosts 4 Subnets : 16382 * 4 = 65,528 hosts


2: ID Subnet
IP (139.12.0.0/18) 18
18 bits 32 bit IP
address
IP Subnet

Subnet mask trong dng nh phn


Subnet mask
11111111 11111111 11000000 00000000
255.255.192.0
NetworkID
Subnets
:
Subnet
Subnet ID binary
Subnet ID

10001011.00001100.00000000.00000000

139.12.0.0/18

10001011.00001100.01000000.00000000

139.12.64.0/18

10001011.00001100.10000000.00000000

139.12.128.0/18

10001011.00001100.11000000.00000000

139.12.192.0/18
3: IP Address range
HostID Subnet

Subnet ID 18 bits

bits (32-18= 14)


HostID

Host ID bits 0 1
Subnet
HostID IP address binary
HostID IP address Range
10001011.00001100.00000000.0000000110001011.00001100.00111111.11111110
139.12.0.1/18 -139.12.63.254/18

10001011.00001100.01000000.0000000110001011.00001100.01111111.11111110
139.12.64.1/18 -139.12.127.254/18

10001011.00001100.10000000.0000000110001011.00001100.10111111.11111110
139.12.128.1/18 -139.12.191.254/18


10001011.00001100.11000000.0000000110001011.00001100.11111111.11111110
139.12.192.0/18 139.12.255.254/18
Posted in Network & Firewall |

Network Folder
Posted on November 20, 2013 by Teav Chhun Nan

Network Folder
Simple Watcher
folder

network folder (shared folder)


network



network folder


full control folder


network folder



freeware Simple Watcher


Simple Watcher


portable double-click


Simple Watcher



network folder

folder

browse folder

network drive

folder shared

network drive
folder subfolder

OK


local folder


network folder

network folder


alert




file text
folder
Simple Watcher File text
network folder

Log

Simple Watcher


Simple Watcher



Settings

Monitoring Tab






Notification tab
alert

Action Tab




.bat file, email, upload file FTP

copy files

Program Tab


settings Simple Watcher

Posted in Network & Firewall |


laptop Windows 8 Wifi
Posted on November 11, 2013 by Teav Chhun Nan


Windows 8



Windows 7 Protocol Ad-hoc
Windows 8

,

1:

- Key Windows + R ncpa.cpl



card

Properties

- tab
Sharing,







nternet
card
Internet

- OK v
2:

- Windows + X Command Prompt


Admin

Ok

- :

netsh wlan set hostednetwork mode=allow ssid=


key=

:
netsh wlan set hostednetwork mode=allow ssid=techz key=Pa$$w0rd

SSID

,


WPA2-PSK (AES)
- : netsh wlan start hostednetwork






: netsh wlan show hosted network
Posted in Network & Firewall |

VPN Server Windows 8
Posted on October 20, 2013 by Teav Chhun Nan

VPN Windows 8

: Modern UI Windows 8, key Windows + Q sidebar

ncpa.cpl
ncpa.cpl
Network Connections
Network Connections Desktop

: Alt

menu Network Connections, File,

New
Incoming Connection

Windows

VPN ,

VPN
, Add

someone, (User name), (Full name), (Password)

(Confirm password)

OK

, User accounts on this computer, Next

Next, Allow access,

Close

VPN Client Windows


7/8

Modern UI, Windows + Q, virtual private



Set up a virtual
private network (VPN) connnection

VPN

IP VPN Server Internet address,


VPN Destination name


VPN
, Connect

User name Password


VPN Server OK

Windows 7

Windows, vpn

Set up a virtual private network (VPN) connnection

IP VPN Server


VPN

Next



VPN Connect

Close

VPN,
Connect

VPN
Server VPN Server
\ IP
Posted in Network & Firewall |
Wi-Fi Network

: \192.168.120.128

Posted on September 30, 2013 by Teav Chhun Nan


Wi-Fi Network

Wi-Fi Laptop

.



Wireless


Wi-Fi

Wi-Fi
Wireless Laptop

? keyboard Fn + key wireless


.
Wireless Router
Restart

wireless
restart

wireless list

wireless router restart

adaptor router

wireless router

. Channel Wi-Fi Router wireless routers .GHz


channels channel channels
channels ,


channels router login router
browser Firefox Chrome
IP router 192.168.1.1 192.168.0.1 username password Router

IP
IP router Start => Run cmd
command prompt

ipconfig


IP router default

gateway

router RouterPasswords.com

password

modelrouter password

username password router


Wireless Channel

Wireless Router Wi-Fi signal



signal wireless router


(Laptop )

wireless router signal


wireless router



router





. Restore Setting Router


router

restore setting router
reset button router


restore setting

.
Driver


reset router
router

Wi-Fi

download driver

manufacture website

driver

download driver




model router

. Upgrade the Router Firmware


upgrade router
Firmware
download firmware router
browser router IP
192.168.1.1 192.168.0.1 ( IP

)

Browse file firmware


download

upload

Posted in Network & Firewall |

Network
Posted on August 31, 2013 by Teav Chhun Nan


NAS(Network Attached Storage)
network


Copy

CM

NAS

PC


LAN Speed Test



Download

Transfer 1MB/s Megabytes Per Second


Megabits Per Second



Mbps MBps


Transfer 40MB/s


Gigabit Ethernet

LAN Data Rate Units


Standard 100Mbps Ethernet
100 Mbps 100
megabits per second 12.5 megabytes per second(MBps or MB/s)
MBs

Gigabit router Gigabit
network card Computer
NAS

maximum speed

home network
12.5 MBps

4 MBps 8 MBps

1 MBps

computer
Gigabit Ethernet card

support Gigabit


Gigabit Ethernet card

computer

card

Gigabit Gigabit Ethernet


router switch

maximum transfer speed 1000 Mbps 125 MBps

30 60 MBps transfer
setup network

?

Transfer
speed
Ethernet network

speed Transfer

Hard Drive

Hard Drive
computer 5400 RPM

Transfer

configure RAID 0


SSD drives



100 MB/s Pretty Insane setups


network
Gigabit Ethernet

40MB/s

Read online

Hard Drive

Hard Drives (SATA 3.0GB/s) read speed 75MB/s


configure RAID 0,1, RAID 5
hardware
RAID controllers

Bus Speed

Hard Drives
data transfer hard drive motherboard Network Card Bus
speed

133 MB/s

older PCI bus


data transfer rate


Gigabit Ethernet Bus share

system

speed

PCI Express system


max of 250 MB/s

transfer file old computer





Gigabit Ethernet
card
transfer 125 MB/s

Network Cables

cables
cables

CAT 5 CAT 6
Hard Drive

range 30 80 MB/s

high number
RAID 0

Hardware controllers

Network



(NAS and PC) connect switch router
computer NAS
switch connect switch wireless routerSwitch router ports

bandwidth router
ports ports

data switch
router or hub

Posted in Network & Firewall |


IP Address Internet
Posted on August 26, 2013 by Teav Chhun Nan
IP Address

Internet

Internet



Wireless Internet

Wireless



Internet

Internet

Internet

Internet ?
Internet

Technitium Mac Address v6



Download

Internet
Technitium Mac Address v6

Internet Protocol v6 (Ipv6)Support

Window 7, Window 8(Developer Preview)32-bit


64-bit

Update

Update Network Card

Network
Network

Registry Window
Technitium Mac Address v6

(HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CEBFC1- 08002bE10318} \[ID of NIC e.g. 0001] )


Address

1. Technitium Mac Address v6

Network

2.Network

1. Information
Random MAC Address
2. Use 02 as first octet of MAC address
3. Change

Restore

IP Address Computer

Original


Internet


MAC Address Microsoft Network Bridge.

IP Address
Internet
Internet

Posted in Network & Firewall |


Network-
AdHoc Wireless
Posted on May 23, 2013 by Teav Chhun Nan

AdHoc Wireless


iPhone iPad


Windows Laptop

Iphone, iPad iPod Touch
?
AdHoc Wireless


Ad Hoc Wireless Window


Ad Hoc
peer to peer
Network (system)

iPhone, iPad iPod Touch


LAN Router

Ad Hoc Wireless

- Window XP/Vista/7/8-

Wireless Network Card (WLAN)


- iPhone, iPod Touch iPad



I.

Ad Hoc Network Windows
Windows XP
. Start menu Control Panel
.


Pick a category


Network and Internet

Connection
. Pick a Control Panel icon
Network Connections
. Mouse wireless network connection

Properties

. wireless Network Connection Properties


Tab Wireless Networks
. Tab Wireless Network

Preferred networks
.

Add

Wireless network properties



Tab Association


Ad Hoc Wireless
Network name (SSID)

Wireless
LogicNetwork
.
The key is provided for me automatically
. This is a computer-to-computer (ad hoc) network
.
Network key
network key

Confirm

OK

. OK


Windows Vista
. Start menu .

Connect to . Set up a connection or

network
. Set up a wireless Ad Hoc Network Next
. new network LogicNetwork
. Security key
.

Save this network

Windows 7
. Start menu

. Control Panel

Network

and Internet

. Network and Sharing


Center

. Change your networking setting Set up a new connection or network

Set up a wireless ad hoc( computer-to-computer) network

. Next

. Network name
Logicnetwork

.
Security WAP

( WEB)
. Security key or password
.




Save this network

.
Turn On Internet Connection Sharing

II.
iPhone iPad

. Setting

iPhone
. Wi-Fi
.
visible

ad hoc network name

.


ad hoc network name
.
IP address
169.254.xxx.xxx.
IP



IP ( IP

Address169.254.xxx.xxx.)
-
Static
IP Address

IP Address169.254.1.2
Subnet Mask 255.255.255.255
- IP Address169.254.1.2

1
2

0 255
IP Address






iPhone

Posted in Network & Firewall |
Network-

Posted on May 23, 2013 by Teav Chhun Nan


: host network address 172.16.45.14/30 address

subnetwork host ?

octet binary 00001110 6 bit octet subnet
subnetwork 172.16.45.12

binary 10011101
:

decimal
hexadecimal

10011101 = 128+0+0+16+8+4+0+1 = 157


hexadecimal
binary 10011101 : 1001 =

9
hexadecimal 0x9D
1101 = 13 D

16 9

13 D (0x9D = (169)+13 = 157)

binary 10110011 ?
:


binary 10110011
10110011
128 64 32 16 8 4 2 1
128 + 0 + 32 +16 + 0 + 0 +2 +1 = 179

: Class C network 10 subnet address

host subnet mask


?


2n-2


24-2 = 14 subnet subnet mask
4 bit subnetting

4 bit 255.255.255.240

: subnetwork host subnet /28 mask

210.10.2.0 class C network?


28 bit subnet mask (11111111.11111111.11111111.11110000)


class C
network 4 bit network

host 2n-2
4 bit

2x2x2x2-2
14 network 14 host

: subnet host IP address 172.16.210.0/22 ?



binary

logic

:
IP address 172.16.210.0 = 10101100.00010000.11010010.00000000
/22 mask = 11111111.11111111.11111100.00000000
AND = 11111111.11111111.11010000.00000000
AND decimal= 172 . 16 . 208 . 0

: subnet host IP address 201.100.5.68/28 ?


binary
logic :
IP address 201.100.5.68 = 11001001.01100100.00000101.01000100
/28 mask = 11111111.11111111.11111111.11000000
AND = 11001001.01100100.00000101.01000000

AND decimal= 200 . 100 . 5 . 64

172.12.0.0 class B address


459 host
: network

subnet

subnets mask ?

459 host host bit 9




510 host 9 bit host


bit octet

0 255.255.254.0 subnet mask

: ISP IP address subnet mask :

IP address: 199.141.27.0
Subnet mask: 255.255.255.240
addresses hosts subnet?

IP address = 11001000.10001101.00011011.00000000 = 199.141.27.0
Subnet mask = 11111111.11111111.11111111.11110000 = 255.255.255.240
Subnet # = 11001000.10001101.00011011.00000000 = 199.141.27.0
Broadcast = 11001000.10001101.00011011.00001111 = 199.141.27.15
The valid IP address range = 199.141.27.1 199.141.27.14

: IP network 210.106.14.0 subnet /24 mask networks host

address ?

subnet 24 bit 255.255.255.0

class C network subnet 1

network 254 host

: class B IP address network subnet masks 100

subnets 500 host address subnet?


2n-2

host addresses 29-2 = 510 host address 9-bit subnet mask

host address 9 bit host class B network

7 bit networks

2n-2
2n-2 = 126 network

: PC IP address 172.16.209.10 /22 subnet address

?

172.16.209.10/22 10101100.00010000.11010001
.00001010 network port 22 bits

logical AND

network address
10101100.00010000.110100001.00001010 network portion
address 172.16.208.0/22

: CIDR (classless inter domain routing) block

115.64.4.0/22 ISP IP addresses host?



115.64.4.0 = 01110011.01000000.00000100.00000000
Subnet mask = 11111111.11111111.11111100.00000000= 255.255.252.0
Subnet number = 01110011.01000000.00000100.00000000= 115.64.4.0 Broadcast =
01110011.01000000.00000111.11111111= 115.64.7.255
address range
= 115.64.4.1 115.64.7.254

:
-

HTML,CSS, Javascript, PHP, ASP.NET

Networking

Computer Repairing

iOS (
iPhone, iPAD)

0977778647-077778647-070778647

Email: chhunnan@gmail.com
Chat: yahoo, skype: chhunnan
www.itcambo.com
Posted in Network & Firewall |
Network- Subnetting
Posted on May 23, 2013 by Teav Chhun Nan


Binary Sub netting Class C:

subnet class C address


binary
bit
sub netting

subnet mask 255.255.255.192 192 = 11000000 bit sub netting 6 bit


host subnet


01

000000 = 64

10

000000 = 128

64 subnet
host

Subnet

Host

01

000000 = 64

Sub-network (
)

01

000001 = 65

host

01

111110 = 126

host

01

111111 = 127

Broadcast Address (
)


broadcast address

128 subnet host


broadcast address
Subnet

Host

10

000000 = 128

Sub-network (
)

10

000001 = 129

host

10

111110 = 190

host

10

111111 = 191

Broadcast Address (
)

Alternate Sub netting Class C:

subnet mask
subnet
host


broadcast address mask

:
1
subnet
subnet mask?
:


2
host
subnet?
:

3
: valid subnet?
4
: valid host subnet
?
5
: broadcast address subnet
?


subnet ? 2X 2 =
subnet X
mask
1
:

bit 1

11000000

22 2 = 2.

2 subnet

2
: host subnet ? 2 2 = host subnet X

unmasked bit
0

11000000 26 2 = 62

62 host subnet

valid subnet ? 256 Subnet mask = base number


3
:

256-

192 = 64

valid host
Valid host
subnet
4
:

?

1

subnet? Broadcast address host bit


5
:

broadcast address


6.2.3.3

subnet
Sub netting Class C Address:

1: 255.255.255.192

network address 192.168.10.0 subnet mask 255.255.255.192

192.168. 10 . 0 = Network address


255.255.255.192 = Subnet mask

:
-
subnet ?

192
2 bit on (11000000) 22 2 = 2 subnet

-
host subnet ?

6

6 bit off (11000000)


2 2 = 62 host

- valid subnet
?

256 192 = 64 subnet base number


subnet mask 64 + 64 = 128, 128 + 64 = 192

subnet bit turn on) invalid subnet


subnet mask (
64
128


valid host?

subnet
host
subnet address
broadcast address

subnet?

broadcast address
64
valid host

128 subnet

broadcast
address subnet

Subnet

Subnet

192.168.10.64 192.168.10.128
subnets (
)
192.168.10.65 192.168.10.129 Host
(host
addressing)
192.168.10.126 192.168.10.190 Host
192.168.10.127 192.168.10.191 broadcast address (
)
2: 255.255.255.224

network address 192.168.10.0 subnet mask

255.255.255.224
192.168.10 .0

= Network address

255.255.255.224 = Subnet mask


-
subnet ?

224 3 bit on (11100000) 23 2 = 6 subnet
-
host subnet?
5

5 bit off (11100000)


2 - 2 = 30 host

- valid subnet ?

256 224 = 32 subnet


subnet mask
base number

32 + 32 = 64, 64 + 32 = 96, 96 + 32 = 128, 128 + 32 = 160, 160 +

32 = 192, 192 + 32 = 224, 224 invalid


subnet
mask ( subnet bit
turn on)
-
valid host?




subnet

- broadcast address subnet?


subnets 255.255.255.224 Class C subnet mask

Subnet Subnet Subnet Subnet Subnet Subnet
1

32

64

96

128

160

192

subnet
address

33

65

97

129

161

193

valid host

62

94

126

158

190

222

valid host

63

95

127

159

191

223

broadcast
address

3: 255.255.255.240
192.168.10 .0

= Network address

255.255.255.240 = Subnet mask


240 (11110000)

binary 4

bit on Sub net 24 2 = 14 sub net

4 bit off host 24 2 = 14 host per sub net.

IP = 256 240 = 16

16 + 16 = 32, 32 + 16 = 48, 48 + 16 = 64, 64 +16 = 80, 80 + 16 = 96, 96 + 16 = 112, 112 + 16 = 128,


128 + 16 = 144, 144 +16 = 160, 160 + 16 = 176, 176 + 16 = 192, 192 + 16 = 208, 208 + 16 = 224,
224 + 16 = 240

valid host
?


subnet ?
broadcast address
Subnet

16

32

48

64

80

96

112

Host

17

33

49

65

81

97

113

Host 30

46

62

78

94

110

126

Broadcast

31

47

63

79

95

111

127

Subnet

128

144

160

176

192

208

224

Host

129

145

161

177

193

209

225

Host 142

158

174

190

206

222

238

Broadcast

159

175

191

207

223

239

143

4: 255.255.255.248
192.168.10 .0

= Network address

255.255.255.248 = Subnet mask


5: 255.255.255.252
192.168.10 .0

= Network address

255.255.255.252 = Subnet mask

Sub netting Class B Address:

Class C sub net

sub netting Class B network

Class B subnet mask


subnet


Class C network address
255.255.192.0
255.255.224.0
255.255.240.0
255.255.248.0
255.255.252.0
255.255.255.0
255.255.255.128
255.255.255.192
255.255.255.224
255.255.255.240
255.255.255.248
255.255.255.252
Class B network address 16 bit host addressing

16 bit sub netting

bit host addressing sub netting Class B

network Class C network 255


broadcast octet


1: 255.255.192.0
176.16 .0

.0 = Network address

255.255.192.0 = Subnet mask


Valid subnet = 22 2 = 2

Valid host subnet = 214 2 = 16,382

IP = 256 192 = 64; 64 + 64 = 128; 128 +64 = 192


broadcast addresses 5

4
host

address
broadcast address subnet

subnet
subnet valid host

broadcast address

Subnet

172.16.64.0

172.16.128.0

Host

172.16.64.1

172.16.128.1

Host 172.16.127.254 172.16.191.254


Broadcast

172.16.127.255 172.16.191.255

2: 255.255.240.0
172.12 .0

.0 = Network address

255.255.240.0 = Subnet mask


24 2 = 14
212 2 = 4,094
256 240 = 16, 16+16 = 32, 32+16 = 48, 48 +16 = 64,.. 240
broadcast address 5 4 host address
broadcast address subnet

subnet
3 subnet valid host broadcast address Class B 255.255.240.0 mask
Subnet

172.12.16.0

172.12.32.0

172.12.48.0

Host

172.12.16.1

172.12.32.1

172.12.48.1

Host 172.12.31.254 172.12.47.254 172.12.63.254

Broadcast

172.12.31.255 172.12.47.255 172.12.63.255

3: 255.255.254.0
172.12 .0

.0 = Network address

255.255.254.0 = Subnet mask


27 2 = 126
29 2 = 510
256 254 = 2, 4, 6, 8, 10, 12 254
broadcast address 5 4 by host
address
broadcast address subnet


Subnet

172.12.2.0

172.12.4.0

172.12.6.0

172.12.8.0

Host

172.12.2.1

172.12.4.1

172.12.6.1

172.12.8.1

Host 172.12.3.254 172.12.5.254 172.12.7.254 172.12.9.254


Broadcast

172.12.3.255 172.12.5.255 172.12.7.255 172.12.9.255

4:
172.12 .0

.0 = Network address

255.255.255.0 Subnet mask


255.255.255.0
Class C subnet mask Class B subnet mask 8 bit sub netting
Sub netting address
:
28 2 = 254 subnet
28 2 = 254 Hosts per subnet
256 255 = 1, 2, 3, 4, 5, 6, etc, up to 255

broadcast address 5 4 host address


broadcast address subnet
subnet valid hosts
broadcast address Class B 255.255.255.0 mask
Subnet

1.0

2.0

3.0

254.0

Host

1.1

2.1

3.1

254.1

Host 1.254

2.254

3.254

254.254

Broadcast

2.255

3.255

254.255

1.255

5: 255.255.255.128
29 2 = 510 subnet
27 2 = 126 Hosts per subnet
256 128 = 128.
broadcast address 5 4 host address
broadcast address subnet

subnet valid host broadcast addresses
Class B 255.255.255.128 mask
Subnet

0.128 1.0

1.128 2.0

2.128 3.0

3.128

Host

0.129 1.1

1.129 2.1

2.129 3.1

3.129

Host 0.254 1.126 1.254 2.126 2.254 3.126 3.254


Broadcast

0.255 1.127 1.255 2.127 2.255 3.127 3.255

You might also like