cancelar
Mostrar resultados para 
Pesquisar em vez de 
Queria dizer: 
cancel
1433
Apresentações
15
Útil
4
Respostas

Cisco 1921 Muticast

jmmgrodrigues
Level 1
Level 1

Bom dia!

Ando às cabeçadas com este router por causa do multicast. O que pretendo é passar tráfego multicast pela porta WAN até uma interface vlan. A configuração está como podem verificar abaixo. No entanto não consigo que a vlan tenha uma porta associada para que possa receber o tráfego multicast!  O que é que me está a escapar? Agradeço desde já a vossa ajuda.

 

Router#sh ip int bri

Interface                  IP-Address      OK? Method Status                Protocol

Embedded-Service-Engine0/0 unassigned      YES NVRAM  administratively down down

GigabitEthernet0/0         192.168.1.15    YES NVRAM  up                    up

GigabitEthernet0/1         unassigned      YES NVRAM  administratively down down

GigabitEthernet0/0/0       unassigned      YES unset  up                    up

GigabitEthernet0/0/1       unassigned      YES unset  administratively down down

GigabitEthernet0/0/2       unassigned      YES unset  up                    up

GigabitEthernet0/0/3       unassigned      YES unset  up                    up

NVI0                       192.168.1.15    YES unset  up                    up

Tunnel0                    192.168.1.15    YES unset  up                    up

Vlan1                      unassigned      YES unset  administratively down down

Vlan10                     10.0.10.30      YES NVRAM  up                    up

Vlan20                     10.0.20.2       YES NVRAM  up                    up

Vlan30                     10.0.30.14      YES NVRAM  up                    up

Vlan105                    10.0.105.6      YES NVRAM  up                    up

Router#sh run

Building configuration...

 

Current configuration : 4702 bytes

!

! Last configuration change at 22:03:12 GMT Tue Sep 25 2018 by someone

!

version 15.5

service timestamps debug datetime msec

service timestamps log datetime msec

service password-encryption

!

hostname Router

!

boot-start-marker

boot-end-marker

!

!

!

no aaa new-model

ethernet lmi ce

clock timezone GMT 0 0

clock summer-time GMT recurring

!

!

!

!

!

!

!

!

!

ip dhcp excluded-address 10.0.10.1

ip dhcp excluded-address 10.0.10.25 10.0.10.30

ip dhcp excluded-address 10.0.20.2

ip dhcp excluded-address 10.0.30.2

ip dhcp excluded-address 10.0.30.11 10.0.30.14

ip dhcp excluded-address 10.0.105.2 10.0.105.6

!

ip dhcp pool 10

 network 10.0.10.0 255.255.255.224

 default-router 10.0.10.30

 dns-server 1.1.1.1 1.0.0.1

!

ip dhcp pool 20

 network 10.0.20.0 255.255.255.252

 default-router 10.0.20.2

 dns-server 1.1.1.1 1.0.0.1

!

ip dhcp pool 30

 network 10.0.30.0 255.255.255.240

 default-router 10.0.30.14

 dns-server 1.1.1.1 1.0.0.1

!

ip dhcp pool IPTV

 network 10.0.105.0 255.255.255.248

 default-router 10.0.105.6

 dns-server 192.168.1.254

!

!

!

ip name-server 192.168.1.254

ip multicast-routing

ip inspect log drop-pkt

ip inspect audit-trail

ip inspect name Default http

ip inspect name Default https

ip inspect name Default ftp

ip inspect name Default ftps

ip inspect name Default tftp

ip inspect name Default pop3

ip inspect name Default pop3s

ip inspect name Default imap

ip inspect name Default imaps

ip inspect name Default tcp

ip inspect name Default udp

ip inspect name Default icmp

ip inspect name Default dns

ip inspect name Default telnet

ip cef

no ipv6 cef

!

parameter-map type inspect global

 log dropped-packets enable

 max-incomplete low 18000

 max-incomplete high 20000

multilink bundle-name authenticated

!

!

!

license udi pid CISCO1921/K9 sn XXXXXXXXXX

!

!

username xxxxx privilege 15 password 7 xxxxx

!

redundancy

!

!

!

!

!

!

!

!

!

!

!

!

!

!

interface Embedded-Service-Engine0/0

 no ip address

 shutdown

!

interface GigabitEthernet0/0

 description *** WAN ***

 ip address 192.168.1.15 255.255.255.0

 ip access-group Default in

 ip nat outside

 ip inspect Default out

 ip virtual-reassembly in

 duplex auto

 speed auto

!

interface GigabitEthernet0/1

 no ip address

 shutdown

 duplex auto

 speed auto

!

interface GigabitEthernet0/0/0

 description *** Switch ***

 switchport trunk allowed vlan 1,10,105,1002-1005

 switchport mode trunk

 no ip address

!

interface GigabitEthernet0/0/1

 no ip address

 shutdown

!

!

interface GigabitEthernet0/0/2

 description *** AP 2 ***

 switchport trunk native vlan 30

 switchport trunk allowed vlan 1,30,1002-1005

 switchport mode trunk

 no ip address

 speed 100

!

interface GigabitEthernet0/0/3

 description *** AP 1 ***

 switchport trunk native vlan 10

 switchport trunk allowed vlan 1,10,20,1002-1005

 switchport mode trunk

 no ip address

!

interface Vlan1

 no ip address

 shutdown

!

interface Vlan10

 ip address 10.0.10.30 255.255.255.224

 ip nat inside

 ip virtual-reassembly in

!

interface Vlan20

 ip address 10.0.20.2 255.255.255.252

 ip nat inside

 ip virtual-reassembly in

!

interface Vlan30

 ip address 10.0.30.14 255.255.255.240

 ip nat inside

 ip virtual-reassembly in

!

interface Vlan105

 ip address 10.0.105.6 255.255.255.248

 ip pim sparse-mode

 ip nat inside

 ip virtual-reassembly in

 ip igmp join-group 224.0.1.40

 ip igmp version 3

!

ip forward-protocol nd

!

no ip http server

no ip http secure-server

!

ip pim rp-address 192.168.1.254

!

ip nat inside source list 10 interface GigabitEthernet0/0 overload

ip nat inside source list 20 interface GigabitEthernet0/0 overload

ip nat inside source list 30 interface GigabitEthernet0/0 overload

ip nat inside source list 40 interface GigabitEthernet0/0 overload

ip route 0.0.0.0 0.0.0.0 192.168.1.254

!

!

!

access-list 10 permit 10.0.10.0 0.0.0.31

access-list 20 permit 10.0.20.0 0.0.0.3

access-list 30 permit 10.0.30.0 0.0.0.15

access-list 40 permit 10.0.105.0 0.0.0.7

!

control-plane

!

!

 vstack

!

line con 0

 exec-timeout 15 0

 login local

line aux 0

line 2

 no activation-character

 no exec

 transport preferred none

 transport output pad telnet rlogin lapb-ta mop udptn v120 ssh

 stopbits 1

line vty 0 4

 exec-timeout 15 0

 login local

 transport input telnet

!

scheduler allocate 20000 1000

ntp source Vlan10

ntp server pt.pool.ntp.org prefer

ntp server europe.pool.ntp.org

!

end

 

Router#sh ip igmp snooping groups

Vlan      Group                    Version     Port List

---------------------------------------------------------

105       239.195.7.2              v3          Gi0/0/0

105       239.196.1.35             v3          Gi0/0/0

105       239.255.255.250          v3          Gi0/0/0

 

Router#sh ip igmp snooping mrouter

Vlan    ports

----    -----

 105

 

Heeeeelp!!! 

4 RESPOSTAS 4

Daniel Vieceli
Level 1
Level 1

Olá.

Primeiramente sua configuração não tem as configuração de RP, Auto RP ou BSR então é necessário ajustar isso ou então usar o mode dense do PIM, vamos tentar utilizar esse pode denso no seu caso.

Primeiramente ativa esse comando em modo global: ip multicast-routing

 

Na interface WAN (Giga0/0) deve ser ativo o PIM:

 

interface GigabitEthernet0/0

ip pim dense-mode

 

Na sua interface LAN (No seu caso as interfaces VLAN) deve ser ativo o modo dense também com o comando:

interface Vlan105
ip igmp join-group 224.0.1.40

ip pim dense-mode

 

Depois tenta verificar a saída desse comando:

show ip igmp groups 

show ip igmp interface

 

Obervações sobre o IGP Proxy, destaquei em vermelho algumas informações.

Prerequisites for IGMP Proxy

  • All devices on the IGMP UDL have the same subnet address. If all devices on the UDL cannot have the same subnet address, the upstream device must be configured with secondary addresses to match all of the subnets to which the downstream devices are attached.
  • IP multicast is enabled and the PIM interfaces are configured.
    Note
    Use the following guidelines when configuring PIM interfaces for IGMP proxy:
    • Use PIM sparse mode (PIM-SM) when the interface is operating in a sparse-mode region and you are running static RP, bootstrap (BSR), or Auto-RP with the Auto-RP listener capability.
    • Use PIM sparse-dense mode when the interface is running in a sparse-dense mode region and you are running Auto-RP without the Auto-RP listener capability.
    • Use PIM dense mode (PIM-DM) when the interface is operating in dense mode and is, thus, participating in a dense-mode region.
    • Use PIM-DM with the proxy-register capability when the interface is receiving source traffic from a dense-mode region that needs to reach receivers that are in a sparse-mode region.

 

 

 

Abraços.

 

Daniel Vieceli

Olá Daniel!

Muito obrigado pelos esclarecimentos. No entanto mesmo fazendo as alterações sugeridas o IPTV não funciona. Melhor, funciona mas a imagem fica travada e não avança mais. Apenas forçei o igmp version 3 pois sei que o ISP trabalha dentro desta versão. Os resultados pedidos seguem abaixo:

 

Router#sh ip igmp groups

IGMP Connected Group Membership

Group Address    Interface                Uptime    Expires   Last Reporter   Group Accounted

239.195.1.109    Vlan105                  00:00:36  00:02:44  10.0.105.1

239.255.255.250  Vlan105                  00:03:14  00:02:52  10.0.105.1

239.255.255.250  GigabitEthernet0/0       00:44:48  00:02:56  192.168.1.253

239.195.7.2      Vlan105                  00:03:14  00:02:46  10.0.105.1

224.0.1.40       Vlan105                  00:44:06  00:02:44  10.0.105.6

Router#sh ip igmp inter

GigabitEthernet0/0 is up, line protocol is up

  Internet address is 192.168.1.15/24

  IGMP is enabled on interface

  Current IGMP host version is 3

  Current IGMP router version is 3

  IGMP query interval is 60 seconds

  IGMP configured query interval is 60 seconds

  IGMP querier timeout is 120 seconds

  IGMP configured querier timeout is 120 seconds

  IGMP max query response time is 10 seconds

  Last member query count is 2

  Last member query response interval is 1000 ms

  Inbound IGMP access group is not set

  IGMP activity: 4 joins, 3 leaves

  Multicast routing is enabled on interface

  Multicast TTL threshold is 0

  Multicast designated router (DR) is 192.168.1.15 (this system)

  IGMP querying router is 192.168.1.15 (this system)

  No multicast groups joined by this system

Vlan105 is up, line protocol is up

  Internet address is 10.0.105.6/29

  IGMP is enabled on interface

  Current IGMP host version is 3

  Current IGMP router version is 3

  IGMP query interval is 60 seconds

  IGMP configured query interval is 60 seconds

  IGMP querier timeout is 120 seconds

  IGMP configured querier timeout is 120 seconds

  IGMP max query response time is 10 seconds

  Last member query count is 2

  Last member query response interval is 1000 ms

  Inbound IGMP access group is not set

  IGMP activity: 7 joins, 3 leaves

  Multicast routing is enabled on interface

  Multicast TTL threshold is 0

  Multicast designated router (DR) is 10.0.105.6 (this system)

  IGMP querying router is 10.0.105.6 (this system)

  Multicast groups joined by this system (number of users):

      224.0.1.40(1)

 

Alguma coisa que se possa fazer para resolver isto? Muito obrigado desde já!

Olá.

 

Pelos output a configuração agora está Ok. 

 

O Multicast é bem sensível, qual a latência/jitler você chega até o source do multicast com qual latência?, e qual banda você tem até o source, outra coisa monitora o uso de cpu do roteador com o comando: show processes cpu sorted

Cola a saída também do comando show interfaces gigabitEthernet 0/0

E também show interfaces stats

 

Eu acredito ser algo envolvendo processamento ou banda, o JOIN do multicast parece Ok.

Teria que entender sua topologia pode ter uma forma mais otimizada para fazer o delivery desse multicast.

 

 

Abraços

Obrigado Daniel! Mais logo tentarei essas dicas. Darei feedback.

Primeiros Passos

Encontre respostas, faça perguntas e conecte-se com nossa comunidade de especialistas da Cisco de todo o mundo.

Estamos felizes por você estar aqui! Participe de conversas e conecte-se com sua comunidade.