千家论坛_智能建筑与智能家居技术交流社区

标题: 紧急求助,CISCO2621,在线等 [打印本页]

作者: becker820625    时间: 2004-12-17 19:41
标题: 紧急求助,CISCO2621,在线等

各位大哥,我这里有一款CISCO2621的路由器,直接用来接入电信宽带,麻烦大家能否把齐全的配置信息发给我一下``谢谢!

faste0/0 用来接内网 IP 192.168.1.1 255.255.255.0

faste0/1 用来接外网 电信固定IP 218.121.25.3 255.255.255.0


作者: gdlitwain    时间: 2004-12-21 14:50

如果你现在还没有搞好的话,请EMAIL ME

gdlitwain@163.com


作者: atreenoleaf    时间: 2004-12-22 14:18

^_^需要作个nat

conf t

int f0/0

ip add 192.168.1.1 255.255.255.0

no shut

ip nat inside

int f0/1

ip add 218.121.25.3 255.255.255.0

no shut

ip nat outside

ip nat pool aaa 218.121.25.3 netmask 255.255.255.0 ip nat inside list 2 pool aaa overload

access-list 2 permit 192.168.1.0 0.0.0.255

ip route 0.0.0.0 0.0.0.0 x.x.x.x(此ip为对方路由器接口的ip即218.121.25.3 255.255.255.0所对应的网关

配置好路由器后把上网电脑的ip设为192.168.1.x网关为192.168.1.1


作者: 易水    时间: 2004-12-23 12:09
三楼配得就可以了
作者: hyongpingde    时间: 2004-12-26 14:23
访问表要关联到相应的接口并指明方向




欢迎光临 千家论坛_智能建筑与智能家居技术交流社区 (http://bbs.qianjia.com/) Powered by Discuz! X3.2