免费注册 查看新帖 |

Chinaunix

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

为什么拨号不能访问别的地址 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-01-23 19:10 |只看该作者 |倒序浏览
各位:请帮我看一下,为什么我的拨号进去以后不能访问别的机器。

!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname cisco
!
enable secret 5 $1$x2xn$3MN/eEiYnkCIh6YJ8bAzD.
enable password cisco
!
username hscin password 0 cisco
ip subnet-zero
memory-size iomem 10
!
!
!
no ip domain-lookup
!
!
!
interface FastEthernet0/0
ip address 172.117.108.1 255.255.255.0
no ip route-cache
speed auto
half-duplex
!
interface Serial0/0
no ip address
no ip route-cache
shutdown
!
interface FastEthernet0/1
no ip address
no ip route-cache
shutdown
speed auto
half-duplex
!
interface Serial0/1
no ip address
no ip route-cache
shutdown
!
interface Group-Async1
description connected to Dial-inPCs
ip unnumbered FastEthernet0/0
encapsulation ppp
async dynamic address
async mode interactive
peer default ip address pool sxpool
ppp authentication chap
group-range 33 40
!
ip local pool sxpool 172.117.108.21 172.117.108.28
ip classless
no ip http server
ip pim bidir-enable
!
!
!
line con 0
exec-timeout 0 0
password jzcin
login
line 33 40
login local
modem InOut
modem autoconfigure discovery
transport input all
autoselect during-login
autoselect ppp
stopbits 1
flowcontrol hardware
line aux 0
line vty 0 4
password cisco
login
!
!
end
!

论坛徽章:
0
2 [报告]
发表于 2003-01-24 11:00 |只看该作者

为什么拨号不能访问别的地址

你没有做路由
所以除了172.117.108.0/24这个网段
其他的地址你都访问不了

论坛徽章:
0
3 [报告]
发表于 2003-01-25 01:12 |只看该作者

为什么拨号不能访问别的地址

是啊,我连172.117.108.1的地址都ping不通

论坛徽章:
0
4 [报告]
发表于 2003-01-25 01:28 |只看该作者

为什么拨号不能访问别的地址

早这个配置,肯定没问题:

#username user1 password user1

#interface fa0/1
  ip address 10.1.1.100 255.0.0.0
  no shut
#interface Group-Async 1
  no shutdown
  ip unnumbered FastEthernet 0/1
  encapsulation ppp
  async mode interactive
  peer default ip address pool localpool
  group-rotary 1 32 (也可以是group-range)
  ppp authentication chap

#line 1 32
  login local
  modem InOut
  autoselect ppp
  modem autoconfig discovery
  speed 115200
  stopbits 1
  flowcontrol hardware
  rotary 3       <------------------------注意这个
#ip local pool localpool 10.1.1.1 10.1.1.32

论坛徽章:
0
5 [报告]
发表于 2003-01-25 01:32 |只看该作者

为什么拨号不能访问别的地址

配完后,保存,最好reload一下。有些型号得reload.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP