This is a a question about a private network.
I have two servers (Linux), srv1, srv2, each has one NIC. I have two switches (Cisco 3750), sw1, sw2
The servers are on two different subnets.
srv1 is on 192.168.1.0 (network A, sw1) .> the A and B are not classes, only represent the networks for the question
srv2 is on 18.104.22.168 (network B, sw2)
If A wants sends out traffic for B via sw1 (the one A is physically connected to) and ip routing is turned on on the switches, sw1 & sw2, do I need a specific gateway for the sw2 traffic?
Let me ask another way,
- If svr1 send traffic to svr2 and I only have one physical network connection to to sw1, what happens to the packet?
- Will packet ever make it to the Cisco switch from the box?
- Or does it get to the switch and die?
- Get routed?
- Isn't a unique gateway only need when you have more than one physical NIC?
I simplified the question, but in reality the sw2 subnet is on a private network along with many devices, specifically a SAN I want sw1 to be able to get to (and vice-versa).