Documente Academic
Documente Profesional
Documente Cultură
Eathernet LAN
y Developed by Metcalfe's (Xerox company got patent)
Ethernet (LAN)
OPM
OPM
interface to synchronize.
y IP allocation Techniques
y Static IP allocation
for a devise
devise.
y Some software can generate duplicate MAC address also (generally used by hackers)
y 16 bits Frame Type Field is used to identify the type of data being carried in a
frame. It determine which protocol software module should process the frame.
y Packet size is variable (payload varies from 46 to 1500 octet in case of IPv4)
y 32 bits CRC field helps to detect error in the frame.
3
OPM
y Hub:-
y Switch:-
information it receives
y broadcasts incoming packets from a port to other ports of the Hub.
y Can not process packets.
y generates unnecessary traffic in network due to broadcasting of
packets through undesired ports (not part of destination link) .
y Hub can be used in a small network but for a larger, heavily
OPM
OPM
OPM
2/6/2015
y ARP
y ARP provides a dynamic mapping from an IP address to the
Objectives
OPM
OPM
OPM
10
OPM
11
OPM
12
OPM
2/6/2015
ARP operation
OPM
14
OPM
15
OPM
16
EXAMPLE 1
OPM
EXAMPLE 1 (CONTINUED)
Solution
the ARP request and reply packets. Note that the ARP data field
in this case is 28 bytes, and that the individual addresses do not
fit in the 4-byte boundary. That is why we do not show the
regular 4-byte boundaries for these addresses. Also note that the
IP addresses
dd
are shown
h
i hexadecimal.
in
h d i l For
F information
i f
i
on
binary or hexadecimal notation see Appendix B.
OPM
Network
topology:- when two computers connected directly or through Hub in same network
18
OPM
2/6/2015
Example 1
Proxy ARP
A proxy ARP, running in a router, can respond to an ARP request for any of its
sub- ordinate device. The proxy ARP replies with its own MAC address.
When the packet arrives, the router delivers it to the appropriate host.
19
OPM
20
OPM
ARP components
21
OPM
22
OPM
y If ARP just resolved an IP address, chances are a few moments later someone
next request comes in for the same IP address, look first in the cache table.
23
OPM
24
OPM
2/6/2015
address
y Attempts: how many times have you tried to resolve this address?
y Time-out: how long until this address is tossed out (need space in cache)
y Hardware address: destination hardware address
OPM
26
y Input Module
y The input module waits until an ARP request or reply arrives
OPM
y If entry is found and state RESOLVED, module still updates the entry
y If entry
y is found and state is PENDING, module updates
p
entrys
y
OPM
28
OPM
y Control Module
y The cache-control module periodically checks each cache entry
y If entrys state is FREE, skips it
y If entrys
t state
t t is
i PENDING,
PENDING Attempts
Att
t field
fi ld is
i incremented
i
t d by
b 1.
1 This
Thi
value greater than max? Toss this entry (and mark entry as FREE).
Less than max? Send another ARP request
y If state of entry is RESOLVED, module decrements value of Time-out
field accordingly
y If Time-out field < 0, then remove entry and set state to FREE
29
OPM
30
OPM
2/6/2015
EXAMPLE 2
EXAMPLE 3
It checks the cache table and finds that an entry exists for this
destination with the RESOLVED state (R in the table).
It checks the cache table and does not find this destination in the table.
The module adds an entry to the table with the state PENDING and the
Attempt value 1.
It creates a new queue for this destination. It then sends an ARP request
to the data link layer for this destination.
31
OPM
32
OPM
EXAMPLE 4
Fifteen seconds later, the ARP input module receives an ARP reply
packet with target protocol (IP) address 188.11.8.71.
The module checks the table and finds this address.
It changes the state of the entry to RESOLVED and sets the time-out value
to 900.
The module then adds the target hardware address (E34573242ACA) to the
entry.
Now it accesses queue 18 and sends all the packets in this queue, one by one,
to the data link layer. The new cache table is shown in next slide.
33
OPM
34
OPM
EXAMPLE 5
35
OPM
36
OPM
2/6/2015
37
OPM
38
OPM
40
OPM
OPM
RARP operation
RARP
RARP finds the logical address (IP) for a machine that only knows its
physical address.
address.
This if often encountered on thin
thin--client workstations
workstations.. No disk (memory)
(memory),, so
when machine is booted, it needs to know its IP address (dont want to burn
the IP address into the ROM).
ROM).
RARP requests
t are broadcast
bbroadcast,
d t, RARP replies
li are unicast.
unicast
i t.
If a thinthin-client workstation needs to know its IP address, it probably
also needs to know its subnet mask, router address, DNS address, etc.
etc.
So we need something more than RARP
RARP.. BOOTP, and now DHCP have
replaced RARP
RARP..
41
OPM
42
OPM
2/6/2015
43
OPM
44
OPM
InARP (Cont.)
45
OPM
Frame-relay inverse-ARP
y Frame-relay is a layer 2 technique that uses a concept of Connection
y These days WiFi, WiMAX and LTE are OFDMA based wireless
technique
q which uses Connection Identifiers (CID)
(
) at Layer
y 2.
OPM
a host device.
y The host device requests Protocol address of Central device/ other host
47
OPM
2/6/2015
Parameter
ARP
RARP
InARP
Protocol
used in
Mapping
IP to Hardware Address
(Static IP allocation)
Hardware to IP address
(Dynamic IP allocation)
DLCI to IP address
(Dynamic IP allocation)
Intermedi
ate device
d i
required
Opportunistic as per
l
networkk topology
Opportunistic as per
networkk topology
l
Eathernet
type field
0x0806
0x8035
Request 3 , Reply 4
Request 8 , Reply 9
49
50
OPM
CID/SID=
connection Identifier/Subscriber identifier
Super-frame
Random
Access
Reserved
p1
p1
p0
Reserved
p0
0
Transmit Part
51
OPM
Random
Access
antennas
p1
1
Receive Part
52
OPM
OFDM frame
SDMA in satellites
y SDMA dual-beam receive
antenna
y simultaneously access from two
diff
different
t regions
i off the
th earth
th
53
OPM
54
OPM
2/6/2015
55
OPM
10