cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1596
Views
5
Helpful
3
Replies

same subnet communication - how it works

nflnetwork
Level 1
Level 1

If there is 2 servers on the same subnet and they are sending heartbeat packets between each other (hyperv cluster for example)

Would they use the default gateway in this scenario? 

3 Replies 3

Mark Malone
VIP Alumni
VIP Alumni

Hey No shouldn't be required , If its on the same subnet they use arp resolve to mac for communication

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Just to add a little to Mark's post, the default gateway should only be used when the destination host's IP is considered not on the same subnet as the source host's.

Since subnets are local to the host, and multiple subnets can be on the same "wire", you can have some "odd" situations, where one host uses the default gateway and the other doesn't, or hosts only use the gateway once and the gateway informs the source it doesn't need the gateway, but normally, as Mark noted, the source should just ARP for the destination's MAC.

PS: BTW, there can be other "odd" situations, that would preclude two hosts on the same subnet from directly communicating, like Cisco's private VLAN feature.

Robert Hillcoat
Level 1
Level 1

As Mark Malone states no default gateway needed. 

If they are connected to different switches that aren't trunked correctly then that might cause you some problems.