× NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Orbi WiFi 7 RBE973
Reply

Re: S3300-28X: Routing between two switches

Mettwurscht
Aspirant

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 have their own internet uplink. Both switches are S3300-28X.

 

Bridge.jpg

 

The routing performance of the routers 192.168.x.250 is not that good so I want to try to route the traffic between the both subnets through the switches. At the moment I'm not able to get a working configuration as I don't understand the how to which are available.

 

I enabled VLAN on both switches. First building is running on VLAN 10 and the second building is running on VLAN 20. The ports on both switches which are connected to the wifi bridge are configured as trunked ports which have VLAN 10 and 20 assigned. How do I have to set up the routing and the IP addresses ifor the routing configuration?

Message 1 of 4

Accepted Solutions
Mettwurscht
Aspirant

Re: S3300-28X: Routing between two switches

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.
 

View solution in original post

Message 4 of 4

All Replies
Mitchelsmith77
Initiate

Re: S3300-28X: Routing between two switches

Same question.

Message 2 of 4
Retired_Member
Not applicable

Re: S3300-28X: Routing between two switches

I am not familiar with your devices. However, the networking principles are always the same no matter what devices or type of connections you use. If the WiFi devices you use to connect the two switches are VLAN-aware, you need to create both VLANs on both switches and set up the link ports as trunk. That will be a router-on-the-stick kind of connection. If those devices are not VLAN-aware, you need to create a so-called transition VLAN, set up the link ports as access and add proper static routes.

Message 3 of 4
Mettwurscht
Aspirant

Re: S3300-28X: Routing between two switches

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.
 
Message 4 of 4
Top Contributors
Discussion stats
  • 3 replies
  • 1031 views
  • 2 kudos
  • 3 in conversation
Announcements