To define the source IP used in ARP probes sent on VLANs without an IP address, use the ip device tracking probe auto-source
command in Global Configuration mode. To restore the default configuration, use the no form of this command.
Syntax
ip device tracking probe auto-source fallback host-ip mask override
no ip device tracking probe auto-source
Parameters
-
host-ip—the Ip address to be used as the source IP in probes sent on VLANs without an IP address.
-
mask—a mask, in IPv4 address format. This mask is applied to the host-ip parameter to determine the actual source IP to use on
each VLAN.
Default Configuration
0.0.0.0 is used as the source IP address for probes that are sent on VLAN interfaces without an IP address.
Command Mode
Global Configuration mode
User Guidelines
ARP Probes sent by Layer 3 interfaces use the Interface’s IP address as the source IP address for ARP probes sent by IP device
tracking mechanism. This includes IP addresses configured on physical interfaces, Port-channels or VLANs
By default, the source IP address of ARP probes sent by a Layer 2 VLAN (a VLAN not configured with an IP address) is 0.0.0.0.
Use the ip device tracking probe auto-source command to change the source address used by L2 VLANs. The host-ip parameter
defines the IP address to use as the ARP Probe source IP address. The mask parameter defines which bits in the host-ip parameter
should be used as the ARP probe source IP, where 1 indicates “don't use” (or masked) and 0 indicates “use”. The mask part
of the IP address is taken from the IP address of the endpoint to which the ARP probe is sent. The mask must be contiguous
from the high order bit (e.g 255.255.0.0 is a valid mask while 0.0.255.255 is not a valid mask)
Here are a few examples, where the ARP probe needs to be sent to 2 hosts: 10.10.1.100 and 20.1.1.100. The address segment
taken from the host IP is highlighted:
-
When the following command was specified: ip device tracking probe auto-source fallback 0.0.0.1 255.255.255.0 override:
-
When the following command was specified: ip device tracking probe auto-source fallback 0.0.2.1 255.255.0.0 override:
-
When the following command was specified: ip device tracking probe auto-source fallback 0.3.2.1 255.0.0.0 override
Examples
The following example specifies that the probe source IP address will use the first 3 bytes of the network address and the
value of 11 for the host segment (last byte):
switchxxxxxx(config)# ip device tracking probe auto-source fallback 0.0.0.11
255.255.255.0 override