NetLAB.si: HowTo Telekom-Slovenije TV VLAN`s with hardware offloading

Short tutorial how to connect Telekom Slovenija TV behind MikroTik Routerboard products, with VLAN hardware offloading. And establishe-ing PPPoE connection on the same MikroTik router. The configuration is made on VM MikroTik for demonstration purpose, hope didnt make some mistkae, when quickly tried to demonstrate the proper configuration.

Quick video configuration:

 [admin@MikroTik] > export
# mar/01/2020 10:36:24 by RouterOS 6.46.4
# software id = 0XYZ-CFZR
#
#
#
/interface bridge
add name=bridge-master vlan-filtering=yes
/interface ethernet
set [ find default-name=ether1 ] name="Eth1 - TelekomModem-Trunk"
set [ find default-name=ether2 ] name="Eth2 - LAN"
set [ find default-name=ether3 ] name="Eth3 - TV"
/interface vlan
add interface=bridge-master name=Vlan10-LAN vlan-id=10
add interface=bridge-master name=Vlan20-TS-PPPoE vlan-id=20
/interface pppoe-client
add add-default-route=yes disabled=no interface=Vlan20-TS-PPPoE name=TS-PPPoE-Client password=ingeslo use-peer-dns=yes user=tvojeuporabniskoime
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=LAN-Vlan10-pool ranges=192.168.10.20-192.168.10.254
/ip dhcp-server
add address-pool=LAN-Vlan10-pool disabled=no interface=Vlan10-LAN lease-time=1w3d name=DHCP-LAN-Vlan10
/lora servers
add address=eu.mikrotik.thethings.industries down-port=1700 name=TTN-EU up-port=1700
add address=us.mikrotik.thethings.industries down-port=1700 name=TTN-US up-port=1700
/tool user-manager customer
set admin access=own-routers,own-users,own-profiles,own-limits,config-payment-gw
/interface bridge port
add bridge=bridge-master interface="Eth1 - TelekomModem-Trunk" pvid=20
add bridge=bridge-master interface="Eth2 - LAN" pvid=10
add bridge=bridge-master interface="Eth3 - TV" pvid=10
/interface bridge vlan
add bridge=bridge-master comment=LAN tagged=bridge-master vlan-ids=10
add bridge=bridge-master comment="PPPoE - Native vlan proti Telekom modem" tagged=bridge-master vlan-ids=20
add bridge=bridge-master comment="#Taggeg vlan on Eth1-TS modem nad Eth3-TV" tagged="Eth1 - TelekomModem-Trunk,Eth3 - TV" vlan-ids=3999
/ip address
add address=192.168.10.1/24 interface=Vlan10-LAN network=192.168.10.0
/ip cloud
set update-time=no
/ip dhcp-server network
add address=192.168.10.0/24 dns-server=192.168.10.1 gateway=192.168.10.1
/ip dns
set allow-remote-requests=yes servers=8.8.8.8
/ip firewall filter
add action=accept chain=forward comment="forward established, related" connection-state=established,related
add action=accept chain=forward comment="LAN forward all" src-address=192.168.10.0/24
add action=accept chain=forward comment="#D-NAT forward" connection-nat-state=dstnat
add action=drop chain=forward comment="DROP forward"
add action=accept chain=input comment="#INPUT established, related" connection-state=established,related
add action=accept chain=input comment="LAN input all" src-address=192.168.10.0/24
add action=drop chain=input comment="DROP input"
/ip firewall nat
# TS-PPPoE-Client not ready
add action=masquerade chain=srcnat out-interface=TS-PPPoE-Client
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set api disabled=yes
set api-ssl disabled=yes
/system lcd
set contrast=0 enabled=no port=parallel type=24x4
/system lcd page
set time disabled=yes display-time=5s
set resources disabled=yes display-time=5s
set uptime disabled=yes display-time=5s
set packets disabled=yes display-time=5s
set bits disabled=yes display-time=5s
set version disabled=yes display-time=5s
set identity disabled=yes display-time=5s
set bridge-master disabled=yes display-time=5s
set TS-PPPoE-Client disabled=yes display-time=5s
set "Eth1 - TelekomModem-Trunk" disabled=yes display-time=5s
set "Eth2 - LAN" disabled=yes display-time=5s
set "Eth3 - TV" disabled=yes display-time=5s
set Vlan10-LAN disabled=yes display-time=5s
set Vlan20-TS-PPPoE disabled=yes display-time=5s
/system ntp client
set enabled=yes primary-ntp=193.2.4.2 secondary-ntp=193.2.4.6
/tool bandwidth-server
set enabled=no
/tool user-manager database
set db-path=user-manager

 

 

 

 

Categories:

Comments are closed

Hello