Skip to content

Instantly share code, notes, and snippets.

@lukemarsden
Created March 19, 2018 13:16
Show Gist options
  • Select an option

  • Save lukemarsden/2781c34639e710ea66976bcfc7297c82 to your computer and use it in GitHub Desktop.

Select an option

Save lukemarsden/2781c34639e710ea66976bcfc7297c82 to your computer and use it in GitHub Desktop.
/interface bridge port
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
/ip address
# LAN
add address=192.168.88.1/24 comment=defconf interface=ether5 network=\
192.168.88.0
# default route for AAISP - XXX should ether1 be pppoe-out1?
add address=192.168.89.1/24 comment="aaisp default route" interface=ether1 network=\
192.168.89.0
# default route for virgin
add address=192.168.90.1/24 comment="virgin default route" interface=ether2 network=\
192.168.90.0
/ip dhcp-client
add comment=defconf dhcp-options=hostname,clientid interface=ether1
# DHCP for virgin media
add add-default-route=no dhcp-options=hostname,clientid disabled=no \
interface=ether2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment