I just bought a RB2011 to serve as a VLAN ‘splitter’ and as a hotspot.
Situation:
I got one ADSL modem from my ISP. It’s in the network 192.168.2.0/24
I got one router for internal purposes, in the network 192.168.0.0/24
The ADSL modem is connected to a TP-LINK managed switch on port 1, the DrayTek on port 2.
The TP-Link switch trunks port1 (vlan1) and port2 (vlan2) to port 3.
There’s a cable between the TP-link and my RB2011 (on ether1).
The RB2011 is standard config, so it has the 192.168.88.0/24 network and standard settings.
Goal:
ether1 must be the incoming port (so the cable from the TP-link with vlan1 and vlan2
ether2-5 and wlan1 and a hotspot on wlan2 (a VAP for wlan1) are for internet (vlan1)
ether 6-10 for the internal network (vlan2).
What have I done so far:
I created two new vlan interfaces: vlan_1_e1 (vlan1 on ether1) and vlan_2_e1 (vlan2 on ether1).
I broke bridge-local, made two new bridges:
bridge_vlan1 with vlan_1_e1, ether2-5, wlan1 and wlan2
bridge_vlan2 with vlan_2_e1, ether6-master
furthermore, I enabled DHCP client on vlan_1_e1 so I get an IP from my ADSL modem.
That one works. I don’t have internet, but after adding NAT I can acces the internet on ether2-5 and wlan1 (and on my hotspot).
When I plug the cable into ether7 for example, I get an IP address from the DrayTek router, but I can’t access it.
I tried adding DHCP client on vlan_2_e1, I tried NAT, I tried eveything, but no access to 192.168.0.0/24.
also, the internet is unaccessible when I am plugged into ether7. Even wlan1 can’t access the internet. When I check the LCD screen for stats on ether1, i see a peak in Tx every 2 seconds. Maybe there are collisions or loops?
when I unplug the cable in ether7 or vlan2, the internet is fast and normally accessible.
This is my first experience with such advanced routers, so I must have forgotten some crucial things. Can someone help me?
It seems to me that maybe I am routering with the MikroTik, which is not needed because the ISP modem is the main router, and the MikroTik only has to split the two VLANs into two networks…?