Here is the scenario. Currently there is a flat layer 2 network with a single /24 subnet. The intent is to segment that /24 using a layer 3 switch. On the /24 network there exists clients with differing default gateways. There are multiple exit points from the /24 network. If the layer 3 switch is implemented using multiple routing interfaces to join the newly segmented network, is it possible to assign different default gateways to the individual routing addresses to accomplish having multiple exists from the network as a whole onto the WAN? Is there a hard limitation that the switch performing the layer 3 routing can only have one default gateway? Example details below.
Current Example network
- network 192.168.1.0/24
- edge router 1: 192.168.1.1
- edge router 2: 192.168.1.2
- Client A: 192.168.1.101, GW 192.168.1.1
- Client B: 192.168.1.102, GW 192.168.1.2
Example Target network
- network 1: 192.168.100.0/24
- edge router 1: 192.168.100.1
- edge router 2: 192.168.100.2
layer 3 swtich
- routing inf 1: 192.168.100.3
- routing inf 2: 192.168.200.3
- routing inf 3: 192.168.300.3
- default GW: 192.168.100.1
Network 2: 192.168.200.0/24
- Client A: 192.168.200.1, GW 192.168.200.3
Network 3: 192.168.300.0/24
- Client B: 192.168.300.1, GW 192.168.300.3
In this example the hardware used for as the layer 3 switch would be a Netgear M4300
Can the desired outcome of having Client A and B exit the network on the originally specified edge routers be achieved?