× 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

m4300-28g

dnell20
Aspirant

m4300-28g

I'm still fairly new to this so I apologize in advance if I don't have all the correct information needed to phrase the question properly, but I've attached a diagram that might be able to better explain. I have machines that have two nic cards installed and they will connect to a m4300-28g managed switch with two separate vlans that should not talk between each other.  These two vlans should go to separate gateways that will be directly connected.  My question is does each vlan need a separate static route to the gateway its connected to or does it even need a static route?VLAN_Diagram.jpg

Message 1 of 6

Accepted Solutions
Retired_Member
Not applicable

Re: m4300-28g

@dnell20 

" do you mean the routing table in the OS of the machine. "

 

Not, really. When you set up a NIC, you define a subnet and a default gateway for it. Windows will create itself all necessary routes. You will be able to reach any address in those subnets right away. However for addresses outside of those subnets, Windows needs a default gateway and here’s the dilemma. Each NIC has its own default gateway, but there may be only one default gateway in a system as a whole. Therefore, Windows will pick one of those NICs and use it for those addresses all the time, that is unless it is told otherwise. Windows Server or Windows 10 makes it possible to set up load balancing to use multiple NICs. Windows 11 does not support it. But, yes, you can create static routes for some specific addresses or address ranges where you indicate the NIC to be used.

View solution in original post

Message 5 of 6

All Replies
Retired_Member
Not applicable

Re: m4300-28g

@dnell20 

You will have a group of ports in vlan1 and a group of ports in vlan2. You simply connect Gateway #1 to a port that is a member of vlan1 and Gateway #2 to a port that is a member of vlan2. Each of the PC NICs will have its own default gateway, Gateway #1 for NIC #1 and Gateway #2 for NIC #2. That’s it. However, your PCs will need to use some logic to select either NIC #1 or NIC #2.

Message 2 of 6
dnell20
Aspirant

Re: m4300-28g

Ok wow that's pretty simple.  Thanks so much.  And just to make sure when you say the pc's will need some logic, do you mean the routing table in the OS of the machine.  These will be windows machines so setting up routes in the routing table to point to each specific gateway of each nic card?

Message 3 of 6
schumaku
Guru

Re: m4300-28g

 

The basic static routing decision is defined on the PC with the two adapters is done by the IP stack based on the subnet addressing. 

Message 4 of 6
Retired_Member
Not applicable

Re: m4300-28g

@dnell20 

" do you mean the routing table in the OS of the machine. "

 

Not, really. When you set up a NIC, you define a subnet and a default gateway for it. Windows will create itself all necessary routes. You will be able to reach any address in those subnets right away. However for addresses outside of those subnets, Windows needs a default gateway and here’s the dilemma. Each NIC has its own default gateway, but there may be only one default gateway in a system as a whole. Therefore, Windows will pick one of those NICs and use it for those addresses all the time, that is unless it is told otherwise. Windows Server or Windows 10 makes it possible to set up load balancing to use multiple NICs. Windows 11 does not support it. But, yes, you can create static routes for some specific addresses or address ranges where you indicate the NIC to be used.

Message 5 of 6
dnell20
Aspirant

Re: m4300-28g

Ok great.  Thanks again for your help I really appreciate it.

 

Have a great day.....

Message 6 of 6
Top Contributors
Discussion stats
  • 5 replies
  • 664 views
  • 2 kudos
  • 3 in conversation
Announcements