注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 奥运,中国奖牌到底排第几?
 帮助

Cisco模拟器PacketTracert高级应用——帧中继


2008-07-03 21:46:52
版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://tiger506.blog.51cto.com/318536/85551
大家好啊!这两天过得开心吗?
在前面几篇里面我已经介绍了PacketTracert的一些基础应用。今天我们来利用这个模拟器做一下帧中继的实验吧~
首先我们还是看一看今天实验的拓扑图吧:
帧中继链接详细拓扑图:
看一看在PacketTracert中我们是如何配置帧中继服务的吧:
接下来看看路由器是如何配置的:
路由器R1的配置:
R1#sh run
Building configuration...
Current configuration : 908 bytes
!
version 12.3
no service password-encryption
!
hostname R1
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.20.254 255.255.255.0

 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/0/0
 no ip address
 encapsulation frame-relay ietf
!
interface Serial0/0/0.12 point-to-point
 ip address 192.168.3.1 255.255.255.0
 frame-relay interface-dlci 102
!
interface Serial0/0/0.13 point-to-point
 ip address 192.168.1.1 255.255.255.0
 frame-relay interface-dlci 103

!
interface Vlan1
 no ip address
 shutdown
!
router eigrp 100
 network 192.168.20.0
 network 192.168.1.0
 network 192.168.3.0
 auto-summary
!

ip classless
!
!
ip dhcp excluded-address 192.168.20.200 192.168.20.254
!
ip dhcp pool 51cto.com
 network 192.168.20.0 255.255.255.0
 default-router 192.168.20.254
 dns-server 192.168.20.251
!

line con 0
line vty 0 4
 login
!
!
end

路由器R2的配置:
R2#sh run
Building configuration...
Current configuration : 908 bytes
!
version 12.3
no service password-encryption
!
hostname R2
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.40.254 255.255.255.0

 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/0/0
 no ip address
 encapsulation frame-relay ietf
!
interface Serial0/0/0.21 point-to-point
 ip address 192.168.3.2 255.255.255.0
 frame-relay interface-dlci 201
!
interface Serial0/0/0.23 point-to-point
 ip address 192.168.4.1 255.255.255.0
 frame-relay interface-dlci 203
!

interface Vlan1
 no ip address
 shutdown
!
router eigrp 100
 network 192.168.3.0
 network 192.168.4.0
 network 192.168.40.0
 auto-summary
!

ip classless
!
!
ip dhcp excluded-address 192.168.40.200 192.168.40.254
!
ip dhcp pool 51cto.com
 network 192.168.40.0 255.255.255.0
 default-router 192.168.40.254
 dns-server 192.168.20.251

!
line con 0
line vty 0 4
 login
!
!
end
路由器R3的配置:
R3#sh run
Building configuration...
Current configuration : 908 bytes
!
version 12.3
no service password-encryption
!
hostname R3
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.30.254 255.255.255.0

 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/0/0
 no ip address
 encapsulation frame-relay ietf
!
interface Serial0/0/0.31 point-to-point
 ip address 192.168.1.2 255.255.255.0
 frame-relay interface-dlci 301
!
interface Serial0/0/0.32 point-to-point
 ip address 192.168.4.2 255.255.255.0
 frame-relay interface-dlci 302

!
interface Vlan1
 no ip address
 shutdown
!
router eigrp 100
 network 192.168.30.0
 network 192.168.4.0
 network 192.168.1.0
 auto-summary

!
ip classless
!
!
ip dhcp excluded-address 192.168.30.200 192.168.30.254
!
ip dhcp pool 51cto.com
 network 192.168.30.0 255.255.255.0
 default-router 192.168.30.254
 dns-server 192.168.20.251
!

line con 0
line vty 0 4
 login
!
!
end
路由器的配置就算是完成了。
在前面几篇文章中我介绍了PacketTracert中服务器的设置,再此不再赘述,在该实验中DNS服务器IP为:192.168.20.251;WEB服务器的IP地址为:192.168.20.253(www.51cto.com)。
下面看看路由表吧:
R1:
R1#SH 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    192.168.1.0/24 is directly connected, Serial0/0/0.13
C    192.168.3.0/24 is directly connected, Serial0/0/0.12
D    192.168.4.0/24 [90/2681856] via 192.168.3.2, 01:01:01, Serial0/0/0.12
                    [90/2681856] via 192.168.1.2, 01:00:36, Serial0/0/0.13
C    192.168.20.0/24 is directly connected, FastEthernet0/0
D    192.168.30.0/24 [90/2172416] via 192.168.1.2, 01:00:36, Serial0/0/0.13
D    192.168.40.0/24 [90/2172416] via 192.168.3.2, 01:00:58, Serial0/0/0.12
 
R2:
R2#SH 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
D    192.168.1.0/24 [90/2681856] via 192.168.3.1, 01:01:37, Serial0/0/0.21
                    [90/2681856] via 192.168.4.2, 01:01:15, Serial0/0/0.23
C    192.168.3.0/24 is directly connected, Serial0/0/0.21
C    192.168.4.0/24 is directly connected, Serial0/0/0.23
D    192.168.20.0/24 [90/2172416] via 192.168.3.1, 01:01:37, Serial0/0/0.21
D    192.168.30.0/24 [90/2172416] via 192.168.4.2, 01:01:17, Serial0/0/0.23
C    192.168.40.0/24 is directly connected, FastEthernet0/0
 
R3:
R3#
R3#SH 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    192.168.1.0/24 is directly connected, Serial0/0/0.31
D    192.168.3.0/24 [90/2681856] via 192.168.4.1, 01:02:15, Serial0/0/0.32
                    [90/2681856] via 192.168.1.1, 01:02:08, Serial0/0/0.31
C    192.168.4.0/24 is directly connected, Serial0/0/0.32
D    192.168.20.0/24 [90/2172416] via 192.168.1.1, 01:02:08, Serial0/0/0.31
C    192.168.30.0/24 is directly connected, FastEthernet0/0
D    192.168.40.0/24 [90/2172416] via 192.168.4.1, 01:02:15, Serial0/0/0.32
通过对路由表的观察我们知道网络已经联通了~
最后我们就在这个模拟器中小小应用一把吧:用PC0访问www.51cto.com(192.168.1.253)。
好了,帧中继在PacketTracert中的实验今天就介绍到这里吧~大家一块探索!
希望大家开心!
 
 

本文出自 “tiger506” 博客,请务必保留此出处http://tiger506.blog.51cto.com/318536/85551





    文章评论
 <<   1   2   >>   页数 ( 1/2 )  
2008-07-04 09:38:48
不错哦 这种帧中继实验还是挺费时费力的 支持

2008-07-04 10:33:42
一般情况下 还要
no arp fr
no fr inver

这个少不了!

2008-07-04 14:13:21
在设置静态指向的时候关闭 frame-relay invers-arp。

2008-07-05 08:13:48
请问上面的第二幅拓扑图用什么软件作出来的呀?

2008-07-05 09:59:52
Microsoft office visio 2003 + Photoshop

2008-07-16 13:01:57
想问下,用PacketTracert作Frame实验,Cloud-PT-Empty与Route连接用的是什么线?

2008-07-28 11:58:37
兄弟的文章不错啊!
不过PacketTracert我一直有个疑问,就是串行接口s0等做不了子接口配置,一直找不到原因,请教!
r1(config)#int s0/0/0.23
%Cannot create sub-interface

2008-07-29 00:00:15
先要对接口进行帧中继封装,然后才能配置子接口的。
毕竟这是一个用在CCNA阶段的考试实验软件啊,要爽还是得用小凡的那个模拟器啊~
一块学习,共同努力吧
我在休假了,变得很懒了,哈哈

2008-07-29 14:27:56
博主,我在对接口做了帧中继的封装后再做子接口配置,但返回信息还是一样,能给出正确的配置步骤和命令吗?谢谢

2008-07-30 00:58:54
谢谢你的信任!
我刚才做了一下实验,这是完整的命令,在子接口配置的时候要选择:point-to-point 或者 multipoint:)
Router(config)#int s0/0/0
Router(config-if)#encapsulation frame-relay ietf
Router(config-if)#exit
Router(config)#int s0/0/0.1
%Cannot create sub-interface
Router(config)#int s0/0/0.1 ?
multipoint     Treat as a multipoint link
point-to-point Treat as a point-to-point link
<cr>

Router(config)#int s0/0/0.1 point-to-point
Router(config-subif)#
%SYS-5-CONFIG_I: Configured from console by console

 <<   1   2   >>   页数 ( 1/2 )  

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: