您的位置:首页 > 其它

CCNA全网互通实验 问题2

2011-11-04 14:08 162 查看
补充一下:

这个里面应该加一句no ip cef 才能达到效果!

R1#show run

Building configuration...

Current configuration : 1005 bytes

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname R1

!

boot-start-marker

boot-end-marker

!

!

no aaa new-model

memory-size iomem 5

!

!

ip cef

!

!

interface Loopback0

ip address 1.1.1.1 255.255.255.0

!

interface Ethernet0/0

ip address 192.168.12.1 255.255.255.0

half-duplex

!

interface Ethernet0/1

ip address 192.168.13.1 255.255.255.0

half-duplex

!

interface Ethernet0/2

no ip address

shutdown

half-duplex

!

interface Ethernet0/3

no ip address

shutdown

half-duplex

!

ip http server

no ip http secure-server

!

ip route 2.2.2.0 255.255.255.0 192.168.12.2

ip route 2.2.2.0 255.255.255.0 192.168.13.3

ip route 3.3.3.0 255.255.255.0 192.168.13.3

ip route 3.3.3.0 255.255.255.0 192.168.12.2

ip route 192.168.23.0 255.255.255.0 192.168.12.2

ip route 192.168.23.0 255.255.255.0 192.168.13.3

!

!

!

!

control-plane

!

line con 0

line aux 0

line vty 0 4

!

!

end

R2#show run

Building configuration...

Current configuration : 1005 bytes

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname R2

!

boot-start-marker

boot-end-marker

!

!

no aaa new-model

memory-size iomem 5

!

!

ip cef

!

interface Loopback0

ip address 2.2.2.2 255.255.255.0

!

interface Ethernet0/0

ip address 192.168.12.2 255.255.255.0

half-duplex

!

interface Ethernet0/1

ip address 192.168.23.2 255.255.255.0

half-duplex

!

interface Ethernet0/2

no ip address

shutdown

half-duplex

!

interface Ethernet0/3

no ip address

shutdown

half-duplex

!

ip http server

no ip http secure-server

!

ip route 1.1.1.0 255.255.255.0 192.168.12.1

ip route 1.1.1.0 255.255.255.0 192.168.23.3

ip route 3.3.3.0 255.255.255.0 192.168.23.3

ip route 3.3.3.0 255.255.255.0 192.168.12.1

ip route 192.168.23.0 255.255.255.0 192.168.12.1

ip route 192.168.23.0 255.255.255.0 192.168.23.3

!

!

!

!

control-plane

!

line con 0

line aux 0

line vty 0 4

!

!

end

R3#show run

Building configuration...

Current configuration : 1005 bytes

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname R3

!

boot-start-marker

boot-end-marker

!

!

no aaa new-model

memory-size iomem 5

!

!

ip cef

!

!

interface Loopback0

ip address 3.3.3.3 255.255.255.0

!

interface Ethernet0/0

ip address 192.168.23.3 255.255.255.0

half-duplex

!

interface Ethernet0/1

ip address 192.168.13.3 255.255.255.0

half-duplex

!

interface Ethernet0/2

no ip address

shutdown

half-duplex

!

interface Ethernet0/3

no ip address

shutdown

half-duplex

!

ip http server

no ip http secure-server

!

ip route 1.1.1.0 255.255.255.0 192.168.13.1

ip route 1.1.1.0 255.255.255.0 192.168.23.2

ip route 2.2.2.0 255.255.255.0 192.168.23.2

ip route 2.2.2.0 255.255.255.0 192.168.13.1

ip route 192.168.12.0 255.255.255.0 192.168.13.1

ip route 192.168.12.0 255.255.255.0 192.168.23.2

!

!

!

!

control-plane

!

line con 0

line aux 0

line vty 0 4

!

!

end

本文出自 “技术盛宴” 博客,请务必保留此出处http://squal108.blog.51cto.com/3840780/705989
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: