免费注册 查看新帖 |

Chinaunix

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

请教一下配置问题。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-02-13 19:33 |只看该作者 |倒序浏览
各位。我有一个内部网,有一台Cisco和一个HUB,现在有一个外网地址,能够上internet,请问我该怎么配置啊,可以让我内部网的机器,上internet。而且这个外网地址,已经通过网线连过来了,目前我是接在HUB上
外网地址:
IP:     10.63.160.200
          255.255.255.0
mask:10.63.160.31
DNS:  202.103.0.68

我自己试过的配置为:请帮我看看,有什么问题,为什么不行

!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Huanggang2600
!
enable secret 5 $1$q2II$GvI1z0deIo9RKWzidvHoL.
enable password 2600
!
username hgcisco password 0 cisco
memory-size iomem 10
ip subnet-zero
!
!
no ip domain-lookup
!
!
!
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip nat outside
no ip mroute-cache
duplex auto
speed auto
!
interface Serial0/0
no ip address
shutdown
no fair-queue
!
interface FastEthernet0/1
no ip address
ip nat inside
no ip mroute-cache
shutdown
duplex auto
speed auto
!
interface Serial0/1
no ip address
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 48
!
ip local pool sxpool 192.168.1.41 192.168.1.56
ip nat pool c2621 10.63.160.200 10.63.160.201 netmask 255.255.255.252
ip nat inside source list 2 pool c2621 overload
ip classless
ip route 0.0.0.0 0.0.0.0 FastEthernet0/1
no ip http server
ip pim bidir-enable
!
!
access-list 2 permit 192.0.0.0 0.0.0.255
!
line con 0
exec-timeout 0 0
password cisco
login
transport output pad v120 telnet rlogin udptn
line 33 48
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
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP