Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 2026-01-27 00:10:23 by RouterOS 7.20.6
- # software id = PGKS-2N17
- #
- # model = RB952Ui-5ac2nD
- /interface bridge add igmp-snooping=yes name=IPTV-bridge port-cost-mode=short protocol-mode=none
- /interface bridge add ingress-filtering=no name=LAN-bridge1 port-cost-mode=short protocol-mode=none vlan-filtering=yes
- /interface ethernet set [ find default-name=ether1 ] name=WAN
- /interface ethernet set [ find default-name=ether3 ] comment="to PC"
- /interface ethernet set [ find default-name=ether5 ] comment="to TV"
- /interface vlan add interface=WAN name=vlan35 vlan-id=35
- /interface list member add interface=LAN-bridge1 list=LAN
- /interface list add name=LAN
- /ip address add address=192.168.10.1/24 interface=LAN-bridge1 network=192.168.10.0
- /ip pool add name=dhcp ranges=192.168.10.2-192.168.10.254
- /ip dhcp-server add address-pool=dhcp interface=LAN-bridge1 lease-time=10m name=dhcp1
- /ip dhcp-client add interface=WAN
- /ip dhcp-server lease add address=192.168.10.254 client-id=1:e0:69:95:c0:eb:3c mac-address=E0:69:95:C0:EB:3C server=dhcp1
- /ip dhcp-server network add address=192.168.10.0/24 dns-server=1.1.1.1 gateway=192.168.10.1
- /interface bridge port add bridge=LAN-bridge1 ingress-filtering=no interface=ether2 internal-path-cost=10 path-cost=10
- /interface bridge port add bridge=LAN-bridge1 ingress-filtering=no interface=ether3 internal-path-cost=10 path-cost=10
- /interface bridge port add bridge=LAN-bridge1 ingress-filtering=no interface=ether4 internal-path-cost=10 path-cost=10
- /interface bridge port add bridge=IPTV-bridge ingress-filtering=no interface=ether5 internal-path-cost=10 path-cost=10
- /interface bridge port add bridge=IPTV-bridge ingress-filtering=no interface=vlan35 internal-path-cost=10 path-cost=10
- /interface bridge port add bridge=LAN-bridge1 ingress-filtering=no interface=wlan1-2ghx-bgn internal-path-cost=10 path-cost=10
- /interface bridge port add bridge=LAN-bridge1 ingress-filtering=no interface=wlan2-5ghx-acn internal-path-cost=10 path-cost=10
- /ip firewall nat add action=masquerade chain=srcnat src-address=192.168.10.0/24
Advertisement
Add Comment
Please, Sign In to add comment