找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3375|回复: 3

怎样设置路由器才能连上网

[复制链接]
发表于 2005-9-9 18:24:22 | 显示全部楼层 |阅读模式
我有一台锐捷2624的路由器,想学习学习.现在有个校园IP地址202.192.91.115 网关:202.192.91.8。用这个IP在单个电脑上可以上网。我想把这个IP用在路由器上,然后用私有地址做个子网供电脑上网。
我这样设计的:先在Fastethernet0 设IP 202.192.91.115
在Fastethernet1上设IP 192.168.1.8
然后建立动态NAT转换
设置默认路由:0.0.0.0 0.0.0.0 202.192.91.8
请问这样设置行不行,还需要做哪些设置?
我问了一些人他们说还要在学校的路由器上做个路由:192.168.1.0 255.255.255.0 202.192.91.115 不知是不是这样,为什么?
发表于 2005-9-11 10:46:27 | 显示全部楼层

怎样设置路由器才能连上网

恩,可以方便共享
 楼主| 发表于 2005-9-12 19:35:39 | 显示全部楼层

怎样设置路由器才能连上网

那怎么上不了网啊
我的配置是:
ls08>en      
Password:         
ls08#show run            
Building configuration...
Current configuration:                     
!
version 6.14(2)               
!
hostname "ls08"               
!
enable secret 5 $1$e0If$x1ACDeSL9qyFINseakOWB.                                             
!
!
!
ip subnet-zero              
!
!
!
interface FastEthernet0                       
no ip address              
shutdown      
!
interface FastEthernet1                       
ip address 202.192.91.50 255.255.255.0                                       
ip nat outside               
!
interface FastEthernet2                       
ip address 192.168.0.8 255.255.255.0                                    
ip nat inside              
!
interface FastEthernet3                       
no ip address              
shutdown         
!
interface Serial0                 
no ip address              
shutdown         
!
interface Serial1                 
no ip address              
shutdown         
!
!
voice-port 0
!
voice-port 1
!
voice-port 2
!
voice-port 3
ip nat pool wanpool 202.192.91.51 202.192.91.51 netmask 255.255.255.0
ip nat inside source list 1 pool wanpool
ip classless
ip route 0.0.0.0 0.0.0.0 FastEthernet1
access-list 1 permit 192.168.0.0 0.0.0.255
!
line con 0
line aux 0
line vty 0 4
password 9908025
login
!
end
发表于 2005-9-23 14:59:58 | 显示全部楼层

怎样设置路由器才能连上网

挺复杂呀,能不能再解释一下
*滑块验证:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|宽带技术网 |网站地图 粤公网安备44152102000001号

GMT+8, 2025-6-9 23:32 , Processed in 0.047260 second(s), 3 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表