![]() ![]() Note the PPPoE credentials are set for a Spark connection, so be sure to update the user and password to match your provider.Īdd interface=ether1 name=vlan10 vlan-id=10Īdd add-default-route=yes disabled=no interface=vlan10 name=pppoe-out1 \Īdd name=dhcp_pool0 ranges=192.168.88.25-192.168.88.250Īdd address-pool=dhcp_pool0 interface=bridge1 lease-time=1h name=dhcp1Īdd address=192.168.88.1/24 interface=bridge1 network=192.168.88.0Īdd address=192.168.88.0/24 dns-server=192.168.88.1 gateway=192.168.88.1Īdd action=accept chain=input comment="accept established,related,untracked" \Ĭonnection-state=established,related,untrackedĪdd action=drop chain=input comment="drop invalid" connection-state=invalidĪdd action=accept chain=input comment="accept ICMP" protocol=icmp Additional ports can be added to the bridge at the end of the script. ![]() This script will configure Ether1 as the WAN port with VLAN10 + PPPoE Client, and Ether2 as the LAN port. Simply copy and paste the full script below (include the #) into the MikroTik terminal. system/reset-configuration no-defaults=yes # Warning, this will erase all configuration and require connection via MAC Address in WinBox The script assumes you have a blank Routerboard, if your device has existing configuration you should run this command before loading the script: This is a basic PPPoE with VLAN10 Fibre configuration script for MikroTik Routers running the latest RouterOS V7. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |