It is a basic question.
Assume 2 physical machines in two different subnets. VxLAN is configured on 2 TOR switches housing these machines in different subnets in different racks.
Host A IP: IP-A Mac: Mac-A Host B IP: IP-B Mac: Mac-B
When A wants to talk to B, since VxLAN learns the mac addresses somehow (multicast/unicast),
- Can host A get the mac address of B from the local TOR switch's ARP table?
- When host A wants to talk to some random machine, say C (which is not a part of VxLAN), is there any special gateway IP or the same gateway IP is enough. In otherwords, when VxLAN is configured in switches do I need any special configuration in the server in terms of gateway IP or routes so as to go outside of the network?