mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
mcastmngr: fix multicast forwarding on untagged interface.
Modifying the lookup method for forwarding multicast packets enables forwarding on both tagged and untagged upstream interfaces. I have tested: - forwarding of traffic in untagged interface. - forwarding of traffic on tagged interface. - response to queries in above scenarios by upstream server. - forwarding of unsolicited joins and leaves to upstream server. I cannot see a fault at the moment
This commit is contained in:
parent
133c45e91d
commit
3f6c55a86d
2 changed files with 11 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ NAME=mcast
|
|||
include /lib/network
|
||||
include /lib/mcast
|
||||
|
||||
|
||||
service_triggers() {
|
||||
procd_add_reload_trigger network $NAME
|
||||
}
|
||||
|
|
@ -24,6 +25,11 @@ start_service() {
|
|||
procd_close_instance
|
||||
}
|
||||
|
||||
boot() {
|
||||
setup_mcast_mode
|
||||
start
|
||||
}
|
||||
|
||||
stop_service() {
|
||||
service_stop $PROG_EXE
|
||||
}
|
||||
|
|
|
|||
|
|
@ -395,6 +395,11 @@ config_global_params() {
|
|||
echo $mldv2_unsolicited_report_interval > /proc/sys/net/ipv6/conf/all/mldv2_unsolicited_report_interval
|
||||
}
|
||||
|
||||
setup_mcast_mode() {
|
||||
# set the mode at chip to allow both tagged and untagged multicast forwarding
|
||||
bs /b/c iptv lookup_method=group_ip_src_ip
|
||||
}
|
||||
|
||||
configure_mcast() {
|
||||
rm -f $CONFFILE
|
||||
touch $CONFFILE
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue