Hi Team,
My Primary Router is Hap Ax2. I want to extend My Primary router network to Hap Ac2 Router.
I configured VLANS with DHCP Server and Dual WAN ISP in primary router.
Just i want to carry forward all VLANS from Primary to Secondary Router.
In one word i want to say the Secondary router will act as Switch.
How to configure trunk port in secondary router to pass all VLANs and getting the DHCP IP from Primary router for all end devices.
Primary Router Config as follows:
/interface ethernet
set [ find default-name=ether1 ] name=Ether-1-POE-VLAN-Trunk poe-out=off
set [ find default-name=ether2 ] name=Ether-2-VLAN-Trunk
set [ find default-name=ether3 ] name=Ether-3-LAN
set [ find default-name=ether4 ] name=Ether-4-WAN-2
set [ find default-name=ether5 ] name=Ether-5-WAN-1
/interface vlan
add interface=VLAN-Bridge name=VLAN-9-LAN vlan-id=9
add interface=VLAN-Bridge name=VLAN-19-WiFi-2 vlan-id=19
add interface=VLAN-Bridge name=VLAN-29-WiFi-5 vlan-id=29
add interface=VLAN-Bridge name=VLAN-39-Guest vlan-id=39
add interface=VLAN-Bridge name=VLAN-99-MGMT vlan-id=99
/ip pool
add name=LAN-Pool ranges=10.10.1.100-10.10.1.200
add name=VLAN-9-LAN-Pool ranges=10.10.9.100-10.10.9.200
add name=VLAN-19-WiFi-2-Pool ranges=10.10.19.100-10.10.19.200
add name=VLAN-29-WiFi-5-Pool ranges=10.10.29.100-10.10.29.200
add name=VLAN-39-Guest-Pool ranges=10.10.39.100-10.10.39.200
add name=OVPN-Server-Pool ranges=10.0.10.100-10.0.10.200
/ip dhcp-server
add address-pool=LAN-Pool interface=LAN-Bridge lease-time=10m name=LAN-Server
add address-pool=VLAN-9-LAN-Pool interface=VLAN-9-LAN name=VLAN-9-LAN-Server
add address-pool=VLAN-19-WiFi-2-Pool interface=VLAN-19-WiFi-2 name=
VLAN-19-WiFi-2-Server
add address-pool=VLAN-29-WiFi-5-Pool interface=VLAN-29-WiFi-5 name=
VLAN-29-WiFi-5-Server
add address-pool=VLAN-39-Guest-Pool interface=VLAN-39-Guest name=
VLAN-Guest-Server
/interface bridge port
add bridge=LAN-Bridge interface=Ether-3-LAN
add bridge=VLAN-Bridge frame-types=admit-only-vlan-tagged interface=
Ether-1-POE-VLAN-Trunk
add bridge=VLAN-Bridge frame-types=admit-only-vlan-tagged interface=
Ether-2-VLAN-Trunk
add bridge=VLAN-Bridge frame-types=admit-only-vlan-tagged ingress-filtering=
no interface=WiFi-2 pvid=19
add bridge=VLAN-Bridge frame-types=admit-only-vlan-tagged ingress-filtering=
no interface=WiFi-5 pvid=29
add bridge=VLAN-Bridge frame-types=admit-only-vlan-tagged ingress-filtering=
no interface=WiFi-Guest pvid=39
/interface bridge settings
set use-ip-firewall=yes
/ip neighbor discovery-settings
set discover-interface-list=“LAN & WLAN”
/ipv6 settings
set disable-ipv6=yes
/interface bridge vlan
add bridge=VLAN-Bridge tagged=
VLAN-Bridge,Ether-1-POE-VLAN-Trunk,Ether-2-VLAN-Trunk vlan-ids=9
add bridge=VLAN-Bridge tagged=
VLAN-Bridge,Ether-1-POE-VLAN-Trunk,Ether-2-VLAN-Trunk,WiFi-2 vlan-ids=19
add bridge=VLAN-Bridge tagged=
VLAN-Bridge,Ether-1-POE-VLAN-Trunk,Ether-2-VLAN-Trunk,WiFi-5 vlan-ids=29
add bridge=VLAN-Bridge tagged=
VLAN-Bridge,Ether-1-POE-VLAN-Trunk,Ether-2-VLAN-Trunk,WiFi-Guest
vlan-ids=39
add bridge=VLAN-Bridge tagged=
VLAN-Bridge,Ether-1-POE-VLAN-Trunk,Ether-2-VLAN-Trunk,WiFi-2,WiFi-5
vlan-ids=99
/ip address
add address=10.10.1.1/24 interface=LAN-Bridge network=10.10.1.0
add address=10.10.9.1/24 interface=VLAN-9-LAN network=10.10.9.0
add address=10.10.19.1/24 interface=VLAN-19-WiFi-2 network=10.10.19.0
add address=10.10.29.1/24 interface=VLAN-29-WiFi-5 network=10.10.29.0
add address=10.10.39.1/24 interface=VLAN-39-Guest network=10.10.39.0
add address=10.10.99.1/24 interface=VLAN-99-MGMT network=10.10.99.0
/ip dhcp-server network
add address=10.10.1.0/24 comment=LAN-Network gateway=10.10.1.1
add address=10.10.9.0/24 comment=VLAN-9-LAN-Network gateway=10.10.9.1
add address=10.10.19.0/24 comment=VLAN-19-WLAN-2-Network gateway=10.10.19.1
add address=10.10.29.0/24 comment=VLAN-29-WLAN-5-Network gateway=10.10.29.1
add address=10.10.39.0/24 comment=VLAN-39-Guest-Network gateway=10.10.39.1
add address=10.10.99.0/24 comment=VLAN-99-MGMT-Network gateway=10.10.99.1
/ip dns
set allow-remote-requests=yes