NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Mettwurscht's avatar
Mettwurscht
Aspirant
Mar 09, 2023
Solved

S3300-28X: Routing between two switches

Hi all,   there are two buildings which are connected through a Wifi bridge. In building 1 is a LAN running on subnet 192.168.0.0/24, building 2 is running on subnet 192.168.1.0/24. Both buildings ...
  • Mettwurscht's avatar
    Apr 12, 2023
    I found the solution.

    1st mistake: management VLAN and routed VLAN must not be the same. You can use VLAN id 1 for a routed VLAN, but you have to change your management VLAN.

    These are the steps to a working setup:
    1.
    If you want to use VLAN id 1 for your network clients, go to VLAN menu and create a management VLAN. Assign a port to this VLAN if you want.
     
    2.
    Go to routing menu and use the VLAN routing configuration to configure an IP address for your switch. According to my example, I used this setting on site 1:
    VLAN: 1
    IP address: 192.168.0.10
    Subnet mask: 255.255.255.0
     
    On site 2 the settings are nearly the same:
    VLAN: 1
    IP address: 192.168.1.10
    Subnet mask: 255.255.255.0
     
    You can reach the web interface of the switch via its address you have configured here.
     
    Now you should assign a static IP address to your management interface. I experienced some issues when the management address is assigned by DHCP because I use subnet 192.168.0.0/24 for the clients on site 1.
     
    3.
    Go to VLAN routing wizard and create a new routing VLAN, e.g. 199
    Site 1
    VLAN: 199
    IP: 192.168.199.10
    Subnet: 255.255.255.0
    Port: 20 (untagged)
     
    Site 2
    VLAN: 199
    IP: 192.168.199.11
    Subnet: 255.255.255.0
    Port: 20 (untagged)
     
    In my setup I connect these ports to the Wifi bridge.
     
    4.
    Go to routing table menu and add two new rules
    Site 1
    route type: static
    network address: 192.168.1.0
    subnet mask: 255.255.255.0
    next hop address: 192.168.199.11
     
    route type: DefaultRoute
    next hop address: 192.168.0.250
     
    Site 2
    route type: static
    network address: 192.168.0.0
    subnet mask: 255.255.255.0
    next hop address: 192.168.199.10
     
    route type: DefaultRoute
    next hop address: 192.168.1.250
     
    5.
    Go to routing menu and enable routing mode.
     
    6.
    Change the default gateway of your network to the switch's address 192.168.0.10 or 192.168.1.10.
     

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More