menghu
新新人类
帖子
32
精华
0
无忧币 99
积分 29
阅读权限 20
|
发表于:2008-4-12 12:34
该回复被 黑夜凌晨 奖励 20 点无忧币
此回复于2008-04-12 13:34被 黑夜凌晨 评为最佳答案
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int s2/1
R1(config-if)#ip add 172.16.1.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#int s2/2
R1(config-if)#ip add 192.168.1.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#exit
R1(config)#^Z
R1#pi
*Apr 12 12:58:36.007: %SYS-5-CONFIG_I: Configured from console by console
R1#ping 172.16.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/25/48 ms
R1#ping 192.168.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R1#ping 192.168.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
..
Success rate is 0 percent (0/2)
R1#ping 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/46/132 ms
R1#
R1#ping 192.168.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/29/64 ms
R1#ping 192.168.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/34/64 ms
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#ip route 192.168.1.0 255.255.255.0 172.16.1.1
%Invalid next hop address (it's this router)
R1(config)#
PC1#config t
Enter configuration commands, one per line. End with CNTL/Z.
PC1(config)#int s2/1
PC1(config-if)#ip add 172.16.1.2 255.255.255.0
PC1(config-if)#no shut
PC1(config-if)#ip de
PC1(config-if)#exit
PC1(config)#ip de
PC1(config)#ip default-172.16.1.1 255.255.255.0
^
% Invalid input detected at '^' marker.
PC1(config)#ip default-g172.16.1.1
PC1(config)#ip default-g 172.16.1.1
PC1(config)#no ip routing
PC1(config)#^Z
PC1#
*Apr 12 12:57:09.287: %SYS-5-CONFIG_I: Configured from console by console
PC1#ping 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/30/72 ms
PC1#ping 192.168.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 48/57/64 ms
PC2#config t
Enter configuration commands, one per line. End with CNTL/Z.
PC2(config)#int s2/1
PC2(config-if)#ip add 192.168.1.2 255.255.255.0
PC2(config-if)#no shut
PC2(config-if)#exit
PC2(config)#ip de
PC2(config)#ip default-g
PC2(config)#ip default-gateway 192.168.1.1
PC2(config)#no ip routing
PC2(config)#^Z
PC2#
*Apr 12 13:00:08.223: %SYS-5-CONFIG_I: Configured from console by console
PC2#
*Apr 12 13:00:15.011: IP: s=192.168.1.1 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:00:15.015: IP: tableid=0, s=192.168.1.2 (local), d=192.168.1.1 (Serial2/1), routed via RIB
*Apr 12 13:00:15.015: IP: s=192.168.1.2 (local), d=192.168.1.1 (Serial2/1), len 100, sending
*Apr 12 13:00:15.079: IP: s=192.168.1.1 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:00:15.083: IP: tableid=0, s=192.168.1.2 (local), d=192.168.1.1 (Serial2/1), routed via RIB
*Apr 12 13:00:15.083: IP: s=192.168.1.2 (local), d=192.168.1.1 (Serial2/1), len 100, sending
*Apr 12 13:00:15.095: IP: s=192.168.1.1 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:00:15.095: IP: tableid=0, s=192.168.1.2 (local), d=192.168.1.1 (Serial2/1), routed via RIB
*Apr 12 13:00:15.095: IP: s=192.168.1.2 (local), d=192.168.1.1 (Serial2/1), len 100, sending
*Apr 12 13:00:15.103: IP: s=192.168.1.1 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:00:15.103: IP: tableid=0, s=192.168.1.2 (local), d=192.
PC2#168.1.1 (Serial2/1), routed via RIB
*Apr 12 13:00:15.103: IP: s=192.168.1.2 (local), d=192.168.1.1 (Serial2/1), len 100, sending
*Apr 12 13:00:15.111: IP: s=192.168.1.1 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:00:15.115: IP: tableid=0, s=192.168.1.2 (local), d=192.168.1.1 (Serial2/1), routed via RIB
*Apr 12 13:00:15.115: IP: s=192.168.1.2 (local), d=192.168.1.1 (Serial2/1), len 100, sending
PC2#
*Apr 12 13:00:17.135: IP: s=192.168.1.1 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:00:17.139: IP: tableid=0, s=192.168.1.2 (local), d=192.168.1.1 (Serial2/1), routed via RIB
*Apr 12 13:00:17.139: IP: s=192.168.1.2 (local), d=192.168.1.1 (Serial2/1), len 100, sending
*Apr 12 13:00:17.167: IP: s=192.168.1.1 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:00:17.171: IP: tableid=0, s=192.168.1.2 (local), d=192.168.1.1 (Serial2/1), routed via RIB
*Apr 12 13:00:17.171: IP: s=192.168.1.2 (local), d=192.168.1.1 (Serial2/1), len 100, sending
*Apr 12 13:00:17.199: IP: s=192.168.1.1 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:00:17.203: IP: tableid=0, s=192.168.1.2 (local), d=192.168.1.1 (Serial2/1), routed via RIB
*Apr 12 13:00:17.203: IP: s=192.168.1.2 (local), d=192.168.1.1 (Serial2/1), len 100, sending
*Apr 12 13:00:17.207: IP: s=192.168.1.1 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:00:17.211: IP: tableid=0, s=192.168.1.2 (local), d=192.
PC2#168.1.1 (Serial2/1), routed via RIB
*Apr 12 13:00:17.211: IP: s=192.168.1.2 (local), d=192.168.1.1 (Serial2/1), len 100, sending
*Apr 12 13:00:17.223: IP: s=192.168.1.1 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:00:17.227: IP: tableid=0, s=192.168.1.2 (local), d=192.168.1.1 (Serial2/1), routed via RIB
*Apr 12 13:00:17.227: IP: s=192.168.1.2 (local), d=192.168.1.1 (Serial2/1), len 100, sending
PC2#
*Apr 12 13:01:11.359: IP: s=172.16.1.2 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:01:11.363: IP: tableid=0, s=192.168.1.2 (local), d=172.16.1.2 (Serial2/1), routed via RIB
*Apr 12 13:01:11.363: IP: s=192.168.1.2 (local), d=172.16.1.2 (Serial2/1), len 100, sending
*Apr 12 13:01:11.411: IP: s=172.16.1.2 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:01:11.415: IP: tableid=0, s=192.168.1.2 (local), d=172.16.1.2 (Serial2/1), routed via RIB
*Apr 12 13:01:11.415: IP: s=192.168.1.2 (local), d=172.16.1.2 (Serial2/1), len 100, sending
*Apr 12 13:01:11.483: IP: s=172.16.1.2 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:01:11.487: IP: tableid=0, s=192.168.1.2 (local), d=172.16.1.2 (Serial2/1), routed via RIB
*Apr 12 13:01:11.487: IP: s=192.168.1.2 (local), d=172.16.1.2 (Serial2/1), len 100, sending
*Apr 12 13:01:11.547: IP: s=172.16.1.2 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:01:11.547: IP: tableid=0, s=192.168.1.2 (local), d=172.16.1.2 (Serial2/1), routed via RIB
*Apr 12 13:01:11.547: IP: s=192.168.1.2 (local), d=172.16.1.2 (Serial2/1), len 100, sending
*Apr 12 13:01:11.591: IP: s=172.16.1.2 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:01:11.595: IP: tableid=0, s=192.168.1.2 (local), d=172.16.1.2 (Serial2/1), routed via RIB
PC2#
*Apr 12 13:01:11.595: IP: s=192.168.1.2 (local), d=172.16.1.2 (Serial2/1), len 100, sending
PC2#ping 172.16.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/38/80 ms
PC2#
*Apr 12 13:01:24.239: IP: tableid=0, s=192.168.1.2 (local), d=172.16.1.1 (Serial2/1), routed via RIB
*Apr 12 13:01:24.243: IP: s=192.168.1.2 (local), d=172.16.1.1 (Serial2/1), len 100, sending
*Apr 12 13:01:24.319: IP: s=172.16.1.1 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:01:24.323: IP: tableid=0, s=192.168.1.2 (local), d=172.16.1.1 (Serial2/1), routed via RIB
*Apr 12 13:01:24.323: IP: s=192.168.1.2 (local), d=172.16.1.1 (Serial2/1), len 100, sending
*Apr 12 13:01:24.355: IP: s=172.16.1.1 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:01:24.359: IP: tableid=0, s=192.168.1.2 (local), d=172.16.1.1 (Serial2/1), routed via RIB
*Apr 12 13:01:24.363: IP: s=192.168.1.2 (local), d=172.16.1.1 (Serial2/1), len 100, sending
*Apr 12 13:01:24.395: IP: s=172.16.1.1 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:01:24.399: IP: tableid=0, s=192.168.1.2 (local), d=172.16.1.1 (Serial2/1), routed via RIB
*Apr 12 13:01:24.399: IP: s=192.168.1.2 (local), d=172.16.
PC2#1.1 (Serial2/1), len 100, sending
*Apr 12 13:01:24.419: IP: s=172.16.1.1 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:01:24.423: IP: tableid=0, s=192.168.1.2 (local), d=172.16.1.1 (Serial2/1), routed via RIB
*Apr 12 13:01:24.423: IP: s=192.168.1.2 (local), d=172.16.1.1 (Serial2/1), len 100, sending
*Apr 12 13:01:24.447: IP: s=172.16.1.1 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
PC2#ping 172.16.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/39/124 ms
PC2#
*Apr 12 13:01:27.555: IP: tableid=0, s=192.168.1.2 (local), d=172.16.1.2 (Serial2/1), routed via RIB
*Apr 12 13:01:27.559: IP: s=192.168.1.2 (local), d=172.16.1.2 (Serial2/1), len 100, sending
*Apr 12 13:01:27.679: IP: s=172.16.1.2 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:01:27.687: IP: tableid=0, s=192.168.1.2 (local), d=172.16.1.2 (Serial2/1), routed via RIB
*Apr 12 13:01:27.691: IP: s=192.168.1.2 (local), d=172.16.1.2 (Serial2/1), len 100, sending
*Apr 12 13:01:27.723: IP: s=172.16.1.2 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:01:27.727: IP: tableid=0, s=192.168.1.2 (local), d=172.16.1.2 (Serial2/1), routed via RIB
*Apr 12 13:01:27.727: IP: s=192.168.1.2 (local), d=172.16.1.2 (Serial2/1), len 100, sending
*Apr 12 13:01:27.747: IP: s=172.16.1.2 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:01:27.751: IP: tableid=0, s=192.168.1.2 (local), d=172.16.1.2 (Serial2/1), routed via RIB
*Apr 12 13:01:27.751: IP: s=192.168.1.2 (local), d=172.16.
PC2#1.2 (Serial2/1), len 100, sending
*Apr 12 13:01:27.759: IP: s=172.16.1.2 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
*Apr 12 13:01:27.763: IP: tableid=0, s=192.168.1.2 (local), d=172.16.1.2 (Serial2/1), routed via RIB
*Apr 12 13:01:27.763: IP: s=192.168.1.2 (local), d=172.16.1.2 (Serial2/1), len 100, sending
*Apr 12 13:01:27.771: IP: s=172.16.1.2 (Serial2/1), d=192.168.1.2, len 100, rcvd 1
PC2#no debug ip pac
IP packet debugging is off
PC2#
|
 网络工程师到底该不该去考CCIE认证? |
|