The Ubiquiti EdgeRouter X (ERX) has a switching chip on board so that it can be used as an L3 switch instead of as a router.
I have another router, we'll call it router-core
, which is serving an internal network on VLAN 100 on my local network. What I would like is to be able to configure my ERX so that the following behavior occurs when I connect it to my network:
- The ERX does not get an IP address on VLAN 1
- The ERX does get an IP address from my
router-core
on VLAN 100 - Any other clients I connect to the ERX are automatically dropped onto VLAN 100, and subsequently can talk to the
router-core
.
Essentially, I am trying to configure the ERX as a smart switch with all the ports tagged for VLAN 100. This seems like it would be straightforward, but evidently it is not. (Note: in the linked thread its stated that what I'm trying to do isn't supported, but the thread is nearly five years old now, so I'm looking for newer info if it exists)
I have tried the following configurations:
- Attempt #1:
switch0
address set to DHCPswitch0
vlan-aware enabled- Switch ports
eth0
-eth4
set sopvid
is 100
- Attempt #2: (with this one,
switch0.200
got a DHCP lease fromrouter-core
but no client did)switch0.200
address set to DHCPswitch0
vlan-aware set to disabled- Switch ports
eth0
-eth4
set with no VLAN configuration
The only other option I'm seeing is to create a bridged interface and try to work with that, but that loses all the performance of having a dedicated switching chip, which would be very frustrating.
Any help would be greatly appreciated.