To find Network ID and Host ID
192.168.100.1/31
Default subnet = /24 there 24 bits 1
= 11111111 11111111 11111111 00000000
= 255.255.255.0
There 31 bits 1 in subnet mask = 11111111 11111111 1111111 11111110
decimal = 255.255.255.254
To find Network ID = Count bit 1 in the octet that there is not in the default subnet octet
111111111 11111111 11111111 11111110
2^7 = 128 network
To find Host ID = Count bit 0
2^1 = 2 host
Friday, 24 June 2011
How to Find Network Address
To find Network address
IP Address
AND
Subnet Mask
Network Address
IP address = 192.168.100.0
Subnet Mask = 255.255.255.0
192.168.100.0 (decimal) ---> 11000000 10101000 01100100 00000000 (binary)
255.255.255.0 (decimal) ---> 11111111 1111111 1111111 000000 (binary)
11000000 10101000 01100100 00000000
AND 11111111 11111111 11111111 00000000
11000000 10101000 01100100 00000000
110000000 10101000 01100100 0000000 = 192.168.100.0
IP Address
AND
Subnet Mask
Network Address
IP address = 192.168.100.0
Subnet Mask = 255.255.255.0
192.168.100.0 (decimal) ---> 11000000 10101000 01100100 00000000 (binary)
255.255.255.0 (decimal) ---> 11111111 1111111 1111111 000000 (binary)
11000000 10101000 01100100 00000000
AND 11111111 11111111 11111111 00000000
11000000 10101000 01100100 00000000
110000000 10101000 01100100 0000000 = 192.168.100.0
Thursday, 23 June 2011
Subnet Network
Class | Default Subnet | Network ID | Host ID | CIDR |
A | 255.0.0.0 | w | x.y.z | /8 |
B | 255.255.0.0 | w.x | y.z | /16 |
C | 255.255.255.0 | w.x.y | z | /24 |
Tuesday, 21 June 2011
IPV6
In the coming year, as an increasing number of cell phones, PDAs, and other electronic consumer expand their networking capability, the IPV4 address space will likely run out.
IPV6 addresses are 16 bytes (128 bits).
IPV6 addresses are generally written in the following form:
HHHH:HHHH:HHHH:HHHH:HHHH:HHHH:HHHH:HHHH
In the full notation, pair of IPV6 bytes are separated by a colon and each bytes in turns is represented as a pair of hexadecimal number like in the following example:
E3D7:0000:0000: 88F4: 6F3E:712A:9871
IPV6 addresses are 16 bytes (128 bits).
IPV6 addresses are generally written in the following form:
HHHH:HHHH:HHHH:HHHH:HHHH:HHHH:HHHH:HHHH
In the full notation, pair of IPV6 bytes are separated by a colon and each bytes in turns is represented as a pair of hexadecimal number like in the following example:
E3D7:0000:0000: 88F4: 6F3E:712A:9871
IPV4
An IPV4 is consisting of four bytes (32 bits). These bytes also known as octet.
For readability purposes, human typically work with IP addresses in notation called dotted decimal. IP address that computer see as:
00001010 00000000 00000000 00000001
Is written dotted decimal as:
10.0.0.1
For readability purposes, human typically work with IP addresses in notation called dotted decimal. IP address that computer see as:
00001010 00000000 00000000 00000001
Is written dotted decimal as:
10.0.0.1
IP Address
IP addresses are broken into 4 octet (IPV4) separated by dotted decimal notation.An octet is a byte consisting of 8 bits. There are two parts of an IP address:
The addressing scheme for class A through E network is shown below.
There are some network addresses reserved for private use. There are three sets of addresses reserved:
- Network ID
- Host ID
The various classes of networks specify additional and fewer octet to designate the network ID versus host ID
Class A-E NetworksThe addressing scheme for class A through E network is shown below.
There are some network addresses reserved for private use. There are three sets of addresses reserved:
- 10.x.x.x
- 172.16.x.x. - 172.31.x.x
- 192.168.x.x
- 127.0.0.1 - The loopback interface address. All 127.x.x.x address are used by the loopback interface
- 0.0.0.0 - Thi is reserved for host that do not know their address and and use BOOTP or DHCP protocols to determine their addresses
- 255 - The value of 255 is never used as an address for any part of IP address. It is reserved for broadcasting address .
Thursday, 16 June 2011
Basic Data Communication
Component data communication
- Sender
- Receiver
- Protocol
- Medium
- Message
- Equipment
![]() |
| Component of data communication |
Types of Message:
- Text
- Video
- Audio
- Image
- Etc ...
Examples of medium:
- Unshielded Twisted Pair (UTP).
- Shielded Twisted Pair (STP)
- Fiber Optic
- Bluetooth
- Infrared
- Wireless
- Etc..
Equipment consists of:
- Computer
- Bridge - Device filters data traffic, reduce the amount of traffics on a LAN by dividing into 2 segments.
- Router - A device that forwards data packets along network, perform the data "traffic directing" functions.
- Hub - Commonly used to connect segments on LAN, serves simply as a conduit for the data, enabling data to go from one device (or segment) to another.
- Switch - Device that filters and forwards packets between LAN segments.
- Modem - Modulate outgoing digital signals from a computer or other digital device to analog signals for a conventional cooper twisted pair telephone line and demodulates the incoming analog-signal and converts its to a digital signal for the digital device.
Switch VS Hub
Hub
Pass on traffic to network regardless of the intended destination; the PCs which the packets are sent use the address information in each packet to work out which packets are meant for them.
Switch
Control the flow of the network traffics based on the address information in each packet. A switch learns which devices are connected to its network and forwards on packets to the appropriate port only.
Switch VS Bridge
Bridge
Has only two ports and divides a collision domain into two parts. All decisions made by a bridge based on MAC or layer 2 address addressing. A bridge will create more collision domain.
Switch
A fast multi-port bridge. Rather than creating two collision domains, each port creates its own collision domain.
Subscribe to:
Posts (Atom)
