08-22-2009 02:33 AM - edited 03-04-2019 05:48 AM
Hi All,
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 [5]: 10
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: ==================> ???????????????
Type of service [0]:
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
Lijsh.N.C
Solved! Go to Solution.
08-22-2009 04:20 AM
Hello Lijesh,
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.
Best regards,
Peter
08-22-2009 02:43 AM
It takes the address of the outgoing interface.
08-22-2009 04:03 AM
Hi Paolo,
Thanks for the reply.Would like to know which Outgoing interface will it take for eg: if ip address 192.168.10.10 belongs to serial0..by befault packet will be sourced from this interface ???
Lijesh.N.C
08-22-2009 04:20 AM
Hello Lijesh,
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.
Best regards,
Peter
08-22-2009 04:24 AM
Hi Peter,
Thanks for the reply.Its clear now.
cheers
Lijesh.N.C
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: