Router>enable
Router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fastethernet 0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#interface fastethernet 0/1
Router(config-if)#ip address 172.16.0.1 255.255.0.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Router(config-if)#exit
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
C 172.16.0.0/16 is directly connected, FastEthernet0/1
C 192.168.1.0/24 is directly connected, FastEthernet0/0
Router#ping 192.168.1.95
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.95, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 2/5/7 ms
Router#ping 172.16.1.95
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.95, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 2/4/6 ms
Router#
Packet Tracer PC Command Line 1.0
PC>ipconfig
IP Address......................: 192.168.1.95
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 192.168.1.1
PC>ping 192.168.1.95
Pinging 192.168.1.95 with 32 bytes of data:
Reply from 192.168.1.95: bytes=32 time=2ms TTL=128
Reply from 192.168.1.95: bytes=32 time=0ms TTL=128
Reply from 192.168.1.95: bytes=32 time=3ms TTL=128
Reply from 192.168.1.95: bytes=32 time=2ms TTL=128
Ping statistics for 192.168.1.95:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 3ms, Average = 1ms
PC>ping 192.168.1.1
Pinging 192.168.1.1 with 32 bytes of data:
Reply from 192.168.1.1: bytes=32 time=7ms TTL=255
Reply from 192.168.1.1: bytes=32 time=2ms TTL=255
Reply from 192.168.1.1: bytes=32 time=2ms TTL=255
Reply from 192.168.1.1: bytes=32 time=3ms TTL=255
Ping statistics for 192.168.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 2ms, Maximum = 7ms, Average = 3ms
PC>ping 172.16.0.1
Pinging 172.16.0.1 with 32 bytes of data:
Reply from 172.16.0.1: bytes=32 time=3ms TTL=255
Reply from 172.16.0.1: bytes=32 time=3ms TTL=255
Reply from 172.16.0.1: bytes=32 time=5ms TTL=255
Reply from 172.16.0.1: bytes=32 time=5ms TTL=255
Ping statistics for 172.16.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 3ms, Maximum = 5ms, Average = 4ms
PC>ping 172.16.1.95
Pinging 172.16.1.95 with 32 bytes of data:
Reply from 172.16.1.95: bytes=32 time=14ms TTL=127
Reply from 172.16.1.95: bytes=32 time=15ms TTL=127
Reply from 172.16.1.95: bytes=32 time=11ms TTL=127
Reply from 172.16.1.95: bytes=32 time=10ms TTL=127
Ping statistics for 172.16.1.95:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 10ms, Maximum = 15ms, Average = 12ms
PC>
Packet Tracer PC Command Line 1.0
PC>ipconfig
IP Address......................: 172.16.1.95
Subnet Mask.....................: 255.255.0.0
Default Gateway.................: 172.16.0.1
PC>ping 172.16.1.95
Pinging 172.16.1.95 with 32 bytes of data:
Reply from 172.16.1.95: bytes=32 time=0ms TTL=128
Reply from 172.16.1.95: bytes=32 time=20ms TTL=128
Reply from 172.16.1.95: bytes=32 time=5ms TTL=128
Reply from 172.16.1.95: bytes=32 time=0ms TTL=128
Ping statistics for 172.16.1.95:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 20ms, Average = 6ms
PC>ping 172.16.0.1
Pinging 172.16.0.1 with 32 bytes of data:
Reply from 172.16.0.1: bytes=32 time=4ms TTL=255
Reply from 172.16.0.1: bytes=32 time=5ms TTL=255
Reply from 172.16.0.1: bytes=32 time=7ms TTL=255
Reply from 172.16.0.1: bytes=32 time=5ms TTL=255
Ping statistics for 172.16.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 4ms, Maximum = 7ms, Average = 5ms
PC>ping 192.168.1.1
Pinging 192.168.1.1 with 32 bytes of data:
Reply from 192.168.1.1: bytes=32 time=5ms TTL=255
Reply from 192.168.1.1: bytes=32 time=8ms TTL=255
Reply from 192.168.1.1: bytes=32 time=4ms TTL=255
Reply from 192.168.1.1: bytes=32 time=5ms TTL=255
Ping statistics for 192.168.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 4ms, Maximum = 8ms, Average = 5ms
PC>ping 192.168.1.95
Pinging 192.168.1.95 with 32 bytes of data:
Reply from 192.168.1.95: bytes=32 time=11ms TTL=127
Reply from 192.168.1.95: bytes=32 time=7ms TTL=127
Reply from 192.168.1.95: bytes=32 time=13ms TTL=127
Reply from 192.168.1.95: bytes=32 time=8ms TTL=127
Ping statistics for 192.168.1.95:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 7ms, Maximum = 13ms, Average = 9ms