CNTUCKER
asked on
Multicasting across VLANS on Cisco 3560
I have a Cisco 3560 with 3 VLANS and ip routing enabled. VLAN1 contains devices multicasting data on UDP port 3100, and I can't seem to receive the multicasts when connected to VLAN2. How do I set the switch up to allow multicasts from VLAN1 to be seen on VLAN2. Running config is posted below. Thank you very much for helping me with this question!
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2008.10.30 18:59:10 =~=~=~=~=~=~=~=~=~=~=~=
sho run
Building configuration...
Current configuration : 2854 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
enable password <SNIP>
!
no aaa new-model
ip subnet-zero
ip routing
ip dhcp excluded-address 192.168.2.1 192.168.2.99
ip dhcp excluded-address 192.168.1.1 192.168.1.100
!
ip dhcp pool vlan2
network 192.168.2.0 255.255.255.0
default-router 192.168.2.2
lease 7
!
ip dhcp pool vlan1
network 192.168.1.0 255.255.255.0
dns-server 4.2.2.2
default-router 192.168.1.2
lease 7
!
ip multicast-routing distributed
ip igmp snooping querier
!
!
!
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
interface FastEthernet0/1
switchport mode access
!
interface FastEthernet0/2
switchport mode access
!
interface FastEthernet0/3
switchport mode access
!
interface FastEthernet0/4
switchport mode access
!
interface FastEthernet0/5
switchport mode access
!
interface FastEthernet0/6
switchport mode access
!
interface FastEthernet0/7
switchport mode access
!
interface FastEthernet0/8
switchport mode access
!
interface FastEthernet0/9
switchport mode access
!
interface FastEthernet0/10
switchport mode access
!
interface FastEthernet0/11
switchport mode access
!
interface FastEthernet0/12
switchport mode access
!
interface FastEthernet0/13
switchport mode access
!
interface FastEthernet0/14
switchport mode access
!
interface FastEthernet0/15
switchport mode access
!
interface FastEthernet0/16
switchport mode access
!
interface FastEthernet0/17
switchport mode access
!
interface FastEthernet0/18
switchport mode access
!
interface FastEthernet0/19
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/20
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/21
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/22
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/23
switchport access vlan 3
switchport mode access
!
interface FastEthernet0/24
description To Linksys
switchport access vlan 3
switchport mode access
!
interface GigabitEthernet0/1
switchport mode access
!
interface GigabitEthernet0/2
switchport mode access
!
interface Vlan1
description IPTV_STREAMS
ip address 192.168.1.2 255.255.255.0
ip pim sparse-dense-mode
ip igmp proxy-service
!
interface Vlan2
description MULTICAST_RECEIVER
ip address 192.168.2.2 255.255.255.0
ip pim sparse-dense-mode
!
interface Vlan3
description Internet
ip address 192.168.3.2 255.255.255.0
!
ip default-gateway 192.168.1.1
ip classless
ip default-network 0.0.0.0
ip route 0.0.0.0 0.0.0.0 192.168.3.1
ip http server
ip http secure-server
!
!
!
control-plane
!
!
line con 0
line vty 0 4
password <SNIP>
no login
line vty 5 15
no login
!
end
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2008.10.30 18:59:10 =~=~=~=~=~=~=~=~=~=~=~=
sho run
Building configuration...
Current configuration : 2854 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
enable password <SNIP>
!
no aaa new-model
ip subnet-zero
ip routing
ip dhcp excluded-address 192.168.2.1 192.168.2.99
ip dhcp excluded-address 192.168.1.1 192.168.1.100
!
ip dhcp pool vlan2
network 192.168.2.0 255.255.255.0
default-router 192.168.2.2
lease 7
!
ip dhcp pool vlan1
network 192.168.1.0 255.255.255.0
dns-server 4.2.2.2
default-router 192.168.1.2
lease 7
!
ip multicast-routing distributed
ip igmp snooping querier
!
!
!
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
interface FastEthernet0/1
switchport mode access
!
interface FastEthernet0/2
switchport mode access
!
interface FastEthernet0/3
switchport mode access
!
interface FastEthernet0/4
switchport mode access
!
interface FastEthernet0/5
switchport mode access
!
interface FastEthernet0/6
switchport mode access
!
interface FastEthernet0/7
switchport mode access
!
interface FastEthernet0/8
switchport mode access
!
interface FastEthernet0/9
switchport mode access
!
interface FastEthernet0/10
switchport mode access
!
interface FastEthernet0/11
switchport mode access
!
interface FastEthernet0/12
switchport mode access
!
interface FastEthernet0/13
switchport mode access
!
interface FastEthernet0/14
switchport mode access
!
interface FastEthernet0/15
switchport mode access
!
interface FastEthernet0/16
switchport mode access
!
interface FastEthernet0/17
switchport mode access
!
interface FastEthernet0/18
switchport mode access
!
interface FastEthernet0/19
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/20
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/21
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/22
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/23
switchport access vlan 3
switchport mode access
!
interface FastEthernet0/24
description To Linksys
switchport access vlan 3
switchport mode access
!
interface GigabitEthernet0/1
switchport mode access
!
interface GigabitEthernet0/2
switchport mode access
!
interface Vlan1
description IPTV_STREAMS
ip address 192.168.1.2 255.255.255.0
ip pim sparse-dense-mode
ip igmp proxy-service
!
interface Vlan2
description MULTICAST_RECEIVER
ip address 192.168.2.2 255.255.255.0
ip pim sparse-dense-mode
!
interface Vlan3
description Internet
ip address 192.168.3.2 255.255.255.0
!
ip default-gateway 192.168.1.1
ip classless
ip default-network 0.0.0.0
ip route 0.0.0.0 0.0.0.0 192.168.3.1
ip http server
ip http secure-server
!
!
!
control-plane
!
!
line con 0
line vty 0 4
password <SNIP>
no login
line vty 5 15
no login
!
end
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I'm running the following image:
Cisco IOS Software, C3560 Software (C3560-IPSERVICESK9-M), Version 12.2(25)SEE4, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Mon 16-Jul-07 03:11 by myl
Image text-base: 0x00003000, data-base: 0x01300000
ROM: Bootstrap program is C3560 boot loader
BOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(25r)SEC, RELEASE SOFTWARE (fc4)
Switch uptime is 1 day, 17 hours, 17 minutes
System returned to ROM by power-on
System image file is "flash:c3560-ipservicesk9- mz.122-25. SEE4.bin"
I've tried to change to ip multicast-routing instead of distributed, but it won't let me - just says incomplete command. What is the difference?
Cisco IOS Software, C3560 Software (C3560-IPSERVICESK9-M), Version 12.2(25)SEE4, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Mon 16-Jul-07 03:11 by myl
Image text-base: 0x00003000, data-base: 0x01300000
ROM: Bootstrap program is C3560 boot loader
BOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(25r)SEC, RELEASE SOFTWARE (fc4)
Switch uptime is 1 day, 17 hours, 17 minutes
System returned to ROM by power-on
System image file is "flash:c3560-ipservicesk9-
I've tried to change to ip multicast-routing instead of distributed, but it won't let me - just says incomplete command. What is the difference?
One is the router command the other is a layer 3 switch command. That is the correct command.
You are only running over two vlans and both of them need the multicast so it is not like you would be flooding out unneeded interfaces.