cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1225
Views
0
Helpful
6
Replies

Question about routing multicast

dan_track
Level 1
Level 1

Hi

I've got two WAN links (1G each) I'd like some multicast data i.e from some multicast groups,  to primarily use WAN1 as their primary route and WAN2 as their backup, whilst at the same time all other traffic uses WAN2 as the primary and WAN1 as the backup.

My question is what technology would allow me to do that?

Thanks

Dan

6 Replies 6

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Dan,

unicast routing can be influenced using modified costs so that WAN2 is preferred over WAN1

you can influence multicast routing using ip mroute command for the sources of multicast traffic pointing or unicast static routes for the sources

Another tool you can use is policy based routing to move unicast traffic over the link you want to use.

In this way multicast routing will follow unicast routing best paths and you can move unicast traffic flows with PBR.

Hope to help

Giuseppe

Thanks for that.

If I use pbr to influence unicast routing, wouldn't that mean that unicast would be flowing down the WAN1, which should only be having multicast data on it? Can you please give me an example on this?

Thanks

Dan

Hello Dan,

PBR does not change the IP routing table and that is the clean advantage of its use in your scenario.

example:

let's suppose we use WAN1 for multicast and WAN2 for unicast.

We make WAN1 the preferred link by giving it both sides the lowest cost.

int WAN1

ip router ospf 10 area 0

ip ospf cost 10

ip pim sparse-dense-mode

int WAN2

ip router ospf 10 area 0

ip ospf cost 20

ip pim sparse-dense-mode

on internal LAN(s) we put PBR

! multicast traffic appears only as destination traffic

access-list 111 remark unicast traffic

access-list 111 deny ip any 224.0.0.0 15.255.255.255

access-list 111 permit ip any any

route-map divert_unicast permit 10

match ip address 111

set ip next-hop WAN2-next-hop-ip-address

int LAN

ip policy route-map divert_unicast

!

the configuration has to be applied on both sides on both routers.

A key point is that PBR does not apply to packets that are locally generated on routers, so OSPF hellos and PIM messages are still sent out WAN1 link.

if WAN2 fails all traffic, unicast and multicast, goes on WAN1

if WAN1 fails all traffic, unicast and multicast,  goes on WAN2

BGP as suggested by Edison can be used to differentiate paths for unicast and multicast and can be used when we want  to keep separate paths.

BGP multi protocol is used for this by making difference between address family ipv4 unicast and ipv4 multicast.

A network command in address family ipv4 multicast means an advertisement of a possible multicast sources in that IP subnet and allows the RPF check to be passed.

a possible link

http://www.cisco.com/en/US/docs/ios/12_0t/12_0t7/feature/guide/mbgp.html

Hope to help

Giuseppe

Edison Ortiz
Hall of Fame
Hall of Fame

In addition to Giuseppe's fine recommendations, you can also use BGP

http://www.cisco.com/en/US/docs/ios/12_0t/12_0t7/feature/guide/mbgp.html#wp1021792

Regards

Edison

dan_track
Level 1
Level 1

Hi,

Thanks for the link, however, it isn't working as the page is not found. Can you repost please.

Thanks

Dan

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco