ip address classes how large is the network part in an ip address? today we use network masks to...

9
IP Address Classes • How large is the network part in an IP address? • Today we use network masks to tell • Originally, IP had address classes with fixed numbers of bits in the network part – Class A: 8 bits (24 bits in local part) – Class B: 16 bits (16 bits in local part) – Class C: 24 bits (8 bits in local part)

Upload: eugene-chambers

Post on 23-Dec-2015

215 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: IP Address Classes How large is the network part in an IP address? Today we use network masks to tell Originally, IP had address classes with fixed numbers

IP Address Classes

• How large is the network part in an IP address?

• Today we use network masks to tell• Originally, IP had address classes with

fixed numbers of bits in the network part– Class A: 8 bits (24 bits in local part)– Class B: 16 bits (16 bits in local part)– Class C: 24 bits (8 bits in local part)

Page 2: IP Address Classes How large is the network part in an IP address? Today we use network masks to tell Originally, IP had address classes with fixed numbers

Class A IP Address

• IP address begins with 0

• 7 remaining bits in network part– Only 128 possible Class A networks

• 24 bits in local part– Over 16 million hosts per Class A network!

• All Class A network parts are assigned or reserved

Page 3: IP Address Classes How large is the network part in an IP address? Today we use network masks to tell Originally, IP had address classes with fixed numbers

Class B IP Address

• IP address begins with 10 (1st zero in 2nd position)

• 14 remaining bits in network part– Over 16,000 possible Class B networks

• 16 bits in local part– Over 65,000 possible hosts

• A good trade-off between number of networks and hosts per network

• Most have been assigned

Page 4: IP Address Classes How large is the network part in an IP address? Today we use network masks to tell Originally, IP had address classes with fixed numbers

Class C IP Address

• IP address begins with 110 (1st zero in 3d position)

• 21 more bits in network part– Over 2 million possible Class C networks!

• 8 bits in local part– Only 256 possible hosts per Class C network!

• Unpopular, because large firms must have several

Page 5: IP Address Classes How large is the network part in an IP address? Today we use network masks to tell Originally, IP had address classes with fixed numbers

Class D IP Address

• IP address begins with 1110• Used for multicasting, not defining networks

– Sending message to group of hosts

– Not just to one (unicasting)

– Not ALL hosts (broadcasting)

– Say to send a videoconference stream to a group of receivers

Page 6: IP Address Classes How large is the network part in an IP address? Today we use network masks to tell Originally, IP had address classes with fixed numbers

Class D IP Address

• All hosts in a multicast group listen for this multicast address as well as for their specific own host IP address

Packets toMulticast Address

Not in GroupReject

In GroupAccept

In GroupAccept

Page 7: IP Address Classes How large is the network part in an IP address? Today we use network masks to tell Originally, IP had address classes with fixed numbers

Multicasting

• Traditionally, unicasting and broadcasting– Unicasting: send to one host

– Broadcasting: send to ALL hosts

• Multicasting– Send to SOME hosts

– 500 stations viewing a video course

– 50 computers getting software upgrades

– Standards exist and are improving

– Not widely implemented yet

Page 8: IP Address Classes How large is the network part in an IP address? Today we use network masks to tell Originally, IP had address classes with fixed numbers

Why Multicasting

• Do not need to send an IP packet to each host– Routers split when needed– Reduces traffic

SinglePacket

MultiplePackets

Page 9: IP Address Classes How large is the network part in an IP address? Today we use network masks to tell Originally, IP had address classes with fixed numbers

Mobile IP

• IP addresses are associated with fixed physical locations

• Mobile IP is needed for notebooks, other portable equipment

• Computer still gets a permanent IP address• When travels, also gets a temporary IP address

at its location• This is linked dynamically to its permanent IP

address