46
A topologia de rede realmente importa? MUM BR19 - Foz do Iguaçu, PR. Alive Solutions

realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

  • Upload
    others

  • View
    11

  • Download
    0

Embed Size (px)

Citation preview

Page 1: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

A topologia de rede realmente importa?

MUM BR19 - Foz do Iguaçu, PR.Alive Solutions

Page 2: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

Quem somos?Pietro Scherer

● Mikrotik Training Partner (Riga, Latvia)

● MikroTik Consultant

● MTCNA, MTCWE, MTCRE, MTCINE, MTCUME, MTCTCE, MTCIPv6E

● Apresentações MUM: BR16, BR17, BR18, BR19.

● Graduação: Gestão de TI

● Pós Graduação: Redes de Computadores

Page 3: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

Assessoria e Consultoria para Provedores de Internet

● Suporte 100% remoto● Suporte emergencial● Treinamentos oficiais MikroTik● Presente em 5 Estados do Brasil

www.tchesolutions.com.br

Page 4: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

Sistema de backup e gerência de dispositivos

● Cloud - SaaS● Backups MikroTik e UBNT (em breve mais)● Rotinas: Atualizações de software,

configurações, adições, remoções, etc● Relatórios de dispositivos

www.routermage.com

Page 5: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

Quem somos?Anderson Marin Matozinhos

● Mikrotik Training Partner (Prague, Czech Republic)

● MikroTik Consultant

● MTCNA, MTCWE, MTCRE, MTCINE, MTCUME, MTCTCE, MTCIPv6E,

MTCSE

● Apresentações MUM: 2009-2019

● Graduação: Análise e Desenvolvimento de Sistemas

● Técnico em Eletronica

Page 6: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

OBJETIVOS

Alive Solutions

6

1

2

3

MOSTRAR MEIOS PARA A ESCOLHA DO EQUIPAMENTO IDEAL PARA DETERMINADA APLICAÇÃO E IDENTIFICAR DENTRO DE CADA CENÁRIO, A SUA FUNÇÃO;

RESSALTAR A IMPORTÂNCIA DE SEPARAR FUNÇÕES E CONFIGURAÇÕES ENTRE OS DISPOSITIVOS DA REDE;

EXEMPLIFICAR TOPOLOGIAS DE REDE;

Page 7: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

AGENDA

Alive Solutions

7

1

2

3

4

MOTIVAÇÃO;

PRODUTOS MIKROTIK & FUNCIONALIDADES ROUTEROS;

"TUDO EM UM" X "UMA FUNÇÃO PARA CADA ROTEADOR";

EXEMPLOS;

5 CONCLUSÃO.

Page 8: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

MOTIVAÇÃO

Alive Solutions

8

01 Empilhar serviços em um único hardware

Page 9: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

MOTIVAÇÃO

Alive Solutions

9

02 Funcionalidades limitadas para o software quando usado de forma equivocada

Page 10: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

MOTIVAÇÃO

Alive Solutions

10

03 Queda de performance para o hardware

Page 11: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

MOTIVAÇÃO

Alive Solutions

11

04 Topologias "estranhas" e sem planejamento prévio

Page 12: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

MOTIVAÇÃO

Alive Solutions

12

05 Expansão da rede prejudicada

Page 13: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

PRODUTOS MIKROTIK

Alive Solutions

13

Informações disponíveis em mikrotik.com/products;

Diagrama de bloco, Datasheet, resultados de testes e mais;

Produtos para todas as necessidades (acreditem).

1

2

3

Page 14: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

PRODUTOS MIKROTIK

Alive Solutions

14

Page 15: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

PRODUTOS MIKROTIK

Alive Solutions

15

Page 16: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

PRODUTOS MIKROTIK

Alive Solutions

16

Page 17: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

PRODUTOS MIKROTIK

Alive Solutions

17

Page 18: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

PRODUTOS MIKROTIK

Alive Solutions

18

Page 19: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

PRODUTOS MIKROTIK

Alive Solutions

19

Page 20: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

PRODUTOS MIKROTIK

Alive Solutions

20

Page 21: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

FUNCIONALIDADES ROUTEROS

Alive Solutions

21

Routing: BGP, OSPF, MPLS, TE, etc

Firewall: Filter, NAT, PBRs

Tuneis e VPN: PPTP, L2TP, IPsec, PPPoE, OpenVPN, VPLS, etc

Outros: Wireless, QoS, DHCP, Hotspot, etc;

1

2

3

4

Page 22: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

FUNCIONALIDADES ROUTEROS

Alive Solutions

22

Em teoria, o RouterOS é o mesmo sistema, independente

do hardware que está embarcado (RouterBOARDs) ou

instalado (x86);

Na prática, devemos analisar o “outro lado do disco”: o

Hardware.

1

2

Page 23: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

QUAL EQUIPAMENTO ESCOLHER?

Alive Solutions

23

Quantas interfaces eu preciso para a conexão?

Estas são do tipo ethernet ou sfp?

Qual é o papel deste dispositivo na rede?

PPPoE Server? Switch? Roteador? NAT ou CGNAT?

A minha infraestrutura está preparada para receber este

equipamento?

1

2

3

4

5

Page 24: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

QUAL EQUIPAMENTO ESCOLHER?

Alive Solutions

24

“Compra uma CCR e deu pra bola”;

“Coloca aquele novo switch com 24 portas e já era”;

“O que temos em estoque? Coloca o que tem e depois a

gente troca.” (e tá lá até hoje);

1

2

3

Page 25: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

"TUDO EM UM" X "UMA FUNÇÃO PARA CADA"

Alive Solutions

25

Uma única CCR ou x86 fazendo o papel de:

Roteador (BGP, OSPF, etc), PPPoE Server, NAT, Firewall,

Dude e mais.

Funciona? Sim, funciona.

É o indicado? Não!

1

2

3

4

Page 26: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

WAN

BGP

PPPoE Server

Firewall*

NAT

E muito mais! LAN

Page 27: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

"TUDO EM UM" X "UMA FUNÇÃO PARA CADA"

Alive Solutions

27

Fast path e Fast track: Impossível usar com PPPoE Server e

outras configurações.

NAT: Função muito onerosa para a CPU

Masquerade: pior ainda.

BGP e OSPF: Exigem recursos (CPU e RAM) e uma

configuração afinada para prover estabilidade e

possibilidade de expansão.

1

2

3

4

Page 28: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

WAN

BGP

PPPoE Server

Firewall*

NAT

E muito mais!

LAN

WAN

Page 29: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

WAN

BGP

PPPoE Server

Firewall*

NAT

E muito mais!

LAN

WAN

Page 30: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

"TUDO EM UM" X "UMA FUNÇÃO PARA CADA"

Alive Solutions

30

PPPoE Server + NAT: 👎

NAT no roteador de borda: 👎

Dude Server, Hotspot, CAPsMAN, User Manager rodando

junto no roteador de borda: 👎

1

2

3

Page 31: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

"TUDO EM UM" X "UMA FUNÇÃO PARA CADA"

Alive Solutions

31

Separando as funções:

Dispositivo único para

NAT ou CGNAT;

BGP e firewall*;

PPPoE Server;

Dude Server, ou Hotspot, ou CAPsMAN ou User

Manager.

1

#

#

#

#

#

Page 32: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

WAN

BGP Firewall*

NAT

E muito mais!

LAN

WAN

LANOSPF

PPPoE Server OSPF

PPPoE Server

Page 33: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

WAN

BGP

PPPoE Server

Firewall*

CGNAT

LAN

WAN

LANOSPF

PPPoE Server OSPF

CAPsMAN+

HotspotVPN

Dude

Page 34: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

WAN

BGP

PPPoE Server

Firewall*

CGNAT

LAN

WAN

LAN

OSPF

PPPoE ServerOSPF

CAPsMAN+

HotspotVPN

Dude

Page 35: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

WAN

BGP

PPPoE Server

Firewall*

CGNAT

LAN

WAN

LAN

OSPF

PPPoE ServerOSPF

CAPsMAN+

HotspotVPN

Dude

Page 36: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

TOPOLOGIA DEFINIDA EM CAMADAS

Alive Solutions

36

Core: Roteadores e switches de alta capacidade.

BGP (eBGP e iBGP), OSPF, MPLS, etc.

Distribuição: Roteadores e switches que compõe o backbone ao longo de sua extensão.

OSPF, MPLS, RSTP, MSTP, VLAN, etc.

Acesso: Roteadores e switches para a entrega do acesso ao usuário.

DHCP, PPPoE, Dot1X, etc.

1

2

3

Page 37: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

WAN

LAN

WAN

LAN

Core

Distribuição

Acesso

Page 38: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

EXEMPLOS

Alive Solutions

38

Hardware: CCR-1036-8G-2S+

Função: CGNAT

Número de regras de NAT: + de 10000

Throughput agregado: 4 Gbps

Uso de CPU: 3% em média.

01

Page 39: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

EXEMPLOS [by Guilherme Ramires]

Alive Solutions

39

Hardware: RB4011iGS+RM

Função: CGNAT

Throughput agregado: 2,2 Gbps

Uso de CPU: 28% em média.

02

Page 40: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

EXEMPLOS [by Guilherme Ramires]

Alive Solutions

40

Hardware: RB1100AHx4

Função: CGNAT

Throughput agregado: 2,0 Gbps

Número de regras de NAT: + de 2300

Uso de CPU: 28% em média.

02

Page 41: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

EXEMPLOS

Alive Solutions

41

Hardware: CCR-1036-8G-2S+

Função: Roteador de distribuição

Fast Path ativo

Throughput agregado: 10 Gbps

Uso de CPU: 4% em média.

02

Page 42: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

EXEMPLOS [by Guilherme Ramires]

Alive Solutions

42

Hardware: CCR-1072-1G-8S+

Função: Roteador de borda

8 peers BGP

Throughput agregado: 80 Gbps

Uso de CPU: 43% em média.

02

Page 43: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

EXEMPLOS [by Guilherme Ramires]

Alive Solutions

43

Hardware: CCR-1016-12S-1S+

Função: PPPoE Server

Throughput agregado: 3 Gbps

PPPoE Active: 2031

Uso de CPU: 28% em média.

02

Page 44: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

CONCLUSÃO

Alive Solutions

44

Topologia de rede bem definida:

Core, distribuição e acesso

Capacidade do hardware muito superior

Capacidade de expansão dimensionável

1

2

3

4

Page 45: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

PERGUNTAS?

Page 46: realmente importa? A topologia de rede - MikroTik · TOPOLOGIA DEFINIDA EM CAMADAS Alive Solutions 36 Core: Roteadores e switches de alta capacidade. BGP (eBGP e iBGP), OSPF, MPLS,

OBRIGADO!!!