Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # jan/02/1970 00:42:14 by RouterOS 6.20
- # software id = LYTR-2YUB
- #
- /interface bridge
- add arp=proxy-arp mtu=1500 name=bridge-iptv protocol-mode=none
- add admin-mac=D4:CA:6D:E5:BA:05 auto-mac=no name=bridge-local
- /interface ethernet
- set [ find default-name=ether1 ] name=ether1-gateway
- set [ find default-name=ether2 ] name=ether2-master-local
- set [ find default-name=ether3 ] master-port=ether2-master-local name=ether3-slave-local
- set [ find default-name=ether4 ] arp=proxy-arp name=ether4-iptv
- set [ find default-name=ether5 ] name=ether5-vdsl
- /interface wireless
- set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=\
- 20/40mhz-ht-above disabled=no distance=indoors l2mtu=2290 mode=ap-bridge \
- ssid=MikroTik-E5BA09
- /ip neighbor discovery
- set ether1-gateway discover=no
- /interface vlan
- add arp=disabled interface=ether5-vdsl l2mtu=1594 name=vlan-xs4all-inet vlan-id=6
- add arp=proxy-arp interface=ether5-vdsl l2mtu=1594 name=vlan-xs4all-iptv vlan-id=4
- /ip neighbor discovery
- set vlan-xs4all-inet discover=no
- /ip pool
- add name=dhcp ranges=172.16.32.11-172.16.32.80
- /ip dhcp-server
- add address-pool=dhcp disabled=no interface=bridge-local name=default
- /interface pppoe-client
- add ac-name="" add-default-route=yes allow=pap,mschap2 \
- default-route-distance=1 dial-on-demand=no disabled=no interface=\
- vlan-xs4all-inet keepalive-timeout=60 max-mru=1492 max-mtu=1492 mrru=\
- disabled name=pppoe-xs4all-inet password=xs4all profile=default \
- service-name="" use-peer-dns=yes user=pppoe@xs4all.nl
- /ip neighbor discovery
- set pppoe-xs4all-inet discover=no
- /system logging action
- set 2 remember=yes
- /interface bridge port
- add bridge=bridge-local interface=ether2-master-local
- add bridge=bridge-local interface=wlan1
- add bridge=bridge-iptv interface=ether4-iptv
- add bridge=bridge-iptv interface=vlan-xs4all-iptv
- /ip address
- add address=172.16.32.1/24 interface=ether2-master-local network=172.16.32.0
- add address=172.16.30.1/24 interface=ether5-vdsl network=172.16.30.0
- /ip dhcp-client
- add comment="default configuration" dhcp-options=hostname,clientid disabled=\
- no interface=ether1-gateway
- /ip dhcp-server config
- set store-leases-disk=never
- /ip dhcp-server network
- add address=172.16.32.0/24 dns-server=172.16.32.1 gateway=172.16.32.1
- /ip dns
- set allow-remote-requests=yes
- /ip dns static
- add address=172.16.32.1 name=router
- /ip firewall filter
- add chain=input comment="default configuration" protocol=icmp
- add chain=input comment="default configuration" connection-state=established
- add chain=input comment="default configuration" connection-state=related
- add action=drop chain=input in-interface=vlan-xs4all-inet
- add action=drop chain=input in-interface=ether5-vdsl
- add action=drop chain=input in-interface=pppoe-xs4all-inet
- add chain=forward comment="default configuration" connection-state=established
- add chain=forward comment="default configuration" connection-state=related
- add action=drop chain=forward comment="default configuration" connection-state=invalid
- /ip firewall nat
- add action=masquerade chain=srcnat out-interface=pppoe-xs4all-inet
- add action=masquerade chain=srcnat out-interface=ether5-vdsl
- /ip route
- add disabled=yes distance=1 gateway=172.16.30.2
- /ip upnp
- set allow-disable-external-interface=no
- /snmp
- set trap-community=public
- /system leds
- set 0 interface=wlan1
- /tool mac-server
- set [ find default=yes ] disabled=yes
- add interface=ether2-master-local
- add interface=ether3-slave-local
- add interface=ether4-iptv
- add interface=ether5-vdsl
- add interface=wlan1
- add interface=bridge-local
- /tool mac-server mac-winbox
- set [ find default=yes ] disabled=yes
- add interface=ether2-master-local
- add interface=ether3-slave-local
- add interface=ether4-iptv
- add interface=ether5-vdsl
- add interface=wlan1
- add interface=bridge-local
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement