第一步:配置R1

interface FastEthernet0/0 ip address 12.0.0.1 255.255.255.0 duplex auto speed auto

第二步:配置R2

interface FastEthernet0/0 ip address 12.0.0.2 255.255.255.0 duplex auto speed auto 第三步:ping测试 R1#ping 12.0.0.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 12.0.0.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 16/36/64 ms