Sorry to put this basic quiestion.i am confused with this.
From PE Router if i am pinging any customer ip address what would be default source address its taking if source address/interface is not mentioned.
XX-XX-XX#p vrf TEST-VRF
Target IP address: 172.16.XX.XX
Repeat count : 10
Datagram size :
Timeout in seconds :
Extended commands [n]: y
Source address or interface: ==================> ???????????????
Type of service :
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 10, 100-byte ICMP Echos to 172.16.XX.XX, timeout is 2 seconds:
Success rate is 100 percent (10/10), round-trip min/avg/max = 4/6/8 ms
Thanks in advance
Each time your router originates a packet and sends it to a particular destination, it looks into the corresponding routing table to find out how to reach that destination. The result of the routing table lookup is always the outgoing interface and optionally information which next hop should receive the packet. The address of the outgoing interface will then be used as the source IP address of the packet.
So, to answer which outgoing interface will it be - it depends on the destination IP address and on the routing table that determines how to reach that destination. That in turn also determines the source address of the packet.