本案例选用的路由器是长久搁置未用的Cisco 1603,其IOS版本号为“11.1(12)AA”(映像文件为“c1600-y-l.111-12.AA”);而Cisco的IOS在版本11.2以上才支持NAT,所以需要用TFTP把Cisco 1603的IOS升级至“11.2(26)P7”(映像文件为“1600-oy-l.112-26.P7.bin”)。(升级部分略)
3、Cisco 1603路由器的配置:
1)Cisco路由器对帧中继的主要配置参数:
(1)设置封装协议与数据包封装格式:
encapsulation frame-relay IETF
a.封装协议:
帧中继;
b.帧中继数据包封装格式:
Cisco路由器缺省为IETF,且电信帧中继线路一般也为IETF格式。
(2)设置帧中继LMI(Loacl Management Interface)的信令格式:
frame-relay lmi-type ansi
Cisco路由器缺省的LMI信令格式为cisco,所以需改为ansi。
(3)设置帧中继虚电路的本地dlci:
rame-relay interface-dlci 222
2)Cisco 1603路由器的配置实例:
#sh run
Building configuration...
Current configuration:
!
version 11.2
no service password-encryption
no service udp-small-servers
no service tcp-small-servers
!
hostname frame-relay
!
ip subnet-zero
ip nat pool aside 10.10.0.1 10.10.0.1 netmask 255.255.255.0
ip nat inside source list 1 pool aside overload
!
interface Ethernet0
ip address 192.168.0.1 255.255.255.0
ip nat inside
logging event subif-link-status
!
interface Serial0
no ip address
encapsulation frame-relay IETF
logging event subif-link-status
logging event dlci-status-change
frame-relay lmi-type ansi
!
interface Serial0.1 point-to-point
ip address 10.10.0.1 255.255.255.0
ip nat outside
frame-relay interface-dlci 222
!
ip classless
ip route 10.20.0.0 255.255.255.0 10.10.0.2
access-list 1 permit 192.168.0.0 0.0.0.3
!
end
用Eicon接口卡来连接帧中继线路
0
相关文章