Add static routes for IGMP multicast

For example, I have a server model with 2 network cards, and sometimes by default the IGMP packets don’t run to the correct card required (the KRX up card in the picture).

If the server wins:

Windows:

– Set default route to point to KRX

-The following routes then need to be added so that multicast request packets (IGMP packets) from departments reach the correct network card:

route add -p 224.0.0.0 mask 240.0.0.0 (IP gateway to KRX)

If the server is Linux, such as centos:

Centos:

nano/etc/sysconfig/network-scripts/route-eth0

add to row

224.0.0.0/4 via 172.24.100.1 dev eth0