• Nenhum resultado encontrado

INTRODUÇÃO ÀS REDES DE COMPUTADORES

N/A
N/A
Protected

Academic year: 2021

Share "INTRODUÇÃO ÀS REDES DE COMPUTADORES"

Copied!
30
0
0

Texto

(1)

INTRODUÇÃO  ÀS  REDES  DE  

COMPUTADORES  

CAMADA  DE  REDE  

Teresa  Vazão  

(2)

INTRODUÇÃO    

• 

1973  –  David  Bobs  and  Robert  Metcalfe  

• 

Inventores  da  Ethernet,  na  Xerox  Palo  Alto  Research    

• 

Lançada  em  22  de  Maio  de  2013  

(3)

SUMARIO  

• 

Camada  de  ligação  lógica  

– Funções

– Características

– Mecanismo de acesso ao meio

– Rede Ethernet

(4)

CAMADA  DE  LIGAÇÃO  LÓGICA  

Ligação  lógica  

• 

Mecanismos  de  acesso  ao  meio  

 

(5)

CAMADA  DE  LIGAÇÃO  LÓGICA    

Ligação  lógica  

• 

Função  

 

• 

CaracterísYcas  

Mecanismos  de  acesso  ao  meio  

 

• 

Rede  Ethernet  

(6)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    acesso  ao  meio  

O  problema  do  acesso  múlCplo  

• 

Meio  parYlhado:  

– 

Dois  ou  mais  uYlizadores  podem  transmiYr  em  simultâneo  

• 

Protocolos  de  acesso  ao  meio:  

– 

Coordenar  o  acesso  ao  meio  parYlhado  entre  dois  ou  mais  

uYlizadores,  de  forma  eficiente  e  justa  

(7)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    acesso  ao  meio  

Protocolo  de  acesso  ao  meio  -­‐  Aloha  

to  B

host A

link

collision collision

host B

host C

to  A time time time time packet  arrival to  C to  A success packet  arrival packet  arrival to  B

(8)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    acesso  ao  meio  

Protocolo  -­‐  Aloha  

• 

Colisões  

– 

Quando  existe  mais  do  que  

um  nó  a  transmiYr  dados  no  

mesmo  instante  de  tempo  

– 

Destroem  todos  os  dados  

envolvidos  na  colisão  

1 0 0 0 1 1 0 0 0 1 0 1 1 0 1 0 1 1 0 1 1 1 1 0 t t t

Packet  sent  from  A  to  B

Packet  sent  from  C  to  A

“Packet”  on  the  shared  link (received  by  A,  B  and  C)  

(9)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    acesso  ao  meio  

Protocolo  –  Aloha  –  recuperação  de  colisões  

• 

AlternaYvas  

Host  A Host  B Host  C Data ACK Host  A Host  B Host  C Data Data

(10)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    acesso  ao  meio  

Protocolo  –  Aloha  –  recuperação  de  colisões  

• 

Retransmissão  após  tempo  fixo  

• 

Mau  método!  

host A

link

collision collision

retransmission  after  fixed  delay

host B

host C

time time time time arrival  of   new  packet collision

(11)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    acesso  ao  meio  

Protocolo  –  Aloha  –  recuperação  de  colisões  

• 

Atraso  de  retransmissão  com  valor  inicial  aleatório  

– 

Random  backoff    

• 

Bom  método!  

host A

link

collision collision success success success

retransmission  after  random  delay

host B

host C

time time time time arrival  of   new  packet

(12)

CAMADA  DE  LIGAÇÃO  LÓGICA  

Ligação  lógica  

• 

Função  

 

• 

CaracterísYcas  

• 

Mecanismos  de  acesso  ao  meio  

• 

Redes  Ethernet  e  Wifi  

(13)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    interligação  de  LANs  

Ethernet  –  expansão  com  HUBs  

Hub regenerates signals, does not process frames –

physical layer device

Hub   twisted-­‐ pair  cable PC PC PC PC PC PC PC PC Server Hub   Hub   Hub   Hub  

(14)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    interligação  de  LANs  

Ethernet  –  expansão  com  Cabo  Coaxial  

PC Server terminator coaxial  cable segment Repeater Repeater Router Printer Access  point

Repeater regenerates signals, does not process frames –

(15)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    interligação  de  LANs  

(16)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    interligação  de  LANs  

Switches/Bridges:  comutação  1  

Switch/Bridge twisted-­‐ pair  cable Switch/Bridge Switch/Bridge i1 i2 i4 i3 i1 i2 i3 i4 i1 i2 1 i3 2 i2 3 i1 4 i4 5 i4 6 i4 1 i2 2 i2 3 i2 4 i1 5 i1 6 i1 1 i4 2 i4 3 i4 4 i3 5 i2 6 i1 data 5 routing   table

(17)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    interligação  de  LANs  

Switches/Bridges:  comutação  2  

Switch/Bridge twisted-­‐ pair  cable 4 5 6 1 2 3 Switch/Bridge Switch/Bridge i1 i2 i4 i3 i1 i2 i3 i4 i1 i2 routing   table data 5 1

(18)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    interligação  de  LANs  

Switches/Bridges:  comutação  3  

Switch/Bridge twisted-­‐ pair  cable 4 5 6 1 2 3 Switch/Bridge Switch/Bridge i1 i2 i4 i3 i1 i2 i3 i4 i1 i2 1 i3 routing   table data 5 1 da ta 5 1 data 51 data 5 1

(19)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    interligação  de  LANs  

Switches/Bridges:  comutação  4  

Bridge  2  learns  address  of  host  1  and  floods  packet  

Switch/Bridge twisted-­‐ pair  cable 4 5 6 1 2 3 Switch/Bridge Switch/Bridge i1 i2 i4 i3 i1 i2 i3 i4 i1 i2 1 i3 routing   table 1 i2 data 1 5 data 5 1

(20)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    interligação  de  LANs  

Switches/Bridges:  comutação  5  

Switch/Bridge twisted-­‐ pair  cable 4 5 6 1 2 3 Switch/Bridge Switch/Bridge i1 i2 i4 i3 i1 i2 i3 i4 i1 i2 1 i3 routing   table 1 i2 1 i4 data 5 1 data 5 1 data 5 1 data 51

(21)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    interligação  de  LANs  

Switches/Bridges:  comutação  6  

Host  5  sends  packet  to  host  1  

Switch/Bridge twisted-­‐ pair  cable 4 5 6 1 2 3 Switch/Bridge Switch/Bridge i1 i2 i4 i3 i1 i2 i3 i4 i1 i2 1 i3 routing   table 1 i2 1 i4 data 51

(22)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    interligação  de  LANs  

Switches/Bridges:  comutação  7  

Switch/Bridge twisted-­‐ pair  cable 4 5 6 1 2 3 Switch/Bridge Switch/Bridge i1 i2 i4 i3 i1 i2 i3 i4 i1 i2 1 i3 routing   table 1 i2 1 i4 5 i2 data 51 data 5 1

(23)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    interligação  de  LANs  

Switches/Bridges:  comutação  8  

Bridge  2  learns  address  of  host  5  and  forwards  packet  (towards  host  1)  

Switch/Bridge twisted-­‐ pair  cable 4 5 6 1 2 3 Switch/Bridge Switch/Bridge i1 i2 i4 i3 i1 i2 i3 i4 i1 i2 1 i3 routing   table 1 i2 5 i1 1 i4 5 i2 data 5 1 data 5 1

(24)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    interligação  de  LANs  

Switches/Bridges:  comutação  9  

Switch/Bridge twisted-­‐ pair  cable 4 5 6 1 2 3 Switch/Bridge Switch/Bridge i1 i2 i4 i3 i1 i2 i3 i4 i1 i2 1 i3 5 i4 routing   table 1 i2 5 i1 1 i4 5 i2 data 5 1 data 5 1

(25)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    interligação  de  LANs  

Switches/Bridges:  mobilidade  

Switch/Bridge twisted-­‐ pair  cable 4 6 1 2 3 Switch/Bridge Switch/Bridge i1 i2 i4 i3 i1 i2 i3 i4 i1 i2 1 i3 2 i2 3 i1 4 i4 5 i4 6 i4 1 i2 2 i2 3 i2 4 i1 5 i1 6 i1 1 i4 2 i4 3 i4 4 i3 5 i2 6 i1 data 5 routing   table 5 i5

(26)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    interligação  de  LANs  

Switches/Bridges:  domínio  de  colisão  

Hub twisted-­‐ pair  cable 4 5 6 1 2 3 Switch/Bridge i1 i2 1 i2 2 i2 3 i2 4 i1 5 i1 6 i1 routing   table Hub Collision domain

(27)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    interligação  de  LANs  

Switches/Bridges:  ciclos  fechados  e  encaminhamento  

Switch/Bridge twisted-­‐ pair  cable 4 5 6 1 2 3 Switch/Bridge Switch/Bridge data 5 routing   table

(28)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    interligação  de  LANs  

Switches/Bridges:  ciclos  fechados  e  spanning  tree  protocol  

Switch/Bridge twisted-­‐ pair  cable 4 5 6 1 2 3 Switch/Bridge Switch/Bridge i1 i2 i4 i3 i1 i2 i3 i4 i1 i2 1 i3 2 i2 3 i1 4 i5 5 i5 6 i5 1 i2 2 i2 3 i2 4 i1 5 i1 6 i1 1 i4 2 i4 3 i4 4 i3 5 i2 6 i1 data 5 routing   table i5 i5

(29)

CAMADA  DE  LIGAÇÃO  LÓGICA  –    interligação  de  LANs  

Switches/Bridges:  ciclos  fechados  e  spanning  tree  protocol  

Switch/Bridge twisted-­‐ pair  cable 4 5 6 1 2 3 Switch/Bridge i1 i2 i4 i3 i1 i2 i3 i4 i1 i2 1 i3 2 i2 3 i1 4 i4 5 i4 6 i4                         1 i5 2 i5 3 i5 4 i3 5 i2 6 i1 data 5 routing   table i5 i5

(30)

Bibiography  

• 

James  Kurose,  Keith  Ross,  “Computer  

Networking  –  A  Top-­‐Down  Approach”,  4th  

ediYon,  2007,  Addison  Wesley  

– 

Chapter  5  –  “The  Link  Layer  and  Local  Area  

Referências

Documentos relacionados

Entre os objetivos dessas ações, elencam-se: identificar empreendedores, projetos de empreen- dimentos e projetos de inovação passíveis de incu- bação; fomentar o

With this objective, five groups of experimentally infected Swiss mice were followed for up to 155 days post-infection (PI) days and the quantification of first stage larvae (L1)

- Do número de outras mensagens transmitidas simultaneamente na rede; - Do intervalo de tempo reservado para a comunicação. factores

Os teores de fósforo na planta foram linearmente crescentes com o aumento das doses de fósforo aplicadas ao solo (Figura 2), seguindo o mesmo comportamento da extração de P

Promoveu-se o uso das Tecnologias de Informação e Comunicação (TIC) para uma melhor compreensão dos conteúdos, os quais foram abordados de forma construtiva. Nas outras

A posição a adotar em nome da União Europeia no âmbito do Comité dos Contratos Públicos deve ser a aprovação da adesão da Nova Zelândia ao Acordo sobre Contratos Públicos, sob

Milton Walter Frantz - “O Rio do Peixe e o Desenvolvimento Urbano da Cidade de Joaçaba”, Passo Fundo.. SC -2008

3 – Vista da fachada do Condomínio Gafisa Square Ipiranga, onde se localiza o apartamento nº 224 avaliado no presente laudo... João Batista de