免费注册 查看新帖 |

Chinaunix

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

在路由器上使用telnet的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-07-19 08:48 |只看该作者 |倒序浏览
远程登陆了一台路由器,
在上面使用telnet smth.org(60.2.251.8)
无论是用域名还是ip都登陆不上去
但是可以ping的通ip,
看:#ping 60.2.251.8
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 60.2.251.8, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 24/41/64 ms

谁能帮我解释一下其中的道理呢?:(

论坛徽章:
0
2 [报告]
发表于 2007-07-19 09:31 |只看该作者
line vty 0 4
password 11111
login
!

你少了这个配置吧

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
3 [报告]
发表于 2007-07-19 12:38 |只看该作者
出错提示。

论坛徽章:
0
4 [报告]
发表于 2007-07-20 15:04 |只看该作者
那就是不允许远程登录啦。。
在路由器上配置下就可以啦

论坛徽章:
0
5 [报告]
发表于 2007-07-26 15:46 |只看该作者
原帖由 pzr123 于 2007-7-19 09:31 发表
line vty 0 4
password 11111
login
!

你少了这个配置吧


不少的啊!

tyj#show run
Building configuration...

Current configuration : 1155 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname tyj
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$5SSw$o4ZE6w3EE4FTqFwtAJfpk.
enable password fttyj
!
no network-clock-participate slot 1
no network-clock-participate wic 0
no aaa new-model
ip subnet-zero
ip cef
!
!
!
no ftp-server write-enable
!
!
!
!
interface FastEthernet0/0
ip address 10.166.9.44 255.255.255.0
speed auto
full-duplex
no mop enabled
!
interface FastEthernet0/1
ip address 10.149.42.1 255.255.255.0 secondary
ip address 10.231.10.1 255.255.255.0
speed auto
full-duplex
no mop enabled
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.166.9.1
ip http server
!
dialer-list 1 protocol ip permit
arp 10.149.42.53 0016.ecbf.55c4 ARPA
arp 10.149.42.49 0016.ecba.544e ARPA
arp 10.149.42.48 0016.ecba.d195 ARPA
arp 10.149.42.51 0016.ec85.7f9b ARPA
arp 10.149.42.50 0016.ec85.8138 ARPA
arp 10.149.42.120 0016.ecba.d1a1 ARPA
arp 10.149.42.80 0016.ecbf.6144 ARPA
arp 10.149.42.65 0016.ecba.5707 ARPA
!
line con 0
line aux 0
line vty 0 4
password fttyj
login
!
!
!
end

论坛徽章:
0
6 [报告]
发表于 2007-07-26 15:48 |只看该作者
原帖由 ssffzz1 于 2007-7-19 12:38 发表
出错提示。




tyj#telnet 60.2.251.8
Trying 60.2.251.8 ...
% Connection timed out; remote host not responding

tyj#

论坛徽章:
0
7 [报告]
发表于 2007-07-26 15:48 |只看该作者
原帖由 优游然 于 2007-7-20 15:04 发表
那就是不允许远程登录啦。。
在路由器上配置下就可以啦


应该如何配置呢?

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
8 [报告]
发表于 2007-07-26 18:29 |只看该作者
60.2.251.8

这个地址怎么没看见在配置文件中出现。

论坛徽章:
0
9 [报告]
发表于 2007-08-01 15:45 |只看该作者
这个地址怎么没看见在配置文件中出现。

这个嘛,是个测试ip地址。你telnet试试就知道了。是smth.org

我有默认路由的呀 ip route 0.0.0.0 0.0.0.0 10.166.9.1

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
10 [报告]
发表于 2007-08-01 16:17 |只看该作者
哦,我的登录成功了啊。
水木社区
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP