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

大家好啊!这两天过得开心吗?
在前面几篇里面我已经介绍了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( [url]www.51cto.com[/url])。
下面看看路由表吧:
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访问 [url]www.51cto.com[/url](192.168.1.253)。
好了,帧中继在PacketTracert中的实验今天就介绍到这里吧~大家一块探索!
希望大家开心!
 




本文转自 tiger506 51CTO博客,原文链接:http://blog.51cto.com/tiger506/85551,如需转载请自行联系原作者

你可能感兴趣的:(运维)