Community discussions

MikroTik App
 
Silencept
just joined
Topic Author
Posts: 9
Joined: Thu Mar 08, 2012 4:48 am

Configure RB750 for IPTV

Thu Mar 08, 2012 4:56 am

Hi.

I've been struggling to get my RB750 to work for IPTV.

My ISP uses Vlan10 for internet/PPPOE and i've configured it successfully.
My problem is that Multicast comes from VLAN12 and i dont seem to get an IP address in the DHCP client i have for that vlan.
Is there any configuration i'm missing ?

This is my current configuration
[admin@MikroTik] > interface vlan print
Flags: X - disabled, R - running, S - slave
 #    NAME                    MTU ARP        VLAN-ID INTERFACE
 0 R  vlan.10                1500 enabled         10 ether1-gateway
 1 R  vlan.12                1500 enabled         12 ether1-gateway
[admin@MikroTik] > ip dhcp-client print
Flags: X - disabled, I - invalid
 #   INTERFACE                         USE ADD STATUS        ADDRESS
 0   vlan.12                           yes yes searching...
[admin@MikroTik] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
 #   ADDRESS            NETWORK         INTERFACE
 0   192.168.2.254/24   192.168.2.0     ether2-master-local
 1 D 188.83.122.18/32   194.65.169.237  IPTV-Internet
Thanks in advance,
 
User avatar
cbrown
Trainer
Trainer
Posts: 1839
Joined: Thu Oct 14, 2010 8:57 pm
Contact:

Re: Configure RB750 for IPTV

Thu Mar 08, 2012 3:24 pm

Please post /ip address print /ip firewall export /interfaces print detail /ip route print detail
 
Silencept
just joined
Topic Author
Posts: 9
Joined: Thu Mar 08, 2012 4:48 am

Re: Configure RB750 for IPTV

Thu Mar 08, 2012 4:46 pm

Hi ,

Here it is.
[admin@MikroTik] > /ip address print
Flags: X - disabled, I - invalid, D - dynamic
 #   ADDRESS            NETWORK         INTERFACE
 0   192.168.2.254/24   192.168.2.0     ether2-master-local
 1 D 188.83.116.35/32   194.65.169.237  IPTV-Internet
[admin@MikroTik] > ip firewall export
# mar/08/2012 14:39:15 by RouterOS 5.14
# software id = I5JN-MNY5
#
/ip firewall connection tracking
set enabled=yes generic-timeout=10m icmp-timeout=10s tcp-close-timeout=10s \
    tcp-close-wait-timeout=10s tcp-established-timeout=1d \
    tcp-fin-wait-timeout=10s tcp-last-ack-timeout=10s \
    tcp-syn-received-timeout=5s tcp-syn-sent-timeout=5s tcp-syncookie=no \
    tcp-time-wait-timeout=10s udp-stream-timeout=3m udp-timeout=10s
/ip firewall filter
add action=accept chain=input comment="default configuration" disabled=no \
    protocol=icmp
add action=accept chain=input comment="default configuration" \
    connection-state=established disabled=no in-interface=ether1-gateway
add action=accept chain=input comment="default configuration" \
    connection-state=related disabled=no in-interface=ether1-gateway
add action=accept chain=input disabled=no in-interface=vlan.10
add action=accept chain=input disabled=no in-interface=vlan.12
add action=accept chain=input disabled=no protocol=igmp
add action=accept chain=input disabled=no protocol=udp
add action=accept chain=forward disabled=no protocol=udp
add action=accept chain=input disabled=no in-interface=ether1-gateway
add action=drop chain=input comment="default configuration" disabled=no \
    in-interface=ether1-gateway
/ip firewall nat
add action=masquerade chain=srcnat disabled=no out-interface=IPTV-Internet
add action=masquerade chain=srcnat disabled=no out-interface=vlan.12
/ip firewall service-port
set ftp disabled=no ports=21
set tftp disabled=no ports=69
set irc disabled=no ports=6667
set h323 disabled=no
set sip disabled=no ports=5060,5061 sip-direct-media=yes
set pptp disabled=no
[admin@MikroTik] > /interface print detail
Flags: D - dynamic, X - disabled, R - running, S - slave
 0     name="ether1-gateway" type="ether" mtu=1500 l2mtu=1598 max-l2mtu=4074

 1  R  name="ether2-master-local" type="ether" mtu=1500 l2mtu=1598
       max-l2mtu=4074

 2     name="ether3-slave-local" type="ether" mtu=1500 l2mtu=1598
       max-l2mtu=4074

 3     name="ether4-slave-local" type="ether" mtu=1500 l2mtu=1598
       max-l2mtu=4074

 4     name="ether5-slave-local" type="ether" mtu=1500 l2mtu=1598
       max-l2mtu=4074

 5     name="vlan.10" type="vlan" mtu=1500 l2mtu=1594

 6     name="vlan.12" type="vlan" mtu=1500 l2mtu=1594

 7     name="IPTV-Internet" type="pppoe-out"
[admin@MikroTik] > /ip route print detail
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
 0 ADS  dst-address=0.0.0.0/0 gateway=194.65.169.237
        gateway-status=194.65.169.237 reachable via  IPTV-Internet distance=1
        scope=30 target-scope=10

 1 ADC  dst-address=192.168.2.0/24 pref-src=192.168.2.254
        gateway=ether2-master-local
        gateway-status=ether2-master-local reachable distance=0 scope=10

 2 ADC  dst-address=194.65.169.237/32 pref-src=188.83.116.35
        gateway=IPTV-Internet gateway-status=IPTV-Internet reachable
 
User avatar
cbrown
Trainer
Trainer
Posts: 1839
Joined: Thu Oct 14, 2010 8:57 pm
Contact:

Re: Configure RB750 for IPTV

Thu Mar 08, 2012 5:16 pm

Does the IPTV use DHCP or PPPoE?
 
Silencept
just joined
Topic Author
Posts: 9
Joined: Thu Mar 08, 2012 4:48 am

Re: Configure RB750 for IPTV

Thu Mar 08, 2012 6:52 pm

PPPOE is for the internet connection that goes through VLAN10.
IPTV uses DHCP in a network 10.* that goes through VLAN12.

The Internet connection is working fine , i just cant get a DHCP lease from VLAN12.
 
Silencept
just joined
Topic Author
Posts: 9
Joined: Thu Mar 08, 2012 4:48 am

Re: Configure RB750 for IPTV

Fri Mar 09, 2012 3:57 am

I found the problem.
It seems my ISP requires Option 60 to be configured in the DHCP client.
It has to send a Vendor-class-ID or it wont make an IP Offer.
Does anybody have an Idea if this option is available in RouterOS DHCP Client?
 
User avatar
cbrown
Trainer
Trainer
Posts: 1839
Joined: Thu Oct 14, 2010 8:57 pm
Contact:

Re: Configure RB750 for IPTV

Fri Mar 09, 2012 2:11 pm

I see you already posted in this thread.

http://forum.mikrotik.com/viewtopic.php?f=2&t=46855
 
Silencept
just joined
Topic Author
Posts: 9
Joined: Thu Mar 08, 2012 4:48 am

Re: Configure RB750 for IPTV

Fri Mar 09, 2012 4:02 pm

Yes , i did , its back to the drawing board for me ... I thought Mikrotik was the answer to my issues with my ISP's router:)

Well , looks like i'll have to wait.

Who is online

Users browsing this forum: Amazon [Bot], Bing [Bot], ShindigNZ and 141 guests