Netgear R8000 and VLANs

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
rmoyao
DD-WRT Novice


Joined: 15 Jul 2025
Posts: 1

PostPosted: Tue Jul 15, 2025 20:58    Post subject: Netgear R8000 and VLANs Reply with quote
I have been trying to configure Vlans on my Netgear R8000 but still I have not figured out. In my particular set up the R8000 is not acting as a gateway but only as a Wifi device for my wireless devices on a specific Vlan. But I want to create another VAP assigned to a second Vlan to segment my IoT devices from the main Wifi where computers and phones reside.

I have a Cisco 3750G acting as a my main router and creating the Vlans for my whole network. So far I was using my R8000 on a specific port assigned to the WIFI vlan but now I want to be able to access the IoT Vlan and create a IoT bridge.

Also my R8000 is not acting as a main DHCP but only passing the requests to my firewall

So basically the configuration is like this



Internet >> ISP router >> Firewall / DHCP/DNS >> Switch Vlans >> R8000 >> WIFI devices

But I want now to be able connect another port to in another vlan to provide conectivity to my IoT devices

Internet >> ISP router >> Firewall / DHCP/DNS >> Switch Vlan 50 >> R8000 >> WIFI devices
Internet >> ISP router >> Firewall / DHCP/DNS >> Switch Vlan 30 >> R8000 >> IoT devices

So I setup my switch ports to trunking and connected 2 ports to the R8000.

The first port on Vlan 50 is working and there is where I access the administration for the DDWRT on Vlan 50 but the second port (also configured for trunking on Vlan 30) is not responding to pings.

When I try to do some changes to the configuration on Vlan 30 on port 2 I lost connectivity with Vlan 50 on port 1 where my administration IP is.

The two IPs that I have assigned are

WIFI / Admin 192.168.55.6
IoT 192.168.33.6

Here is the configuration of the ports on the cisco side
Port on vlan 50


interface GigabitEthernet1/0/20
description DD-WRT-R8000 VLAN50
switchport trunk encapsulation dot1q
switchport trunk native vlan 50
switchport trunk allowed vlan 50
switchport mode trunk
power inline never
end

Port on vlan 30

interface GigabitEthernet1/0/21
description DD-WRT-R8000 Vlan 30
switchport trunk encapsulation dot1q
switchport trunk native vlan 30
switchport trunk allowed vlan 30
switchport mode trunk
power inline never
end


On the R8000 side here is the output of swconfig

swconfig dev switch0 show
Global attributes:
       enable_vlan: 1
       ports: 0x01bf
       reset_mib: ???
       enable_jumbo: 0
       allow_vid_4095: 0
Port 0:
       mib: TxOctets            : 0
TxDropPkts          : 0
TxBroadcastPkts     : 0
TxMulticastPkts     : 0
TxUnicastPkts       : 0
TxCollisions        : 0
TxSingleCollision   : 0
TxMultipleCollision : 0
TxDeferredTransmit  : 0
TxLateCollision     : 0
TxExcessiveCollision: 0
TxPausePkts         : 0
RxOctets            : 0
RxUndersizePkts     : 0
RxPausePkts         : 0
Pkts64Octets        : 0
Pkts65to127Octets   : 0
Pkts128to255Octets  : 0
Pkts256to511Octets  : 0
Pkts512to1023Octets : 0
Pkts1024to1522Octets: 0
RxOversizePkts      : 0
RxJabbers           : 0
RxAlignmentErrors   : 0
RxFCSErrors         : 0
RxGoodOctets        : 0
RxDropPkts          : 0
RxUnicastPkts       : 0
RxMulticastPkts     : 0
RxBroadcastPkts     : 0
RxSAChanges         : 0
RxFragments         : 0
RxJumboPkts         : 0
RxSymbolErrors      : 0
RxDiscarded         : 0

       disable: ???
       pvid: 50
       link: port:0 link:down
Port 1:
       mib: TxOctets            : 0
TxDropPkts          : 0
TxBroadcastPkts     : 0
TxMulticastPkts     : 0
TxUnicastPkts       : 0
TxCollisions        : 0
TxSingleCollision   : 0
TxMultipleCollision : 0
TxDeferredTransmit  : 0
TxLateCollision     : 0
TxExcessiveCollision: 0
TxPausePkts         : 0
RxOctets            : 0
RxUndersizePkts     : 0
RxPausePkts         : 0
Pkts64Octets        : 0
Pkts65to127Octets   : 0
Pkts128to255Octets  : 0
Pkts256to511Octets  : 0
Pkts512to1023Octets : 0
Pkts1024to1522Octets: 0
RxOversizePkts      : 0
RxJabbers           : 0
RxAlignmentErrors   : 0
RxFCSErrors         : 0
RxGoodOctets        : 0
RxDropPkts          : 0
RxUnicastPkts       : 0
RxMulticastPkts     : 0
RxBroadcastPkts     : 0
RxSAChanges         : 0
RxFragments         : 0
RxJumboPkts         : 0
RxSymbolErrors      : 0
RxDiscarded         : 0

       disable: ???
       pvid: 50
       link: port:1 link:down
Port 2:
       mib: TxOctets            : 652
TxDropPkts          : 0
TxBroadcastPkts     : 0
TxMulticastPkts     : 8
TxUnicastPkts       : 0
TxCollisions        : 0
TxSingleCollision   : 0
TxMultipleCollision : 0
TxDeferredTransmit  : 0
TxLateCollision     : 0
TxExcessiveCollision: 0
TxPausePkts         : 0
RxOctets            : 107690
RxUndersizePkts     : 0
RxPausePkts         : 0
Pkts64Octets        : 81
Pkts65to127Octets   : 854
Pkts128to255Octets  : 27
Pkts256to511Octets  : 81
Pkts512to1023Octets : 0
Pkts1024to1522Octets: 0
RxOversizePkts      : 0
RxJabbers           : 0
RxAlignmentErrors   : 0
RxFCSErrors         : 0
RxGoodOctets        : 107690
RxDropPkts          : 0
RxUnicastPkts       : 60
RxMulticastPkts     : 983
RxBroadcastPkts     : 0
RxSAChanges         : 705
RxFragments         : 0
RxJumboPkts         : 0
RxSymbolErrors      : 0
RxDiscarded         : 59

       disable: ???
       pvid: 30
       link: port:2 link:up speed:1000baseT full-duplex auto
Port 3:
       mib: TxOctets            : 129807
TxDropPkts          : 0
TxBroadcastPkts     : 238
TxMulticastPkts     : 101
TxUnicastPkts       : 384
TxCollisions        : 0
TxSingleCollision   : 0
TxMultipleCollision : 0
TxDeferredTransmit  : 0
TxLateCollision     : 0
TxExcessiveCollision: 0
TxPausePkts         : 0
RxOctets            : 144101
RxUndersizePkts     : 0
RxPausePkts         : 0
Pkts64Octets        : 110
Pkts65to127Octets   : 1146
Pkts128to255Octets  : 33
Pkts256to511Octets  : 36
Pkts512to1023Octets : 11
Pkts1024to1522Octets: 15
RxOversizePkts      : 0
RxJabbers           : 0
RxAlignmentErrors   : 0
RxFCSErrors         : 0
RxGoodOctets        : 144101
RxDropPkts          : 0
RxUnicastPkts       : 456
RxMulticastPkts     : 895
RxBroadcastPkts     : 0
RxSAChanges         : 797
RxFragments         : 0
RxJumboPkts         : 0
RxSymbolErrors      : 0
RxDiscarded         : 59

       disable: ???
       pvid: 50
       link: port:3 link:up speed:1000baseT full-duplex auto
Port 4:
       mib: TxOctets            : 0
TxDropPkts          : 0
TxBroadcastPkts     : 0
TxMulticastPkts     : 0
TxUnicastPkts       : 0
TxCollisions        : 0
TxSingleCollision   : 0
TxMultipleCollision : 0
TxDeferredTransmit  : 0
TxLateCollision     : 0
TxExcessiveCollision: 0
TxPausePkts         : 0
RxOctets            : 0
RxUndersizePkts     : 0
RxPausePkts         : 0
Pkts64Octets        : 0
Pkts65to127Octets   : 0
Pkts128to255Octets  : 0
Pkts256to511Octets  : 0
Pkts512to1023Octets : 0
Pkts1024to1522Octets: 0
RxOversizePkts      : 0
RxJabbers           : 0
RxAlignmentErrors   : 0
RxFCSErrors         : 0
RxGoodOctets        : 0
RxDropPkts          : 0
RxUnicastPkts       : 0
RxMulticastPkts     : 0
RxBroadcastPkts     : 0
RxSAChanges         : 0
RxFragments         : 0
RxJumboPkts         : 0
RxSymbolErrors      : 0
RxDiscarded         : 0

       disable: ???
       pvid: 0
       link: port:4 link:down
Port 5:
       mib: TxOctets            : 0
TxDropPkts          : 0
TxBroadcastPkts     : 0
TxMulticastPkts     : 0
TxUnicastPkts       : 0
TxCollisions        : 0
TxSingleCollision   : 0
TxMultipleCollision : 0
TxDeferredTransmit  : 0
TxLateCollision     : 0
TxExcessiveCollision: 0
TxPausePkts         : 0
RxOctets            : 0
RxUndersizePkts     : 0
RxPausePkts         : 0
Pkts64Octets        : 0
Pkts65to127Octets   : 0
Pkts128to255Octets  : 0
Pkts256to511Octets  : 0
Pkts512to1023Octets : 0
Pkts1024to1522Octets: 0
RxOversizePkts      : 0
RxJabbers           : 0
RxAlignmentErrors   : 0
RxFCSErrors         : 0
RxGoodOctets        : 0
RxDropPkts          : 0
RxUnicastPkts       : 0
RxMulticastPkts     : 0
RxBroadcastPkts     : 0
RxSAChanges         : 0
RxFragments         : 0
RxJumboPkts         : 0
RxSymbolErrors      : 0
RxDiscarded         : 0

       disable: ???
       pvid: 0
       link: port:5 link:up speed:1000baseT full-duplex  
Port 6:
       mib: ???
       disable: ???
       pvid: 0
       link: port:6 link:down
Port 7:
       mib: TxOctets            : 0
TxDropPkts          : 0
TxBroadcastPkts     : 0
TxMulticastPkts     : 0
TxUnicastPkts       : 0
TxCollisions        : 0
TxSingleCollision   : 0
TxMultipleCollision : 0
TxDeferredTransmit  : 0
TxLateCollision     : 0
TxExcessiveCollision: 0
TxPausePkts         : 0
RxOctets            : 0
RxUndersizePkts     : 0
RxPausePkts         : 0
Pkts64Octets        : 0
Pkts65to127Octets   : 0
Pkts128to255Octets  : 0
Pkts256to511Octets  : 0
Pkts512to1023Octets : 0
Pkts1024to1522Octets: 0
RxOversizePkts      : 0
RxJabbers           : 0
RxAlignmentErrors   : 0
RxFCSErrors         : 0
RxGoodOctets        : 0
RxDropPkts          : 0
RxUnicastPkts       : 0
RxMulticastPkts     : 0
RxBroadcastPkts     : 0
RxSAChanges         : 0
RxFragments         : 0
RxJumboPkts         : 0
RxSymbolErrors      : 0
RxDiscarded         : 0

       disable: ???
       pvid: 0
       link: port:7 link:down
Port 8:
       mib: TxOctets            : 254531
TxDropPkts          : 0
TxBroadcastPkts     : 0
TxMulticastPkts     : 1878
TxUnicastPkts       : 416
TxCollisions        : 0
TxSingleCollision   : 0
TxMultipleCollision : 0
TxDeferredTransmit  : 0
TxLateCollision     : 0
TxExcessiveCollision: 0
TxPausePkts         : 0
RxOctets            : 564897
RxUndersizePkts     : 0
RxPausePkts         : 0
Pkts64Octets        : 466
Pkts65to127Octets   : 3104
Pkts128to255Octets  : 542
Pkts256to511Octets  : 300
Pkts512to1023Octets : 66
Pkts1024to1522Octets: 11
RxOversizePkts      : 0
RxJabbers           : 0
RxAlignmentErrors   : 0
RxFCSErrors         : 0
RxGoodOctets        : 565039
RxDropPkts          : 0
RxUnicastPkts       : 404
RxMulticastPkts     : 3051
RxBroadcastPkts     : 1034
RxSAChanges         : 1069
RxFragments         : 0
RxJumboPkts         : 0
RxSymbolErrors      : 0
RxDiscarded         : 3738

       disable: ???
       pvid: 0
       link: port:8 link:up speed:1000baseT full-duplex auto
VLAN 30:
       ports: 2 8t  
VLAN 50:
       ports: 0 1 3 8t


And here is the output of brctl

brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000.b03956ee1c06       no              eth0
                                                       eth1
                                                       eth2
                                                       eth3
                                                       vlan1
                                                       vlan2
                                                       vlan50
br1             8000.b03956ee1c06       no              vlan30
                                                       wl1.1

My VAP new is
wl1.1 SSID IoT

Some configurations from NVRAM

nvram show | grep vlan | sort
size: 38071 bytes (27465 left)
bat_vlan1_bridge=br0
bat_vlan2_bridge=br0
bat_vlan30_bridge=br0
bat_vlan50_bridge=br0
bridgesif=br0>eth0>128>0>1>100 br1>vlan30>128>0>1>100 br1>wl1.1>128>0>1>100
dtag_vlan8=0
lan_ifnames=vlan1 vlan2 eth1 eth2 eth3
landevs=vlan1 wl0 wl1 wl2
port0vlans=17000 18000 19000 20000 21000
port1vlans=2 18000 19000 20000
port2vlans=1 18000 19000 20000
port3vlans=2 18000 19000 20000
port4vlans=2 18000 19000 20000
port5vlans=1 2 16000 17000 18000 19000 20000 21000
portvlan_count=3
portvlanlist=10 30 50
probe_blacklist=vlan1 vlan2 eth0
vlan1_arpd=0
vlan1_bloop=0
vlan1_bridged=1
vlan1_dns_ipaddr=0.0.0.0
vlan1_dns_redirect=0
vlan1_hwaddr=B0:39:56:EE:1C:06
vlan1_ipaddr=0.0.0.0
vlan1_isolation=0
vlan1_label=
vlan1_m2u=0
vlan1_mtu=1500
vlan1_multicast=0
vlan1_multicast_to_unicast=0
vlan1_nat=1
vlan1_netmask=0.0.0.0
vlan1_txq=1000
vlan1hwname=et2
vlan1ports=3 2 1 0 5 7 8*
vlan2_arpd=0
vlan2_bridged=1
vlan2_dns_ipaddr=0.0.0.0
vlan2_dns_redirect=0
vlan2_hwaddr=B0:39:56:EE:1C:06
vlan2_ipaddr=0.0.0.0
vlan2_isolation=0
vlan2_label=
vlan2_m2u=0
vlan2_mtu=1500
vlan2_multicast=0
vlan2_netmask=0.0.0.0
vlan2_txq=1000
vlan2hwname=et2
vlan2ports=4 8u
vlan30_arpd=0
vlan30_bridged=1
vlan30_dns_ipaddr=0.0.0.0
vlan30_dns_redirect=0
vlan30_hwaddr=B0:39:56:EE:1C:06
vlan30_ipaddr=0.0.0.0
vlan30_isolation=0
vlan30_label=Camaras
vlan30_m2u=0
vlan30_mtu=1500
vlan30_multicast=0
vlan30_netmask=0.0.0.0
vlan30_txq=1000
vlan50_arpd=0
vlan50_bridged=1
vlan50_dns_ipaddr=0.0.0.0
vlan50_dns_redirect=0
vlan50_hwaddr=B0:39:56:EE:1C:06
vlan50_ipaddr=0.0.0.0
vlan50_isolation=0
vlan50_label=WIFI
vlan50_m2u=0
vlan50_mtu=1500
vlan50_multicast=0
vlan50_netmask=0.0.0.0
vlan50_txq=1000
vlan_tagcount=2
vlan_tags=eth1>0>0>0 br0>0>0>0
vlans=1
wan_default=vlan2
wl0_vlan_prio_mode=off
wl1_vlan_prio_mode=off
wl2_vlan_prio_mode=off



nvram show | grep "br0" | sort
size: 38071 bytes (27465 left)
bat_br0.0_bridge=br0
bat_br1_bridge=br0
bat_eth1.0_bridge=br0
bat_eth1_bridge=br0
bat_eth2_bridge=br0
bat_eth3_bridge=br0
bat_oet1_bridge=br0
bat_vlan1_bridge=br0
bat_vlan2_bridge=br0
bat_vlan30_bridge=br0
bat_vlan50_bridge=br0
bat_wl1.1_bridge=br0
br0.0_arpd=0
br0.0_bridged=1
br0.0_dns_ipaddr=0.0.0.0
br0.0_dns_redirect=0
br0.0_hwaddr=B0:39:56:EE:1C:06
br0.0_ipaddr=0.0.0.0
br0.0_isolation=0
br0.0_label=
br0.0_mtu=1500
br0.0_multicast=0
br0.0_netmask=0.0.0.0
br0.0_txq=1000
br0_mcast=0
br0_mtu=1500
br0_netmask=0.0.0.0
br0_txq=1000
bridges=br0>Off>32768>1500>15>20 br1>Off>32768>1500>15>20
bridgesif=br0>eth0>128>0>1>100 br1>vlan30>128>0>1>100 br1>wl1.1>128>0>1>100
dnsipv6_interfaces=br0
lan_ifname=br0
mdns_interfaces=br0
pppoeserver_interface=br0
rflow_if=br0
vlan_tags=eth1>0>0>0 br0>0>0>0


nvram show | grep "br1" | sort
size: 38071 bytes (27465 left)
bat_br1_bridge=br0
br1_arpd=0
br1_dns_ipaddr=192.168.33.1
br1_dns_redirect=1
br1_hwaddr=B0:39:56:EE:1C:06
br1_ipaddr=192.168.33.6
br1_isolation=0
br1_label=IoT
br1_mcast=0
br1_mtu=1500
br1_multicast=0
br1_netmask=255.255.255.0
br1_txq=1000
bridges=br0>Off>32768>1500>15>20 br1>Off>32768>1500>15>20
bridgesif=br0>eth0>128>0>1>100 br1>vlan30>128>0>1>100 br1>wl1.1>128>0>1>100
wl0_br1_enable=0
wl0_br1_ipaddr=0.0.0.0
wl0_br1_nat=0
wl0_br1_netmask=255.255.255.0
wl1_br1_enable=0
wl1_br1_ipaddr=0.0.0.0
wl1_br1_nat=0
wl1_br1_netmask=255.255.255.0
wl2_br1_enable=0
wl2_br1_ipaddr=0.0.0.0
wl2_br1_netmask=255.255.255.0


nvram show | grep "br0.0" | sort
size: 38071 bytes (27465 left)
bat_br0.0_bridge=br0
br0.0_arpd=0
br0.0_bridged=1
br0.0_dns_ipaddr=0.0.0.0
br0.0_dns_redirect=0
br0.0_hwaddr=B0:39:56:EE:1C:06
br0.0_ipaddr=0.0.0.0
br0.0_isolation=0
br0.0_label=
br0.0_mtu=1500
br0.0_multicast=0
br0.0_netmask=0.0.0.0
br0.0_txq=1000
vlan_tags=eth1>0>0>0 br0>0>0>0

nvram show | grep "hwaddr" | sort
size: 38071 bytes (27465 left)
br0.0_hwaddr=B0:39:56:EE:1C:06
br1_hwaddr=B0:39:56:EE:1C:06
def_hwaddr=00:00:00:00:00:00
def_whwaddr=00:00:00:00:00:00
eth1.0_hwaddr=B0:39:56:EE:1C:08
eth1_hwaddr=B0:39:56:EE:1C:08
eth2_hwaddr=B0:39:56:EE:1C:19
eth3_hwaddr=B0:39:56:EE:1C:2A
lan_hwaddr=B0:39:56:EE:1C:06
oet1_hwaddr=00:00:00:00:00:00
vlan1_hwaddr=B0:39:56:EE:1C:06
vlan2_hwaddr=B0:39:56:EE:1C:06
vlan30_hwaddr=B0:39:56:EE:1C:06
vlan50_hwaddr=B0:39:56:EE:1C:06
wan_hwaddr=B0:39:56:EE:1C:06
wl0_hwaddr=B0:39:56:EE:1C:08
wl1.1_hwaddr=B2:39:56:EE:1C:1A
wl1_hwaddr=B0:39:56:EE:1C:19
wl2_hwaddr=B0:39:56:EE:1C:2A


nvram show | grep "wl1.1" | sort
size: 38071 bytes (27465 left)
bat_wl1.1_bridge=br0
bridgesif=br0>eth0>128>0>1>100 br1>vlan30>128>0>1>100 br1>wl1.1>128>0>1>100
probe_working=eth3 eth1 eth2 wl1.1
wl1.1_akm=psk2
wl1.1_ap_isolate=0
wl1.1_arpd=0
wl1.1_auth=0
wl1.1_auth_mode=none
wl1.1_authmode=open
wl1.1_bloop=0
wl1.1_bridged=1
wl1.1_bss_maxassoc=32
wl1.1_closed=1
wl1.1_crypto=aes
wl1.1_dns_ipaddr=0.0.0.0
wl1.1_dns_redirect=0
wl1.1_gtk_rekey=3600
wl1.1_hwaddr=B2:39:56:EE:1C:1A
wl1.1_ifname=wl1.1
wl1.1_ipaddr=0.0.0.0
wl1.1_isolation=0
wl1.1_key=1
wl1.1_label=Iot
wl1.1_m2u=0
wl1.1_mode=ap
wl1.1_mtu=1500
wl1.1_multicast=0
wl1.1_nat=1
wl1.1_netmask=0.0.0.0
wl1.1_radius_ipaddr=0.0.0.0
wl1.1_radius_port=1812
wl1.1_ssid=IoT
wl1.1_txq=1000
wl1.1_web_filter=0
wl1.1_wep=disabled
wl1.1_wep_buf=:::::
wl1.1_wme=on
wl1.1_wpa_gtk_rekey=3600
wl1.1_wpa_psk=XXXXXXXXXXX
wl1X1_security_mode=psk2
wl1_vifs=wl1.1


Can someone tell what I’m missing

Help will be greatly appreciated

Thanks
Sponsor
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 7121
Location: Romerike, Norway

PostPosted: Thu Jul 17, 2025 4:23    Post subject: Reply with quote
With a Tagged Trunk, only one Cable is needed between the switches.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum