📌 24 de Novembro, 2024

Netgear R7000: Block Diagram / Internal Network Architecture

Informática · ISP / Redes

📌 24 de Novembro, 2024

Netgear R7000: Block Diagram / Internal Network Architecture

Informática · ISP / Redes

An useful and accurate block diagram of the internal network architecture of a Netgear R7000 router running a modern version of DD-WRT. In order to design an accurate diagram I manually tested all physical and internal ports of the router.



Interesting Information

Here some interesting information I used as a starting point to come up with the diagram.

root@router:~# swconfig dev switch0 help
switch0: bcm53011(BCM53012), ports: 9 (cpu @ 5), vlans: 4096
     --switch
        Attribute 1 (int): enable_vlan (Enable VLAN mode)
        Attribute 2 (string): ports (Available Ports (as bitmask))
        Attribute 3 (int): reset_mib (Reset MIB counters)
        Attribute 4 (int): enable_jumbo (Enable Jumbo Frames)
        Attribute 5 (int): allow_vid_4095 (Allow VID 4095)
        Attribute 6 (none): apply (Activate changes in the hardware)
        Attribute 7 (none): reset (Reset the switch)
     --vlan
        Attribute 1 (ports): ports (VLAN port mapping)
     --port
        Attribute 1 (string): mib (Get port's MIB counters)
        Attribute 2 (int): disable (Disable Port)
        Attribute 3 (int): pvid (Primary VLAN ID)
        Attribute 4 (unknown): link (Get/Set port link information)

root@router:~# ifconfig

br0       Link encap:Ethernet  HWaddr ---
          inet addr:172.26.1.1  Bcast:172.26.1.255  Mask:255.255.255.0
          inet6 addr: --- Scope:Link
          inet6 addr: --- Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

eth0      Link encap:Ethernet  HWaddr ---
          inet6 addr: --- Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

eth1      Link encap:Ethernet  HWaddr ---
          inet6 addr: --- Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

eth2      Link encap:Ethernet  HWaddr ---
          inet6 addr: --- Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MULTICAST  MTU:65536  Metric:1

vlan1     Link encap:Ethernet  HWaddr ---
          inet6 addr: --- Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

vlan2     Link encap:Ethernet  HWaddr ---
          inet addr:---  Bcast:---  Mask:255.255.255.0
          inet6 addr: --- Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

Port 0 -> WAN
Ports 1-4 -> LAN
Port 5 -> CPU

root@router:~# swconfig dev switch0 port 0 show
Port 0:
(...)
        disable: ???
        pvid: 2
        link: port:0 link:up speed:1000baseT full-duplex auto

root@router:~# swconfig dev switch0 port 1 show
Port 1:
(...)
        disable: ???
        pvid: 1
        link: port:1 link:up speed:1000baseT full-duplex auto

root@router:~# swconfig dev switch0 port 5 show
Port 5:
(...)
        disable: ???
        pvid: 2
        link: port:5 link:up speed:1000baseT full-duplex