Posted: Sun Mar 29, 2020 15:15 Post subject: SFP+ on the R9000
So I have recently done some major upgrades to my home network. Part of this is due to finally biting the bullet and building a real storage server. I have since replaced my core network switch with one that supports 1gbe, 10gbe, and 40gbe connections, with my server connected via QSFP+. Until now, I have not used the SFP+ on the R9000, but with the new switch, I have now connected it.
The reason for the VLAN trunking is so I can split up various IoT devices, some of which are on my wired network tied into the core network switch, and others are wireless. Ideally I would like to create 3 VAP (1 for a guest network, 1 for IoT devices that need internet access, and 1 for IoT devices that do not need internet access). Two of those VLANs as well as the default VLAN would need to be passed over the SFP+ port back to my core network switch for me to use properly.
This has brought up one issue that I had not previously anticipated, which is how to properly use VLAN trunking/multiple-vlan tags over the SPF+ port. I have not seen any discussion at all for this. Anyone know how to do this?
Joined: 21 Jan 2017 Posts: 1783 Location: Illinois Moderator
Posted: Sun Mar 29, 2020 17:14 Post subject:
Fallen Kell wrote:
So I have recently done some major upgrades to my home network. Part of this is due to finally biting the bullet and building a real storage server. I have since replaced my core network switch with one that supports 1gbe, 10gbe, and 40gbe connections, with my server connected via QSFP+. Until now, I have not used the SFP+ on the R9000, but with the new switch, I have now connected it.
The reason for the VLAN trunking is so I can split up various IoT devices, some of which are on my wired network tied into the core network switch, and others are wireless. Ideally I would like to create 3 VAP (1 for a guest network, 1 for IoT devices that need internet access, and 1 for IoT devices that do not need internet access). Two of those VLANs as well as the default VLAN would need to be passed over the SFP+ port back to my core network switch for me to use properly.
This has brought up one issue that I had not previously anticipated, which is how to properly use VLAN trunking/multiple-vlan tags over the SPF+ port. I have not seen any discussion at all for this. Anyone know how to do this?
Regrettably, VLAN's on the R9000 are presently not possible.
No one has been able to figure out how to make it work due to the two switch configuration the R9000 uses and the VLAN's they have to use to communicate with each other... Until some Guru can come along, I think you'll be SOL. BS has not been able to give any good guidance how to do it either, I've asked.
BrainSlayer wrote:
for the r9000 doing vlans is very complicated. the r9000 has 2 switches
so switch 1 connected to 2 ethernet phys (for wan and lan). switch 2 is connected to switch 1. so its problematic
so doing straight vlans configs is somewhat possible but not easy since i always have to pass through everything from switch 2 to switch 1
and its only operating in vlan mode or without. but i cannot combine both operation modes. and if i run vlan1 mode it will not pass packets without vlans from switch 2.
Joined: 08 May 2018 Posts: 14246 Location: Texas, USA
Posted: Sun Mar 29, 2020 18:22 Post subject:
Reading through this thread, I am looking forward to tackling this beast when it finally arrives. The @#$%^&*! COVID-19 got all my mail delayed. Feels like I'm out on the high seas again _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
So I have recently done some major upgrades to my home network. Part of this is due to finally biting the bullet and building a real storage server. I have since replaced my core network switch with one that supports 1gbe, 10gbe, and 40gbe connections, with my server connected via QSFP+. Until now, I have not used the SFP+ on the R9000, but with the new switch, I have now connected it.
The reason for the VLAN trunking is so I can split up various IoT devices, some of which are on my wired network tied into the core network switch, and others are wireless. Ideally I would like to create 3 VAP (1 for a guest network, 1 for IoT devices that need internet access, and 1 for IoT devices that do not need internet access). Two of those VLANs as well as the default VLAN would need to be passed over the SFP+ port back to my core network switch for me to use properly.
This has brought up one issue that I had not previously anticipated, which is how to properly use VLAN trunking/multiple-vlan tags over the SPF+ port. I have not seen any discussion at all for this. Anyone know how to do this?
Regrettably, VLAN's on the R9000 are presently not possible.
No one has been able to figure out how to make it work due to the two switch configuration the R9000 uses and the VLAN's they have to use to communicate with each other... Until some Guru can come along, I think you'll be SOL. BS has not been able to give any good guidance how to do it either, I've asked.
BrainSlayer wrote:
for the r9000 doing vlans is very complicated. the r9000 has 2 switches
so switch 1 connected to 2 ethernet phys (for wan and lan). switch 2 is connected to switch 1. so its problematic
so doing straight vlans configs is somewhat possible but not easy since i always have to pass through everything from switch 2 to switch 1
and its only operating in vlan mode or without. but i cannot combine both operation modes. and if i run vlan1 mode it will not pass packets without vlans from switch 2.
Wow. If that is really the case, I might have to completely rethink my network and the place that the R9000 might have within it. I might just have to relegate this to strictly to trusted wireless and firewall roles and setup another wireless router for my IoT devices.
I have installed the latest Netgear fw V1.0.5.14 on my R9000 and configured the VLAN's from VLAN/Bridge under advanced settings. My config is like this given below
I used Netgear stock fw which is based on Openwrt and configured the VLANS and bridges from the UI. If it helps with the device names I can provide that.
Found these today from one of the script
# for R9000 Two Switch Design(AR8337 switch):
# Switch-A:
# sw port 0 -> Trunk to CPU(eth1)
# sw port 5 -> Trunk to CPU(eth2)
# sw port 4 -> Trunk to Switch-B sw port 0
# sw port 6 -> Trunk to Switch-B sw port 5
# sw port 3 -> WAN
# sw port 2 -> LAN1
# sw port 1 -> LAN2
# Switch-B:
# sw port 0 -> Trunk to Switch-A sw port 4
# sw port 5 -> Trunk to Switch-A sw port 6
# sw port 4 -> LAN3
# sw port 3 -> LAN4
# sw port 2 -> LAN5
# sw port 1 -> LAN6
# sw port 6 -> No Used _________________ Linksys WRT1900ACS v2
Joined: 08 May 2018 Posts: 14246 Location: Texas, USA
Posted: Fri Apr 10, 2020 17:54 Post subject:
That may be the 0x10 and 0x20 hardware? That would be nice to know to figure this thing out completely. Thank you for that input, Per Yngve Berg. You have been very helpful. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
You have to do things in the correct order not cut off the branch you are sitting on.
Configure the switches from a client connected to Switch A (LAN1/2)
Configure Switch B first, then A. Nothing will take action before the set 'apply'
swconfig dev switch1 set enable_vlan 1
swconfig dev switch0 set enable_vlan 1
swconfig dev switch1 set apply
swconfig dev switch0 set apply
This will enable 802.1Q tagging on the switches.
By the way, where is this SFP port connected?
Hi Per,
I presently rely heavily on bridging in my older Netgear router running DD-WRT but I'm looking to finally upgrade to 802.11ac & have been looking closely at the R9000.
Once you run the above commands (I assume as part of a startup script), can you assign VLANs to each switch port and to each Wifi interface through the UI?
And do you know if bridging works properly (I have a bunch of bridged connections for virtual wireless networks)?
I suspect you need to add all VLAN tags that you use on the internal ports used to communicate between the two internal switches so that they have a common vlans and not isolate them from each other.
What I want to know is if anyone has figured out how to tag the SFP+ port (eth0)? I can’t believe it is as simple as creating the tagged interface devices (I.e. eth0.1 eth0.2 etc) and send anything from my core switch that I want to access the internet as vlan2.