免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 5741 | 回复: 18
打印 上一主题 下一主题

专用ADSL在CISCO 1721上如何配置 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-02-18 17:17 |只看该作者 |倒序浏览
大虾,我公司申请了一条专用ADSL,IP:218.19.174.8;网关:218.19.174.1 。DNS:202.96.128.68,请问在CISCO 1721上如何配置

论坛徽章:
0
2 [报告]
发表于 2003-02-18 20:29 |只看该作者

专用ADSL在CISCO 1721上如何配置

是专线就直接配。

论坛徽章:
0
3 [报告]
发表于 2003-02-19 09:49 |只看该作者

专用ADSL在CISCO 1721上如何配置

楼上的大虾,具体点如何?。虚拟ADSL的配置方式我知道。那些有变动。

论坛徽章:
0
4 [报告]
发表于 2003-02-19 09:52 |只看该作者

专用ADSL在CISCO 1721上如何配置

直接用电话线连接还是要是用ADSL MODEM再与路由器连接。

论坛徽章:
0
5 [报告]
发表于 2003-02-19 12:43 |只看该作者

专用ADSL在CISCO 1721上如何配置

在专线接入方式中,ADSL设备提供透明的ATM PVC通路,ADSL-Modem采用1483-Bridge协议,在路由器上配ip地址,局域网要上internet要做nat就行了.

论坛徽章:
0
6 [报告]
发表于 2003-02-19 14:31 |只看该作者

专用ADSL在CISCO 1721上如何配置

以下是我根据具体情况配置的请楼上的大虾指点:
!
ip nat pool pool  c1721 192.168.0.1 192.168.0.254 netmask 255.255.255.0

interface FastEthernet0
ip address 192.168.0.1 255.255.255.0

no shutdown

ip nat inside
!

interface ATM0

ip address 218.19.174.10  255.255.255.0

no shutdown

bundle-enable

dsl operating-mode auto

hold-queue 224 in

interface ATM0.1 point-to-point <=ADSL的通讯 依靠VC,所以必须设定点到点VC

pvc 8/35

!

ip mtu 1492

ip nat outside

encapsulation ppp

ip nat inside source list 1 pool c1721 overload


ip classless

ip route 0.0.0.0 0.0.0.0 218.19.174.1

no ip http server

!

access-list 1 permit 10.92.1.0 0.0.0.255

论坛徽章:
0
7 [报告]
发表于 2003-02-19 18:49 |只看该作者

专用ADSL在CISCO 1721上如何配置

你是专线还是pppoa方式接入
专线方式

  在专线接入方式中,ADSL设备提供透明的ATM PVC通路,ADSL-Modem采用1483-Bridge协议,而业务提供点需要专线接入服务器提供支持,单用户PC的IP地址和接入服务器接入端口设在同一网段上。局域网接入时,为保证用户数据安全以及减少局端路由设备的操作,需在用户接入端加路由设备。

  专线接入方式可以应用于各种数据通信场合,特别是企业专线上网,它具有开通安装简单等特点,但缺乏对用户的管理手段。

PPPoA方式

  PPPoA方式中,PPP可以由用户端PC发起,也可以由ADSL-Modem发起,PPPoA方式需要有宽带的接入服务器支持。

  PPP由用户PC发起时,ADSL-Modem需用25Mbit/s ATM端口通过5类线用RJ45头和用户PC相连,用户PC需插ATM网卡,并安装客户端软件,在ATM网卡和宽带接入服务器之间建立PVC连接。PPP由ADSL-Modem发起时,ADSL-Modem需支持PPPoA,用户PC可以通过10 BaseT以太网口和ADSL-Modem相连,在ADSL-Modem和宽带接入服务器之间建立PVC连接,此时ADSL-Modem实际起到了PPP代理的作用。

  由于ATM到桌面存在ATM网卡价格高等局限性,且没有以太网接入方式普及,因此下面主要讨论用户通过以太网口接入方式。ADSL-Modem发起PPP方式时,用户PC不必安装客户端软件,像专线一样可直接使用浏览器软件上网。ADSL-Modem在接收到来自用户端的数据时,会向宽带接入服务器发起PPP连接;接入服务器在接收到PPP连接后,可以对ADSL-Modem进行合法性确认,向ADSL-Modem分配IP地址;ADSL- Modem通过NAT功能允许用户PC接入。此时需要ADSL-Modem支持认证功能,并在PPPoA配置时,在ADSL-Modem上设账号及口令;也可以在ADSL-Modem和接入服务器只是建立PPP连接而不做任何事情。可以看出,使用PPPoA时,用户端PC并没有进行PPP的认证,也无法通过PPP协议从接入服务器获得IP地址,而需通过静态分配获得IP地址。因此从用户端看,PPPoA方式和专线接入方式没有任何差别。

  PPPoA方式具有用户接入简单的特点,但由于它在接入速率上没有比专线接入更特别的优势,且ADSL-Modem必须支持PPPoA,因此这种方式在实际应用中很少使用。

论坛徽章:
0
8 [报告]
发表于 2003-02-20 11:16 |只看该作者

专用ADSL在CISCO 1721上如何配置

大虾,很好,首先很感谢你的几次回复。现在我把我的情况告诉你。首先我的配置如下:
Current configuration : 784 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
!
ip subnet-zero
!
!
!
!
!
interface ATM0
ip address 218.19.174.10 255.255.255.0
ip mtu 1492
ip nat outside
no atm ilmi-keepalive
pvc 8/35
encapsulation aal5snap
!
dsl operating-mode auto
hold-queue 224 in
!
interface ATM0.1 point-to-point
!
interface FastEthernet0
ip address 192.168.0.13 255.255.255.0
ip nat inside
speed auto
!
router rip
network 192.168.0.0
network 218.19.174.0
!
ip nat inside source list 2 interface ATM0 overload
ip classless
ip route 0.0.0.0 0.0.0.0 218.19.174.1
no ip http server
!
!
access-list 2 permit 192.168.0.0 0.0.0.255
!
line con 0
line aux 0
line vty 0 4
login
!
no scheduler allocate
end

问题:1.在控制界面里不能PING到ATM0端口。但是在DOS环境里可以;
          2.PING不到网关218.19.174.1 ,在以上两种环境里。
请大虾帮助,并提出具体的补充配置。万分感谢!!

论坛徽章:
0
9 [报告]
发表于 2003-02-20 13:04 |只看该作者

专用ADSL在CISCO 1721上如何配置

interface ATM0
ip address 218.19.174.10 255.255.255.0
ip mtu 1492
ip nat outside
no atm ilmi-keepalive
pvc 8/35
protocol ip 218.19.174.1
encapsulation aal5snap
!
dsl operating-mode auto
hold-queue 224 in
你输入这个看能不能通,不行的话打开debug atm event把信息抓下来.

论坛徽章:
0
10 [报告]
发表于 2003-02-20 14:24 |只看该作者

专用ADSL在CISCO 1721上如何配置

按你配置后,还是不行:debug atm ev  数据如下:
接电话线后:
Mar  1 00:13:34.535:
*Mar  1 00:13:34.539: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:13:37.939:
*Mar  1 00:13:37.943: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:13:37.943: ATM0: vcd=1, tsi not available, tx_os_cnt=3 tsi: last_rcvd
= 0, seq_num = 0

*Mar  1 00:13:42.891:
*Mar  1 00:13:42.891: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:13:46.027:
*Mar  1 00:13:46.027: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:13:46.219:
*Mar  1 00:13:46.219: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:13:46.219: ATM0: vcd=1, tsi not available, tx_os_cnt=3 tsi: last_rcvd
= 0, seq_num = 0

*Mar  1 00:13:49.247:
*Mar  1 00:13:49.247: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
Mar  1 00:13:53.159:
*Mar  1 00:13:53.163: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:13:54.327:
*Mar  1 00:13:54.327: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:13:54.327: ATM0: vcd=1, tsi not available, tx_os_cnt=3 tsi: last_rcvd
= 0, seq_num = 0

*Mar  1 00:13:55.099:
*Mar  1 00:13:55.099: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:13:59.083:
*Mar  1 00:13:59.083: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:14:03.299:
*Mar  1 00:14:03.299: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:14:04.275:
*Mar  1 00:14:04.275: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:14:07.555:
*Mar  1 00:14:07.555: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:14:07.559: ATM0: vcd=1, tsi not available, tx_os_cnt=3 tsi: last_rcvd
= 0, seq_num = 0

*Mar  1 00:14:11.551:
*Mar  1 00:14:11.555: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
Mar  1 00:14:17.339: ATM0: vcd=1, tsi not available, tx_os_cnt=3 tsi: last_rcvd
= 0, seq_num = 0

*Mar  1 00:14:17.355:
*Mar  1 00:14:17.355: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:14:25.163:
*Mar  1 00:14:25.163: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:14:26.371:
*Mar  1 00:14:26.371: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:14:26.371: ATM0: vcd=1, tsi not available, tx_os_cnt=3 tsi: last_rcvd
= 0, seq_num = 0
*Mar  1 00:15:07.951: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:15:08.947:
*Mar  1 00:15:08.951: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:15:08.951: ATM0: vcd=1, tsi not available, tx_os_cnt=3 tsi: last_rcvd
= 0, seq_num = 0

*Mar  1 00:15:10.459:
*Mar  1 00:15:10.459: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:15:12.903:
*Mar  1 00:15:12.903: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:15:13.543:
*Mar  1 00:15:13.543: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:15:13.543: ATM0: vcd=1, tsi not available, tx_os_cnt=3 tsi: last_rcvd
= 0, seq_num = 0

*Mar  1 00:15:27.659:
*Mar  1 00:15:27.659: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:15:28.495:
*Mar  1 00:15:28.495: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:15:29.231:
*Mar  1 00:15:29.231: cdlsar_safe_start: idb = 0x80FE31D8,
                    cos_queue = 0x81160F54
*Mar  1 00:15:29.231: ATM0: vcd=1, tsi not available, tx_os_cnt=3 tsi: last_rcvd
= 0, seq_num = 0
未接电话线时:
Mar  1 00:16:11.035: DSL(ATM0): 5: Modem state = 0x8
*Mar  1 00:16:13.535: DSL(ATM0): 6: Modem state = 0x8
*Mar  1 00:16:16.035: DSL(ATM0): 7: Modem state = 0x8
*Mar  1 00:16:18.535: DSL(ATM0): 8: Modem state = 0x8
*Mar  1 00:16:21.035: DSL(ATM0): 9: Modem state = 0x8
*Mar  1 00:16:23.535: DSL(ATM0): 10: Modem state = 0x8
*Mar  1 00:16:26.035: DSL(ATM0): 11: Modem state = 0x8
*Mar  1 00:16:28.535: DSL(ATM0): 12: Modem state = 0x8
*Mar  1 00:16:31.035: DSL(ATM0): 13: Modem state = 0x8
*Mar  1 00:16:33.535: DSL(ATM0): 14: Modem state = 0x8
*Mar  1 00:16:36.035: DSL(ATM0): 15: Modem state = 0x8
*Mar  1 00:16:38.535: DSL(ATM0): 16: Modem state = 0x8
*Mar  1 00:16:41.035: DSL(ATM0): 17: Modem state = 0x8
*Mar  1 00:16:43.535: DSL(ATM0): 18: Modem state = 0x8
*Mar  1 00:17:41.071: DSL(ATM0): 20: Modem state = 0x8
*Mar  1 00:17:43.571: DSL(ATM0): Could not establish connection event=1
*Mar  1 00:17:43.571: DSL(ATM0): Sent command 0x4
*Mar  1 00:17:43.571: DSL(ATM0): Send ADSL_OPEN command.
*Mar  1 00:17:43.571: DSL(ATM0): Using subfunction 0x15
*Mar  1 00:17:43.571: DSL(ATM0): Sent command 0x3
*Mar  1 00:17:43.603: DSL(ATM0): Received response: 0x25
*Mar  1 00:17:43.603: DSL(ATM0): Unexpected response 0x25
*Mar  1 00:17:43.603: DSL(ATM0): Send ADSL_OPEN command.
*Mar  1 00:17:43.603: DSL(ATM0): Using subfunction 0x15
*Mar  1 00:17:43.603: DSL(ATM0): Sent command 0x3
*Mar  1 00:17:46.103: DSL(ATM0): 1: Modem state = 0x8

请帮我分析一下
原帖由 "zujuhu" 发表:
interface ATM0
ip address 218.19.174.10 255.255.255.0
ip mtu 1492
ip nat outside
no atm ilmi-keepalive
pvc 8/35
protocol ip 218.19.174.1
encapsulation aal5snap
!
dsl operating-mode au..........
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP