> CCR1036-12G-4S - OS 6.24
> single DHCP WAN in for internet
> multiple VLANS on ether12
> an external network connection to ether4 and ether5
Code: Select all
/interface bonding
add mode=balance-xor name=vlantrunck slaves=ether11,ether12\
transmit-hash-policy=layer-2-and-3
/interface vlan
add interface=vlantrunck name=VLAN99 vlan-id=99
/ip address
add address=192.168.99.1/24 interface=VLAN99
/interface vlan
add interface=vlantrunck name=vlan1 vlan-id=10
add interface=vlantrunck name=vlan2 vlan-id=20
add interface=vlantrunck name=vlan3 vlan-id=30
add interface=vlantrunck name=vlan4 vlan-id=40
add interface=vlantrunck name=vlan5 vlan-id=50
/ip address
add address=192.168.10.1/24 interface=vlan1
add address=192.168.20.1/24 interface=vlan2
add address=192.168.30.1/24 interface=vlan3
add address=192.168.40.1/24 interface=vlan4
add address=192.168.50.1/24 interface=vlan5
/ip pool
add name=vlan1_pool ranges=192.168.20.100-192.168.20.200
add name=vlan2_pool ranges=192.168.30.100-192.168.30.200
add name=vlan3_pool ranges=192.168.40.20-192.168.40.250
add name=vlan4_pool ranges=192.168.50.10-192.168.50.150
/ip dhcp-server
add address-pool=vlan1_pool disabled=no interface=IT120 name=IT120_DHCP
add address-pool=vlan2_pool disabled=no interface=EXECUTIVE130 name=EXECUTIVE130_DHCP
add address-pool=vlan3_pool disabled=no interface=STAFF140 name=STAFF140_DHCP
add address-pool=vlan4_pool disabled=no interface=WIFI150 name=WIFI150_DHCP
/ip dhcp-server network
add address=192.168.20.0/24 dns-server=192.168.20.1 gateway=192.168.20.1
add address=192.168.30.0/24 dns-server=192.168.30.1 gateway=192.168.30.1
add address=192.168.40.0/24 dns-server=192.168.40.1 gateway=192.168.40.1
add address=192.168.50.0/24 dns-server=192.168.50.1 gateway=192.168.50.1
/ip dns
set allow-remote-requests=yes servers=8.8.8.8
/ip firewall nat
add action=masquerade chain=srcnat out-interface=wan
> full access from Vlan2 to all other Vlans
> some specified access between other vlans
how do i communicate between Vlan2 to all other vlans with full access?
is interface bonding the way to do vlans on ccr?
if I upgrade CCR os from 6.2 to 6.4 will any configuration break down?
also is there an example page for CCR like "Manual:CRS1xx/2xx series switches examples" for CRS?
please guide me.