Upcoming Maintenance Alert:

The UBNT Community will be upgraded at 5pm MDT on April 25th. During this time the community forums will be set to read-only status.

Learn more

×
Reply
New Member
Posts: 4
Registered: ‎12-22-2016
Kudos: 1

Need help to set up IPTV/IGMP on EdgeMax

I tried to setup my IPTV as below configuration, but I got nothing else except black screen on TV Box.

It very simple to setup on Draytek router, but on EdgeMax Smiley Sad

 

1. Topology:

Internet<--->GPON ONT(bridge mode)<---[eth0]EdgeMax[eth1]<--->TVBox

2. Configuration: 

admin@ubnt:~$ show configuration
firewall {
    all-ping enable
    broadcast-ping disable
    ipv6-receive-redirects disable
    ipv6-src-route disable
    ip-src-route disable
    log-martians enable
    name WAN_IN {
        default-action drop
        description "WAN to internal"
        rule 10 {
            action accept
            description "Allow IPTV Multicast UDP"
            destination {
                address 0.0.0.0/0
            }
            log enable
            protocol all
            source {
                address 0.0.0.0/0
            }
        }
        rule 20 {
            action accept
            description IGMP
            log disable
            protocol igmp
        }
        rule 30 {
            action accept
            description "Allow established/related"
            state {
                established enable
                related enable
            }
        }
        rule 40 {
            action drop
            description "Drop invalid state"
            state {
                invalid enable
            }
        }
    }
    name WAN_LOCAL {
        default-action drop
        description "WAN to router"
        rule 10 {
admin@ubnt:~$
admin@ubnt:~$ show configuration
firewall {
    all-ping enable
    broadcast-ping disable
    ipv6-receive-redirects disable
    ipv6-src-route disable
    ip-src-route disable
    log-martians enable
    name WAN_IN {
        default-action drop
        description "WAN to internal"
        rule 10 {
            action accept
            description "Allow IPTV Multicast UDP"
            destination {
                address 0.0.0.0/0
            }
            log enable
            protocol all
            source {
                address 0.0.0.0/0
            }
        }
        rule 20 {
            action accept
            description IGMP
            log disable
            protocol igmp
        }
        rule 30 {
            action accept
            description "Allow established/related"
            state {
                established enable
                related enable
            }
        }
        rule 40 {
            action drop
            description "Drop invalid state"
            state {
                invalid enable
            }
        }
    }
    name WAN_LOCAL {
        default-action drop
        description "WAN to router"
        rule 10 {
            action accept
            description "Allow IPTV Multicast UDP"
            destination {
                address 0.0.0.0/0
            }
            log enable
            protocol all
            source {
                address 0.0.0.0/0
            }
        }
        rule 20 {
            action accept
            description IGMP
            log disable
            protocol igmp
        }
        rule 30 {
            action accept
            description "Allow established/related"
            state {
                established enable
                related enable
            }
        }
        rule 40 {
            action drop
            description "Drop invalid state"
            state {
                invalid enable
            }
        }
    }
    options {
        mss-clamp {
            mss 1412
        }
    }
    receive-redirects disable
    send-redirects enable
    source-validation disable
    syn-cookies enable
}
interfaces {
    ethernet eth0 {
        description "Internet (PPPoE)"
        duplex auto
        pppoe 0 {
            default-route auto
            firewall {
                in {
                    name WAN_IN
                }
                local {
                    name WAN_LOCAL
                }
            }
            mtu 1492
            name-server auto
            password ****************
            user-id bdfdl-160414-812
        }
        speed auto
    }
    ethernet eth1 {
        description Local
        duplex auto
        speed auto
    }
    ethernet eth2 {
        description Local
        duplex auto
        speed auto
    }
    ethernet eth3 {
        description Local
        duplex auto
        speed auto
    }
    ethernet eth4 {
        description Local
        duplex auto
        poe {
            output pthru
        }
        speed auto
    }
    loopback lo {
    }
    switch switch0 {
        address 192.168.1.1/24
        description Local
        mtu 1500
        switch-port {
            interface eth1 {
            }
            interface eth2 {
            }
            interface eth3 {
            }
            interface eth4 {
            }
            vlan-aware disable
        }
    }
}
protocols {
    igmp-proxy {
        interface eth0 {
            alt-subnet 0.0.0.0/0
            role upstream
            threshold 1
        }
        interface eth1 {
            alt-subnet 0.0.0.0/0
            role downstream
            threshold 1
        }
    }
}
service {
    dhcp-server {
        disabled false
        hostfile-update disable
        shared-network-name LAN {
            authoritative enable
            subnet 192.168.1.0/24 {
                default-router 192.168.1.1
                dns-server 192.168.1.1
                lease 86400
                start 192.168.1.38 {
                    stop 192.168.1.243
                }
            }
        }
        use-dnsmasq disable
    }
    dns {
        forwarding {
            cache-size 150
            listen-on switch0
        }
    }
    gui {
        http-port 80
        https-port 443
        older-ciphers enable
    }
    nat {
        rule 5010 {
            description "masquerade for WAN"
            outbound-interface pppoe0
            type masquerade
        }
    }
    ssh {
        port 22
        protocol-version v2
    }
}
system {
    host-name ubnt
    login {
        user admin {
            authentication {
                encrypted-password ****************
            }
            level admin
        }
    }
    ntp {
        server 0.ubnt.pool.ntp.org {
        }
        server 1.ubnt.pool.ntp.org {
        }
        server 2.ubnt.pool.ntp.org {
        }
        server 3.ubnt.pool.ntp.org {
        }
    }
    syslog {
        global {
            facility all {
                level notice
            }
            facility protocols {
                level debug
            }
        }
    }
    time-zone UTC
}
admin@ubnt:~$ show ip
ip    ipv6
admin@ubnt:~$ show ip multicast interfaces
Intf             BytesIn        PktsIn      BytesOut       PktsOut            Local
admin@ubnt:~$ show ip multicast mfc
admin@ubnt:~$ ps aux|grep igmp
admin     8123  0.0  0.2   2328   524 pts/1    S+   04:10   0:00 /bin/busybox grep igmp
admin@ubnt:~$

Please do help!

Senior Member
Posts: 2,807
Registered: ‎05-15-2014
Kudos: 953
Solutions: 199

Re: Need help to set up IPTV/IGMP on EdgeMax

You have it on incorrect intrface, your WAN is pppoe0.

 

protocols {
    igmp-proxy {
        interface eth0 pppoe0 {
            alt-subnet 0.0.0.0/0
            role upstream
            threshold 1
        }
        interface eth1 {
            alt-subnet 0.0.0.0/0
            role downstream
            threshold 1
        }
    }
}

Similarly adjust your firewall rules.

TEKUX - IT Consulting and Services
New Member
Posts: 4
Registered: ‎12-22-2016
Kudos: 1

Re: Need help to set up IPTV/IGMP on EdgeMax


BranoB wrote:

You have it on incorrect intrface, your WAN is pppoe0.

 

protocols {
    igmp-proxy {
        interface eth0 pppoe0 {
            alt-subnet 0.0.0.0/0
            role upstream
            threshold 1
        }
        interface eth1 {
            alt-subnet 0.0.0.0/0
            role downstream
            threshold 1
        }
    }
}

Similarly adjust your firewall rules.


Thank you so much for your support, now I have multicast result as folllows but IPTV still got black screen. Firewall was set accept all as origin post. Could you please help?

admin@ubnt:~$ show ip multicast mfc 
Group           Origin           In          Out                Pkts         Bytes  Wrong
239.255.255.250 192.168.1.192    pppoe0      switch0             276       54.45KB    276
239.255.255.250 192.168.1.38     pppoe0      switch0             351       68.30KB    351
239.255.255.250 192.168.1.200    pppoe0      switch0             247       71.13KB    247
admin@ubnt:~$ show ip multicast interfaces 
Intf             BytesIn        PktsIn      BytesOut       PktsOut            Local
switch0            0.00b             0         0.00b             0      192.168.1.1
pppoe0             0.00b             0         0.00b             0      1.52.242.90
admin@ubnt:~$ 
Highlighted
Senior Member
Posts: 2,807
Registered: ‎05-15-2014
Kudos: 953
Solutions: 199

Re: Need help to set up IPTV/IGMP on EdgeMax

Sorry, one more adjustment

 

protocols {
    igmp-proxy {
        interface eth0 pppoe0 {
            alt-subnet 0.0.0.0/0
            role upstream
            threshold 1
        }
        interface eth1 switch0 {
            alt-subnet 0.0.0.0/0
            role downstream
            threshold 1
        }
    }
}
TEKUX - IT Consulting and Services
New Member
Posts: 4
Registered: ‎12-22-2016
Kudos: 1

Re: Need help to set up IPTV/IGMP on EdgeMax

I already changed configuration as you said, but issue stay the same, only black screen.

admin@ubnt:~$ show ip multicast mfc 
Group           Origin           In          Out                Pkts         Bytes  Wrong
239.255.255.250 192.168.1.70     pppoe0      switch0             841      125.66KB    841
239.255.255.250 192.168.1.200    pppoe0      switch0              34        7.12KB     34
239.255.255.250 192.168.1.38     pppoe0      switch0             124       24.46KB    124
239.255.255.250 192.168.1.192    pppoe0      switch0             128       25.25KB    128
admin@ubnt:~$ show ip multicast interfaces 
Intf             BytesIn        PktsIn      BytesOut       PktsOut            Local
switch0            0.00b             0         0.00b             0      192.168.1.1
pppoe0             0.00b             0         0.00b             0      1.53.68.241

admin@ubnt:~$ configure 
[edit]
admin@ubnt# show protocols 
 igmp-proxy {
     interface pppoe0 {
         alt-subnet 0.0.0.0/0
         role upstream
         threshold 1
     }
     interface switch0 {
         alt-subnet 0.0.0.0/0
         role downstream
         threshold 1
     }
 }
[edit]
admin@ubnt# 
New Member
Posts: 4
Registered: ‎12-22-2016
Kudos: 1

Re: Need help to set up IPTV/IGMP on EdgeMax


BranoB wrote:

Sorry, one more adjustment

 

protocols {
    igmp-proxy {
        interface eth0 pppoe0 {
            alt-subnet 0.0.0.0/0
            role upstream
            threshold 1
        }
        interface eth1 switch0 {
            alt-subnet 0.0.0.0/0
            role downstream
            threshold 1
        }
    }
}

Could you please do help base on above status?

Reply