Hello,
can someone please help me with this exapmle:
default vlan1 192.168.1.0/24,
vlan100 – 192.168.100.0/24,
vlan9 – 192.168.9.0/24,
vlan3 -192.168.3.0/24
gateway for all x.y.z.254
dns 8.8.8.8, 1.1.1.1
for all DHCP x.150-199
port 5 WAN DHCP-client
ETH1 only utagged 192.168.1.0
ETH2 only untagged 192.168.100.0
ETH3 untagged vlan1 and tagged VLAN 100,3,9
my config:
# model = RB750Gr3
/interface bridge
add name=BRIDGE-TEST vlan-filtering=yes
/interface ethernet
set [ find default-name=ether5 ] name=ether5-WAN
/interface vlan
add comment=Vlan-3 interface=BRIDGE-TEST name=Vlan-3 vlan-id=3
add comment=Vlan-9 interface=BRIDGE-TEST name=Vlan-9 vlan-id=9
add comment=Vlan-100 interface=BRIDGE-TEST name=Vlan-100 vlan-id=100
/ip hotspot profile
set [ find default=yes ] html-directory=hotspot
/ip pool
add name=dhcp_vlan3 ranges=192.168.3.150-192.168.3.199
add name=dhcp_vlan9 ranges=192.168.9.150-192.168.9.199
add name=dhcp_vlan100 ranges=192.168.100.150-192.168.100.199
add name=pool1 ranges=192.168.1.150-192.168.1.199
/ip dhcp-server
add address-pool=dhcp_vlan3 interface=Vlan-3 lease-time=1m name=dhcp3
add address-pool=dhcp_vlan100 interface=Vlan-100 lease-time=1m name=dhcp100
add address-pool=dhcp_vlan9 interface=Vlan-9 lease-time=1m name=dhcp9
add address-pool=pool1 interface=BRIDGE-TEST lease-time=1m name=server1
/interface bridge port
add bridge=BRIDGE-TEST interface=ether4
add bridge=BRIDGE-TEST interface=ether3
add bridge=BRIDGE-TEST interface=ether2
add bridge=BRIDGE-TEST interface=ether1
/interface bridge settings
set use-ip-firewall=yes use-ip-firewall-for-vlan=yes
/interface bridge vlan
add bridge=BRIDGE-TEST tagged=BRIDGE-TEST untagged=ether3 vlan-ids=3
add bridge=BRIDGE-TEST tagged=BRIDGE-TEST untagged=ether3 vlan-ids=9
add bridge=BRIDGE-TEST tagged=BRIDGE-TEST untagged=ether2 vlan-ids=100
/ip address
add address=192.168.3.254/24 interface=Vlan-3 network=192.168.3.0
add address=192.168.100.254/24 interface=Vlan-100 network=192.168.100.0
add address=192.168.9.254/24 interface=Vlan-9 network=192.168.9.0
add address=192.168.1.254/24 interface=BRIDGE-TEST network=192.168.1.0
/ip dhcp-client
add interface=ether5-WAN
/ip dhcp-server network
add address=192.168.1.0/24 dns-server=8.8.8.8,1.1.1.1 gateway=192.168.1.254
add address=192.168.3.0/24 dns-server=8.8.8.8,1.1.1.1 gateway=192.168.3.254
add address=192.168.9.0/24 dns-server=8.8.8.8,1.1.1.1 gateway=192.168.9.254
add address=192.168.100.0/24 dns-server=8.8.8.8,1.1.1.1 gateway=\
192.168.100.254
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether5-WAN
thank