BGP parameters:
Exchange AS number : AS1
Member AS number : AS2
BGP password : <masked>
IP parameters:
CPE WAN IP Address : CPE_WAN_IP
CPE LAN IP Address : CPE_LAN_IP
Device IP Address : CPE_TAP_IP
CPE Configuration:
Ip multicast-routing
Interface Gi x/x
description **POP_WAN LINK***
ip address CPE_WAN_IP 255.255.255.252
ip pim sparse-mode
Interface Gi x/y
description **To_Member_LAN***
Ip address CPE_LAN_IP 255.255.255.240
ip pim sparse-mode
router bgp AS2
neighbor REMOTE_IP remote-as AS1
neighbor REMOTE_IP password <masked>
network ASSIGNED_NETWORK mask 255.255.255.240
!
ip pim rp-address RP_P prod-mcast override
ip pim rp-address RP_D dev-mcast override
!
ip access-list standard prod-mcast
remark Production Multicast streams
permit 239.50.50.0 0.0.0.255
permit 239.50.52.0 0.0.0.255
permit 239.49.49.0 0.0.0.255
permit 239.50.51.0 0.0.0.255
permit 239.55.55.0 0.0.0.255
permit 239.90.90.0 0.0.0.255
!
ip access-list standard dev-mcast
remark Development Multicast Streams
permit 239.100.39.0 0.0.0.255
!
I have been trying to configure BGP and PIM-SM on my hEX router using winBOX. But I haven’t been able to. BGP seems to be working, I can see around 2000 BGP learnt routes in IP→Routes. But the end goal is to receive multicast UDP data through PIM-SM which I haven’t been able to. IGMP join packets are going from the CPE_TAP_IP to 224.0.0.22, but thats about it as far as I can see. Can someone help me out here?
We need this setup urgently.
Thanks
Edit:
I am trying to mimic the cisco configuration.
My current config:
[admin@MikroTik] > /export hide-sensitive
# 1970-01-02 00:11:02 by RouterOS 7.16.2
# software id = Z32V-SNQC
#
# model = RB750Gr3
/routing bgp template add as=AS2 disabled=no name=default router-id=CPE_WAN_IP
/routing pimsm instance add disabled=no name=NSE-PIM vrf=main
/ip address
add address=CPE_WAN_IP/30 comment=NSE_POP_WAN interface=ether1 network=CPE_WAN_NETWORK
add address=CPE_LAN_IP/28 comment=Member_LAN interface=ether2 network=CPE_LAN_NETWORK
/ip firewall filter
add action=accept chain=input comment="Allow PIM" protocol=pim
add action=accept chain=forward comment="Allow Multicast" dst-address=224.0.0.0/4 add action=accept chain=input comment="Allow PIM" protocol=pim
add action=accept chain=input comment="Allow IGMP" protocol=igmp
add action=accept chain=forward comment="Allow Multicast" dst-address=224.0.0.0/4 /ip route add dst-address=0.0.0.0/0 gateway=REMOTE_IP
/routing bgp connection add disabled=no local.role=ebgp name=NSE output.redistribute=connected remote.address=REMOTE_IP/32 .as=AS1 templates=default /routing pimsm interface-template add disabled=no instance=NSE-PIM interfaces=ether1 add disabled=no instance=NSE-PIM interfaces=ether2
/routing pimsm static-rp
add address=RP_P disabled=no group=239.49.49.0/24 instance=NSE-PIM
add address=RP_P disabled=no group=239.50.50.0/24 instance=NSE-PIM
add address=RP_P disabled=no group=239.50.51.0/24 instance=NSE-PIM
add address=RP_P disabled=no group=239.50.52.0/24 instance=NSE-PIM
add address=RP_P disabled=no group=239.55.55.0/24 instance=NSE-PIM
add address=RP_P disabled=no group=239.90.90.0/24 instance=NSE-PIM
add address=RP_D disabled=no group=239.100.39.0/24 instance=NSE-PIM
/system note set show-at-login=no
BGP is working, PIM-SM is showing neighbor, but I can’t see multicast UDP packets.
