NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
ghost974
Aug 16, 2017Aspirant
Static route on S3300
I have a 2 datacenters composed of a Load balancer and a switch. Each location has it own internet connection/ gateway. I have a LANX connection between both location to stack my S3300. Servers on ...
ghost974
Aug 16, 2017Aspirant
Hi Hopchen, thx for the reply. I do understand the solution where my server will have the switch are their gateway for internal routing.
The switch-stack is seen as only 1 equipement, so just 1 default gateway. Do I configure gateway in Route > Routing Table > Configure Route > DefaultRoute ?
How would the switch know that traffic from servers 3.10 will go to 3.1, or 3.20 will go to 3.2 ?
Hopchen
Aug 16, 2017Prodigy
Hi,
I assume you are referring to my suggestion number 2? In that case, I have answered your questions below.
"Do I configure gateway in Route > Routing Table > Configure Route > DefaultRoute"
No need to do any additional routes on the switch-stack essentially. The switch-stack will have two routing duties. Route traffic from the 192.168.3.x network to the 192.168.6.x network and vice versa. You will create VLAN interfaces in each VLAN (3 and 6) to accomplish this. You don't need to make routes to tell the switch-stack where networks 192.168.3.x and 192.168.6.x are. The switch-stack knows already. It has interfaces in those networks :)
"How would the switch-stack know that traffic from servers 3.10 will go to 3.1, or 3.20 will go to 3.2?"
That is not how it would work :). The end solution would work like this:
- If server in VLAN/network 3 or 6 wants to communicate with a server in the other network, then the request is sent to the switch-stack (defined by the static routes you created on those servers). The packet is routed to the other VLAN/network solely by the switch-stack. Your LBs will never see that traffic.
- If a server in VLAN/network 3 or 6 wants to communicate with anything else (Internet, etc.) the request is sent to the server's default gateway, which will be the LBs. The switch-stack is not involved here at all, from a routing point of view.
Let me know if anything is unclear.
Cheers
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!