Some content on this page was disabled on February 27, 2020 as a result of a DMCA takedown notice from Messer Studios LLC. You can learn more about the DMCA here:
Specifying a different source to generate the pings R1#ping 10.1.1.1 source 192.168.1.2 Router A>enable Router A#ping Protocol [ip]: Target IP address: 192.168.40.1 !--- The address to ping. Repeat count : Datagram size : Timeout in seconds : Extended commands [n]: y Source address or interface: 172.16.23.2 !---Ping packets are sourced from this address. 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 5, 100-byte ICMP Echos to 184.108.40.206, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 36/97/132 ms !--- Ping is successful. Router A>enable Router A#traceroute Protocol [ip]: Target IP address: 192.168.40.2 !--- The address to which the path is traced. Source address: 172.16.23.2 Numeric display [n]: Timeout in seconds : Probe count : Minimum Time to Live : Maximum Time to Live : Port Number : Loose, Strict, Record, Timestamp, Verbose[none]: Type escape sequence to abort. Tracing the route to 192.168.40.2 1 172.31.20.2 16 msec 16 msec 16 msec 2 172.20.10.2 28 msec 28 msec 32 msec 3 192.168.40.2 32 msec 28 msec * !--- The traceroute is successful.